Notices


Reply
Thread Tools
Posts: 958 | Thanked: 483 times | Joined on May 2010
#121
after the latest upgrade, mine now crashes upon start.
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#122
looking in /opt/gngeo-gui

i tried this:
a) gngeo-gui.py doesn't have the +x permission on it. applied it with chmod.
b) launching it from command line, i see a bunch of errors:
./gngeo-gui.py: line 1: import: not found
./gngeo-gui.py: line 2: import: not found
./gngeo-gui.py: line 3: from: not found
./gngeo-gui.py: line 4: from: not found
./gngeo-gui.py: line 6: COMMENT_CHAR: not found
./gngeo-gui.py: line 7: OPTION_CHAR: not found
./gngeo-gui.py: line 8: syntax error: unexpected "("
 
Posts: 346 | Thanked: 271 times | Joined on Jan 2010
#123
You are starting a python program like a shell script.
Start it with
python gngeo-gui.py
not with
./gngeo-gui.py
and python programs doesn't need the executable bit, in fact, only native binaries need it.
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#124
Originally Posted by droll View Post
looking in /opt/gngeo-gui

i tried this:
a) gngeo-gui.py doesn't have the +x permission on it. applied it with chmod.
b) launching it from command line, i see a bunch of errors:
./gngeo-gui.py: line 1: import: not found
./gngeo-gui.py: line 2: import: not found
./gngeo-gui.py: line 3: from: not found
./gngeo-gui.py: line 4: from: not found
./gngeo-gui.py: line 6: COMMENT_CHAR: not found
./gngeo-gui.py: line 7: OPTION_CHAR: not found
./gngeo-gui.py: line 8: syntax error: unexpected "("
gngeo-gui.py should not have the execute permission. The way you execute it, it is interpreted as shell script. It is not shellscript, but python as the extension already suggest.
Please try to start from the menu. If you really want to execute it from the x-terminal:
Code:
cd /opt/gngeo-gui/
python gngeo-gui.py
If this gives problems, please report the error message.

I see Megaltariak just explained it before I could post my answer
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#125
ah thanks guys. my bad - don't really understand python. let me try again.
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#126
/opt/gngeo-gui $ python gngeo-gui.py
Traceback (most recent call last):
File "gngeo-gui.py", line 3, in <module>
from PySide.QtCore import *
File "/usr/lib/python2.5/site-packages/PySide/__init__.py", line 2, in <module>
import private
File "/usr/lib/python2.5/site-packages/PySide/private.py", line 2, in <module>
from QtCore import __moduleShutdown
ImportError: /usr/lib/python2.5/site-packages/PySide/QtCore.so: undefined symbol: _ZN6PySide15DestroyListener8instanceEv
/opt/gngeo-gui $
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#127
Originally Posted by droll View Post
/opt/gngeo-gui $ python gngeo-gui.py
Traceback (most recent call last):
File "gngeo-gui.py", line 3, in <module>
from PySide.QtCore import *
File "/usr/lib/python2.5/site-packages/PySide/__init__.py", line 2, in <module>
import private
File "/usr/lib/python2.5/site-packages/PySide/private.py", line 2, in <module>
from QtCore import __moduleShutdown
ImportError: /usr/lib/python2.5/site-packages/PySide/QtCore.so: undefined symbol: _ZN6PySide15DestroyListener8instanceEv
/opt/gngeo-gui $
Hmm, this looks more like a broken PySide package or some kind of version conflict.
Could you try the following:
Code:
sudo gainroot
apt-get --reinstall install python-pyside.qtcore
And if it does not help, show me the output of this.

The following command might indicate undefined symbol problems (if you have ldd installed)
Code:
ldd -r /usr/lib/python2.5/site-packages/PySide/QtCore.so
And see if it says something about undefined symbols.

P.s. can any other person confirm a problem after the last update? I cannot reproduce it...

Last edited by ade; 2011-06-09 at 20:14.
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#128
Originally Posted by droll View Post
/opt/gngeo-gui $ python gngeo-gui.py
Traceback (most recent call last):
File "gngeo-gui.py", line 3, in <module>
from PySide.QtCore import *
File "/usr/lib/python2.5/site-packages/PySide/__init__.py", line 2, in <module>
import private
File "/usr/lib/python2.5/site-packages/PySide/private.py", line 2, in <module>
from QtCore import __moduleShutdown
ImportError: /usr/lib/python2.5/site-packages/PySide/QtCore.so: undefined symbol: _ZN6PySide15DestroyListener8instanceEv
/opt/gngeo-gui $
If it is really related to this version of gngeo-gui (which looks unlikely to me), you could revert to the previous version and see if it works again:
Code:
sudo gainroot
apt-get install gngeo-gui=0.0.2-1
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#129
Nokia-N900:~# ldd -r /usr/lib/python2.5/site-packages/PySide/QtCore.so
ldd: warning: you do not have execution permission for `/usr/lib/python2.5/site-packages/PySide/QtCore.so'
libpyside-python2.5.so.1.0 => /usr/lib/libpyside-python2.5.so.1.0 (0x40367000)
libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0x4038d000)
libshiboken-python2.5.so.1.0 => /usr/lib/libshiboken-python2.5.so.1.0 (0x404b1000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x404cf000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x407bd000)
libm.so.6 => /lib/libm.so.6 (0x4089e000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40914000)
libc.so.6 => /lib/libc.so.6 (0x40926000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40a4b000)
libdl.so.2 => /lib/libdl.so.2 (0x40a6c000)
libutil.so.1 => /lib/libutil.so.1 (0x40a77000)
libz.so.1 => /usr/lib/libz.so.1 (0x40a82000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x40a9a000)
librt.so.1 => /lib/librt.so.1 (0x40aa6000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40ab5000)
/lib/ld-linux.so.3 (0x2a000000)
undefined symbol: _ZN6PySide15DestroyListener8instanceEv (/usr/lib/python2.5/site-packages/PySide/QtCore.so)
undefined symbol: _ZN6PySide15DestroyListener6listenEP7QObject (/usr/lib/python2.5/site-packages/PySide/QtCore.so)
undefined symbol: _ZN6PySide7WeakRef6createEP7_objectPFvPvES3_ (/usr/lib/python2.5/site-packages/PySide/QtCore.so)

guess the problem is on my phone?

running apt-get didn't fix the issue.
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#130
prior to upgrading, gngeo-gui worked for me. now installing the previous version also has the same problem - it crashes.

Traceback (most recent call last):
File "gngeo-gui.py", line 3, in <module>
from PySide.QtCore import *
File "/usr/lib/python2.5/site-packages/PySide/__init__.py", line 2, in <module>
import private
File "/usr/lib/python2.5/site-packages/PySide/private.py", line 2, in <module>
from QtCore import __moduleShutdown
ImportError: /usr/lib/python2.5/site-packages/PySide/QtCore.so: undefined symbol: _ZN6PySide15DestroyListener8instanceEv
/opt/gngeo-gui $
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:24.