You are not logged in.
Hello,
I cannot start eric5 (installation from [extra]). eric4 is working fine.
Output when trying to start eric(5) from xterm...
$ eric
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3.2/site-packages/eric5/eric5.py", line 98, in excepthook
logFile = os.path.join(Utilities.getConfigDir(), "eric5_error.log")
File "/usr/lib/python2.7/posixpath.py", line 68, in join
elif path == '' or path.endswith('/'):
AttributeError: 'QString' object has no attribute 'endswith'
Original exception was:
Traceback (most recent call last):
File "/usr/lib/python3.2/site-packages/eric5/eric5.py", line 262, in <module>
main()
File "/usr/lib/python3.2/site-packages/eric5/eric5.py", line 185, in main
Startup.initializeResourceSearchPath()
File "/usr/lib/python3.2/site-packages/eric5/Utilities/Startup.py", line 137, in initializeResourceSearchPath
for iconPath in iconPaths:
TypeError: 'QVariant' object is not iterable
Any ideas?
Thanks.
Maxie
Last edited by maxie (2011-04-10 00:16:41)
Offline
I'm not sure if this is the answer, but looking at your traceback:
The first exception
File "/usr/lib/python3.2/site-packages/eric5/eric5.py", line 98, in excepthook
logFile = os.path.join(Utilities.getConfigDir(), "eric5_error.log")
is from a python 3.2 library, while the next exception
File "/usr/lib/python2.7/posixpath.py", line 68, in join
elif path == '' or path.endswith('/'):
is from a python 2.7 library. It is unlikely that these two are compatible.
From the eric5 webpage, it states that eric5 is based on python 3; but somehow on your machine, it is trying to call a python 2 library.
What does ls -l /usr/bin/python do on your machine?
$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 7 Mar 19 21:48 /usr/bin/python -> python3
Offline
Thanks,
just found the solution.
/usr/bin/python was linked to python2. Since I changed it to python3 it is working.
Offline
deleted
Last edited by cesura (2011-04-10 00:17:53)
Offline