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
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@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@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Yes, I am using the latest 2.5.1 version [1]. I have 2.3, 2.4 and 2.5.1 versions installed in the system (but 2.5.1 was active), and the latest revision crashes with 2.5.1, because of the zlib library. I have tested running it with the older 2.4 version, and works fine. Maybe a problem with the latest python libraries so... Is there anybody working with the 2.5 or 2.5.1 version of python?
[1] http://www.python.org/download/releases/2.5.1/
Yuri Astrakhan(e)k dio:
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@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@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org