OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Running Pymoney On Openzaurus, python pyqt Openzaurus
alban42
post 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
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Mickeyl
post 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.
Go to the top of the page
 
+Quote Post
alban42
post 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)
Please give the full traceback.
*



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#
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th December 2014 - 06:57 PM