Bugs item #2966436, was opened at 2010-03-09 14:34 Message generated for change (Comment added) made by valhallasw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2966436...
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: login Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: fungiblename () Assigned to: Nobody/Anonymous (nobody) Summary: Login no longer available
Initial Comment: 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?
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-13 18:30
Message:
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...
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2966436...