https://bugzilla.wikimedia.org/show_bug.cgi?id=55285
Web browser: --- Bug ID: 55285 Summary: Login no longer available Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: login.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1136/ Reported by: Anonymous user Created on: 2010-03-09 13:34:43 Subject: Login no longer available Original description: I get the following errors when using a known good user-config.py and family configurations for an SVN checkout of 2009-11-05. This is for a local wiki.
Using 2010-03-09, I get the following error on Ubuntu 9.04 (Python 2.6.2) and Ubuntu 8.04 (Python 2.5.2): Logging into FamilyName:en as UserName via API
Error downloading data: No JSON object could be decoded Request: en:/scriptpath/api.php? Retrying in 1 minutes.... (I changed line 152 of query.py to retry_idle_time*0.01 so I could see the dump without growing a beard first)
Dump output:
Error reported: No JSON object could be decoded 127.0.0.1 /hcrscript/api.php?
{"login":{"result":"Success","lguserid":3,"lgusername":"UserName","lgtoken":"2b448df9379b445c225c0a5c1d3af18b","cookieprefix":"DatabaseName","sessionid":"3dd4cc3dd33236b57da8234d2f73e6d3"}}
on Ubuntu 9.04:
python version.py Pywikipedia [http] trunk/pywikipedia (r7983, 2010/03/09, 08:14:34) Python 2.6.2 (release26-maint, April 19, 2009, 01:56:41) [GCC 4.3.3]
also broken on Ubuntu 8.04
python version.py Pywikipedia [http] trunk/pywikipedia (r7983, 2010/03/09, 08:14:34) Python 2.5.2 (r252:60911, Jul 22 2009, 15:35:03) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
But it seems to work fine on this system:
foreignhost:pywikipedia-2010-03-09 alex$ python version.py Pywikipedia [http] trunk/pywikipedia (r7983, 2010/03/09, 08:14:34) Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)]
Any ideas what's happening?
https://bugzilla.wikimedia.org/show_bug.cgi?id=55285
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- >>> json.__author__, json.__name__, json.__version__, json.__package__, json.__path__ ('Bob Ippolito <bob@redivi.com>', 'json', '1.9', 'json', ['/usr/lib/python2.6/json'])
?
Probably there is something wrong with the json libraries, but I wonder what...
https://bugzilla.wikimedia.org/show_bug.cgi?id=55285
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1136
https://bugzilla.wikimedia.org/show_bug.cgi?id=55285
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |UNCONFIRMED CC| |info@gno.de Ever confirmed|1 |0
--- Comment #2 from xqt info@gno.de --- Might be outdated.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55285
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME
--- Comment #3 from xqt info@gno.de --- I mark it as resolved/worksforme. Maybe it is outdated. Please feel free to reopen this bug if it is still valid with the current pwb release.
pywikipedia-bugs@lists.wikimedia.org