OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: climber on January 14, 2008, 04:46:25 am
-
Hi,
I just installed on my SL-c3100 & pdaXii13 v2 the application "sdictviewer 0.4.0" from there Sdict Viewer (https://www.oesf.org/forum/index.php?showtopic=18415&st=270).
The installation went fine and python v2.4.1 [pygtk 2.5.3 includet] is already installed.
Starting the icon in the menue it begin working but after 5 seconds the program don't appear.
I'm not sure whats going wrong because I'm not familiar with python. I also don't know how to start this
python applicaton from command line to get hopefull detailed error messages.
Please help me.
Thanks
climber
-
I'm not sure whats going wrong because I'm not familiar with python. I also don't know how to start this
python applicaton from command line to get hopefull detailed error messages.
I looked in the sdictview.desktop file. it has "Exec=/usr/bin/sdictview.py"
open a console and try sdictview.py
(I don't have this installed, so I haven't tried this myself, but have tried this method with "other" python apps in the console)
You may have a dependency missing.
-
That ought to work. If not, you could do
python /usr/bin/sdictview.py
-
I just installed sdictviewer
sdictviewer_0.4.0_armv5tel.ipk
and
python_bz2_1.1_armv5tel.ipk)
from the above link.
When launching in a console, I get these errors.root-:) sdictview.py
Traceback (most recent call last):
File "/usr/bin/sdictview.py", line 9, in ?
import pysdic
File "/usr/bin/pysdic.py", line 8, in ?
import pygtk
File "/home/sash/Work/Akita/akita-rom/build/pygtk-2.5.3/ipkg_tmp/usr/lib/python2.4/site-packages/pygtk.py", line 22, in ?
ImportError: No module named fnmatch
I have downloaded 2 dictionaries from the included link, but I haven't copied them to my Zaurus yet. I don't think the above errors are resulting from these "missing" dictionaries. I would think the GUI should launch with no dictionaries present.
EDIT
Looking at this link http://sdictviewer.sourceforge.net/ (http://sdictviewer.sourceforge.net/)
I think python 2.5 needs to be installed. (I have pygtk 2.5.3 and GTK installed, but NOT python 2.5)
Other Platforms
There are no installation packages for other platforms. You can download source code archive, unpack it and run sdictviewer.py. Windows and Mac OS X users will also need to download and install Python 2.5, GTK and PyGTK (any 2.6 version or greater should be fine). Most Linux users are likely to have all these installed already. Please keep in mind the main focus of this project is Nokia Internet Tablets, so there are no plans to do any formal releases for any other platforms.
-
It looks like you need "python-fnmatch" or some similar package.
-
I found python-fnmatch referenced in this thread.
https://www.oesf.org/forum/index.php?showto...&hl=fnmatch (https://www.oesf.org/forum/index.php?showtopic=16926&hl=fnmatch)
It's included inside python-shell_2.4.1_armv5tel.ipk
But now I am getting a zlib error.Traceback (most recent call last):
File "/usr/bin/sdictview.py", line 9, in ?
import pysdic
File "/usr/bin/pysdic.py", line 12, in ?
import sdict
File "/usr/bin/sdict.py", line 8, in ?
import zlib
ImportError: No module named zlib
I've searched high and low, but zlib cannot be found. I already have libz
There is one post that references zlib to Cacko. Still searching...
EDIT: I just found python-zlib_2.4.1_armv5tel.ipk
I'll report back if that works.
EDIT2: Now I need a module named "pickle" (found it) python-pickle_2.4.1_armv5tel.ipk
EDIT3: now I need a module named "urlparse" (I'm stuck now, urlparse not in feed, looking elsewhere)
It seems urlparse is inside the full 6MB python 2.4.1 install.
I'm going to look elsewhere, as I'm not sure how to just get the module installed without the full 6MB install file.
(I sure hope this dictionary is worth all this. I do have zbedic on my Cacko Zaurus.)
Found urlparse. It's inside python-html_2.4.1_armv5tel.ipk
Final EDIT
I finally got all the dependencies. It still spits out some errors, but seems to be working now.
It didn't install an icon in the menu under "Office" like it is supposed to.
I tried matching the .desktop file entry for this, but it didn't work, so I just dragged a copy of its .desktop file to my ROX desktop, and launch it from there.
I downloaded Merriam-Webster's Collegiate Dictionary (15MB), and put it on my hard drive.
It is shown in the attachment. It works just as good as the dictionary I have for my Cacko Zaurus now.
Below are the deps that I have used to get this running on my pdaxii13v2 Zaurus C3200
(I got all them from pdaxrom feed except python_bz2)
python-html_2.4.1_armv5tel.ipk
python-pickle_2.4.1_armv5tel.ipk
python-shell_2.4.1_armv5tel.ipk
python-zlib_2.4.1_armv5tel.ipk
python_bz2_1.1_armv5tel.ipk (from sdictviewer post)