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(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)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?
--
You are receiving this mail because:
You are the assignee for the bug.