This was my change. Please make sure you have the latest python
libraries - it seems you for some reason have no zlib. Might be wrong
though. Anyone has a linux install?
On 7/24/07, Arkaitz Zubiaga <arkaitz(a)berritxarrak.net> wrote:
Hello,
I have a problem while running the last pywikipedia revisions. I am
perfectly using an older revision (I got it on June 26), without any
problem.
Now, with the latest revisions, the bot can't change any page, so I am
unable to use it. It returns a long error traceback, finishing like this:
...
File "/etc/new/pywikipedia/wikipedia.py", line 562, in getEditPage
text = self.site().getUrl(path, sysop = sysop)
File "/etc/new/pywikipedia/wikipedia.py", line 3345, in getUrl
import StringIO, gzip
File "/usr/lib/python2.5/gzip.py", line 9, in <module>
import zlib
ImportError: /usr/lib/python2.5/lib-dynload/zlib.so: undefined symbol:
inflateCopy
This error occurs with all the scripts, because it comes from the
wikipedia.py file, when using the getUrl function.
I'm using Python 2.5 on Ubuntu 7.04. Does anybody know what's happening?
Thank you very much.
Regards,
Arkaitz Zubiaga
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/pywikipedia-l