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# |
|
|
|
alban42 Running Pymoney On Openzaurus Nov 2 2006, 03:52 AM
koen QUOTE(Mickeyl @ Nov 2 2006, 11:08 PM)Please g... Nov 3 2006, 04:02 AM
Mickeyl QUOTEimport shelve
ImportError: No module named sh... Nov 4 2006, 04:16 PM
alban42 QUOTE(Mickeyl @ Nov 5 2006, 01:16 AM)QUOTEimp... Nov 5 2006, 06:00 AM
Mickeyl QUOTEfrom StringIO import StringIO
ImportError: No... Nov 5 2006, 03:26 PM
alban42 QUOTE(Mickeyl @ Nov 6 2006, 12:26 AM)QUOTEfro... Nov 6 2006, 04:16 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 01:28 AM |