I need some help sorting out a couple of issues with pywikipedia.
Everything is on an XP machine. Python 2.7, with the latest build of pywikipedia from 8/30/2010. From all appearances everything is correct. I can log in and run some scripts without a problem. I ran catall.py without any issues, changed categories on pages. However.....!
For some reason I keep getting this error on many of the scripts, category.py, weblinkchecker.py, interwiki.py, etc
"Received incomplete XML data" then the sleep count starts.
I am at a loss as to what is happening. I can even edit with the GUI interface without a problem.
Can someone help me? What am I missing?
Tom
A little more information would be helpful, what wiki are you working on and can you also add the information from when version.py is run?
John
On Mon, Aug 30, 2010 at 11:07 PM, Tom Hutchison tjhutchy96@optonline.netwrote:
I need some help sorting out a couple of issues with pywikipedia.
Everything is on an XP machine. Python 2.7, with the latest build of pywikipedia from 8/30/2010. From all appearances everything is correct. I can log in and run some scripts without a problem. I ran catall.py without any issues, changed categories on pages. However.....!
For some reason I keep getting this error on many of the scripts, category.py, weblinkchecker.py, interwiki.py, etc
"Received incomplete XML data" then the sleep count starts.
I am at a loss as to what is happening. I can even edit with the GUI interface without a problem.
Can someone help me? What am I missing?
Tom
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
C:\pywikipedia>version.py Pywikipedia (r8466 (wikipedia.py), 2010/08/27, 20:27:07) Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True
Running Mediawiki 1.16.0, upgraded from 1.15, no problems.
Private wiki right now, but will be public for all eventually with group members as editors.
I created the family file. As I said, everything appears correct as I would not be able to log in, nor change pages via the API. I am stumped, I see the code in the if/else statements that generate the statement, just not sure why the XML is considered incomplete.
Thanks Tom
On 8/30/2010 11:10 PM, John Doe wrote:
A little more information would be helpful, what wiki are you working on and can you also add the information from when version.py is run?
John
On Mon, Aug 30, 2010 at 11:07 PM, Tom Hutchison <tjhutchy96@optonline.net mailto:tjhutchy96@optonline.net> wrote:
I need some help sorting out a couple of issues with pywikipedia. Everything is on an XP machine. Python 2.7, with the latest build of pywikipedia from 8/30/2010. From all appearances everything is correct. I can log in and run some scripts without a problem. I ran catall.py without any issues, changed categories on pages. However.....! For some reason I keep getting this error on many of the scripts, category.py, weblinkchecker.py, interwiki.py, etc "Received incomplete XML data" then the sleep count starts. I am at a loss as to what is happening. I can even edit with the GUI interface without a problem. Can someone help me? What am I missing? Tom _______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org <mailto:Pywikipedia-l@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Please give the exact command you use, and the error dump on your screen. Have you tried the same action on a "real" wiki?
I have tried all commands.
For example: Just typing interwiki.py, then waiting...typing in the page name, appears to start working then I get the "Received incomplete XML data Sleeping for 15 secs" and so on, 30 secs, 45 sec, etc,
I have tried using the switches, different switches. I doesn't matter what I try, most of the scripts return the XML data error.
Thanks Tom
Anyone have any ideas on why I am getting the "Received incomplete XML data" error message?
I ran some of the API links manually in my browser, all the created XML looks just fine. Can someone at least explain what triggers incomplete XML data error? What part of pywikipedia reads the XML data? Is it not being called correctly? Is my server the issue? I am running PHP 5 in Advanced mode.
I would appreciate any ideas or suggestions.
Thanks Tom
pywikipedia-l@lists.wikimedia.org