Bugs item #2051877, was opened at 2008-08-14 20:09
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=205187…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ImportError: No module named sax
Initial Comment:
Hello, I stopped my bot for an hour and when I wanted to restart, I get the same error
every time:
C:\Bot>login.py -all
Traceback (most recent call last):
File "C:\Bot\login.py", line 49, in <module>
import wikipedia, config
File "C:\Bot\wikipedia.py", line 123, in <module>
import xml.sax, xml.sax.handler
ImportError: No module named sax
Do you know the problem? I reinstalled Python and Pywikipedia, but it changes nothing.
Best regards, WikiDreamer
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date:
2008-08-15 00:51
Message:
Logged In: YES
user_id=181280
Originator: NO
That is a outdated PyWikipedia version. You can get a newer version here:
http://toolserver.org/~valhallasw/pywiki/package/pywikipedia/.
If you have reported rightly the traceback, I guess your Python
installation is broken. Maybe you have reinstalled Python in a different
directory but the PATH enviroment variable point to previous directory.
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license"
for more information.
>> import xml.sax, xml.sax.handler
Works for me.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-08-15 00:15
Message:
Logged In: NO
Python 2.5.2 -->
http://www.python.org/ftp/python/2.5.2/python-2.5.2.msi
Windows XP
The latest version -->
http://sourceforge.net/project/showfiles.php?group_id=93107&package_id=…
WikiDreamer
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-08-14 20:16
Message:
Logged In: YES
user_id=181280
Originator: NO
Please, provide manually Python version, operating system used,
PyWikipediaBot version or run python version.py.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=205187…