Comment 28 for bug 315996

Revision history for this message
Lawrence (annon0m0s) wrote :

Instead of doing a screen print a copy / paste of the message output is easier and more readable. This time there is a traceback!
Python is definitely version 2.5. I tried going to the Inkscape\python directory and directly running python
2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]

after thread
{'url': 'http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.php'}
before run
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "C:\Program Files\Inkscape047\Inkscape\python\Lib\threading.py", line 460, in __bootstrap
  File "C:\Program Files\Inkscape047\Inkscape\share\extensions\launch_webbrowser.py", line 20, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'open'

Running inkscape\python.exe directly
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> import sys
>>> print platform.python_version()
2.5.0
>>> print sys.version[:3]
2.5
>>> print "sys.exec_prefix: "+str(sys.exec_prefix)
sys.exec_prefix: C:\Program Files\Inkscape047\Inkscape\python
>>> print "sys.prefix: "+str(sys.prefix)
sys.prefix: C:\Program Files\Inkscape047\Inkscape\python
>>>
I will uninstall inkscape and reinstall it. I had downloaded the win32 exe from sourceforge so I expect it to be correct. Thanks for your help. I'll post what happens after the reinstall.