![]() ![]() |
Nov 2 2006, 03:52 AM
Post
#1
|
|
|
Group: Members Posts: 21 Joined: 28-July 05 From: Greater Manchester England Member No.: 7,729 |
I have a Zaurus 3200 with Openzaurus Installed
have installed pymoney v1.1 and python-pyqt python-core python-sip from the mickeyl feed when i try to run pymoney from a icon or in a console it fails, the error in the console is main.py line 18 main import mainForm line 25 from odb inport * I presume i am missing some python modules ?? ( yes this is the first python app that i have tried installing /runing ) thanks for any info |
|
|
|
Nov 2 2006, 03:08 PM
Post
#2
|
|
|
Group: Members Posts: 1,497 Joined: 12-November 03 From: Germany Member No.: 907 |
Please give the full traceback.
|
|
|
|
Nov 3 2006, 03:24 AM
Post
#3
|
|
|
Group: Members Posts: 21 Joined: 28-July 05 From: Greater Manchester England Member No.: 7,729 |
QUOTE(Mickeyl @ Nov 3 2006, 12:08 AM) OK here is the traceback root@spitz:~# pymoney Traceback (most recent call last): File "/opt/QtPalmtop/bin/pymoney", line 18, in ? from main import mainForm File "/opt/QtPalmtop/share/PyMoney/main.py", line 25, in ? from odb import * File "/opt/QtPalmtop/share/PyMoney/odb.py", line 15, in ? import shelve ImportError: No module named shelve root@spitz:~# root@spitz:~# pymoney HERE IS pymoney root@spitz:/opt/QtPalmtop/share/PyMoney# cat pymoney.py #!/usr/bin/env python # pymoney.py ######################################################################## # PyMoney -- personal financial assistant # Copyright © 2006 Dmitri Brechalov # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # The full license is in the file COPYING, distributed as part of # this software. ######################################################################## import sys from qt import * from main import mainForm useQtopia = 0 try: from qtpe import QPEApplication useQtopia = 1 except ImportError: QPEApplication = QApplication useQtopia = 0 a = QPEApplication(sys.argv) QObject.connect(a, SIGNAL("lastWindowClosed()"), a.quit) form = mainForm() a.setMainWidget(form) form.resize(640, 480) if useQtopia: a.showMainWidget(form) else: a.setMainWidget(form) if not form.show(): sys.exit(1) a.exec_loop() # end of pymoney.py root@spitz:/opt/QtPalmtop/share/PyMoney# |
|
|
|
Nov 3 2006, 04:02 AM
Post
#4
|
|
![]() Group: Members Posts: 1,014 Joined: 4-January 05 From: Enschede, The Netherlands Member No.: 6,107 |
|
|
|
|
Nov 4 2006, 04:16 PM
Post
#5
|
|
|
Group: Members Posts: 1,497 Joined: 12-November 03 From: Germany Member No.: 907 |
QUOTE import shelve ImportError: No module named shelve Install python-pickle. |
|
|
|
Nov 5 2006, 06:00 AM
Post
#6
|
|
|
Group: Members Posts: 21 Joined: 28-July 05 From: Greater Manchester England Member No.: 7,729 |
QUOTE(Mickeyl @ Nov 5 2006, 01:16 AM) Thanks I did not realise there was a python directory in http://ewi546.ewi.utwente.nl/mirror/www.op...4.1/feed/python i have uninstalled the old python from mickeyl added the above feed and installed python pickle root@spitz:~# pymoney Traceback (most recent call last): File "/opt/QtPalmtop/bin/pymoney", line 18, in ? from main import mainForm File "/opt/QtPalmtop/share/PyMoney/main.py", line 25, in ? from odb import * File "/opt/QtPalmtop/share/PyMoney/odb.py", line 15, in ? import shelve File "/usr/lib/python2.4/shelve.py", line 64, in ? from pickle import Pickler, Unpickler File "/usr/lib/python2.4/pickle.py", line 1379, in ? from StringIO import StringIO ImportError: No module named StringIO root@spitz:~# I have cut out the ipkgs Thar dont seem relevent I hve tried pymoney from a console by tapping the icon & from a remote SSH connection root@spitz:~# ipkg list_installed libapm1 - 3.2.2-r8 - libasound2 - 1.0.10-r0 - libbluetooth1 - 2.21-r0 - libc6 - 2.3.5+cvs20050627-r3 - libcrypto0.9.7 - 0.9.7e-r1 - libetpan3 - 0.38-r0 - libfreetype6 - 2.1.10-r0 - libgcc1 - 3.4.4-r3 - libgcrypt11 - 1.2.1-r0 - libglib-2.0-0 - 2.6.4-r2 - libgnutls-openssl11 - 1.0.25-r0 - libgnutls11 - 1.0.25-r0 - libgpg-error0 - 1.0-r0 - libipkg0 - 0.99.159-r1 - libjpeg62 - 6b-r0 - libmailwrapper1 - 1.2.1-r0 - libmicrokabc - 2.2.7-r1 - libmicrokcal1 - 2.2.7-r1 - libmicrokdelibs - 2.2.7-r1 - libmodplug0 - 0.7-r0 - libopenobex-1.0-1 - 1.0.1-r2 - libopiecore2-1 - 1.2.1-r5 - libopiemm2-1 - 1.2.1-r5 - libopienet2-1 - 1.2.1-r5 - libopieobex0 - 1.2.1-r1 - libopiepim2-1 - 1.2.1-r5 - libopiesecurity2-0 - 1.2.1-r5 - libopietooth1-1 - 1.2.1-r0 - libopieui2-1 - 1.2.1-r5 - libpcap0.9 - 0.9.3-r1 - libpcre0 - 4.4-r1 - libpng12-0 - 1.2.8-r0 - libpython2.4-1.0 - 2.4.2-ml4 - libqpe1 - 1.2.1-r1 - libqtaux2-1 - 1.2.1-r0 - libqte2 - 2.3.10-r36 - libsqlite0 - 2.8.16-r1 - libssl0.9.7 - 0.9.7e-r1 - libstdc++6 - 3.4.4-r3 - libsysfs1 - 1.3.0-r0 - libts-0.0-0 - 0.0cvs20060102-r42 - libusb - 0.1.10a-r7 - libz1 - 1.2.3-r0 - linux-hotplug - 20040920-r8 - lrzsz - 0.12.20-r2 - opie-pyquicklaunchapplet - 1.2.1-r1 pymoney - 1.1 - python-codecs - 2.4.2-ml2 - python-core - 2.4.2-ml2 - python-db - 2.4.2-ml1 - python-lang - 2.4.2-ml1 - python-pickle - 2.4.2-ml1 - python-pychecker - 0.8.14-r0 - python-pyqt - 3.13-ml3 - python-pysqlite - 1.0-r0 - python-re - 2.4.2-ml2 - python-sip - 4.1.1-ml3 - scap - 0.1-r7 - setserial - 2.17-r1 - spectrum-fw - 1.0-r0 - sysfsutils - 1.3.0-r0 - sysvinit - 2.86-r22 - sysvinit-inittab - 2.86-r22 - sysvinit-pidof - 2.86-r22 - tslib-conf - 0.0cvs20060102-r39 - ttf-dejavu-sans - 2.9-r0 - ttf-dejavu-sans-mono - 2.9-r0 - udev - 084-r12 - udev-utils - 084-r12 - |
|
|
|
Nov 5 2006, 03:26 PM
Post
#7
|
|
|
Group: Members Posts: 1,497 Joined: 12-November 03 From: Germany Member No.: 907 |
QUOTE from StringIO import StringIO ImportError: No module named StringIO install python-io looks like python-pickle misses a dependency on python-io. I'll fix that, thanks. |
|
|
|
Nov 6 2006, 04:16 AM
Post
#8
|
|
|
Group: Members Posts: 21 Joined: 28-July 05 From: Greater Manchester England Member No.: 7,729 |
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 04:05 AM |