Bugs item #2873605, was opened at 2009-10-06 17:58 Message generated for change (Settings changed) made by dmitrynikitin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2873605...
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: General Group: None
Status: Open
Resolution: None Priority: 5 Private: No Submitted By: Dmitry Nikitin (dmitrynikitin) Assigned to: Nobody/Anonymous (nobody) Summary: upload.py uploads an image several minutes
Initial Comment: upload.py uploads image to site (MediaWiki version 1.15.1 = latest official release) very long ... several minutes
I thinks that the reason is the latest changes in mediawiki and hence in pywikipedia. But 1.16 is not released and 1.15.1 remains latest official release of MediaWiki. Now the latest pywikipedia version doesn't work properly with the latest official release of MediaWiki.
python /export/wiki/pywikipedia/upload.py "Dubno_set070_k0.jpg" -keep -noverify "{{Cc|Александр}} [[Категория:Без Клейма]] [[Категория:Ровенская cерия]]"
Reading file Dubno_set070_k0.jpg The suggested description is: {{Cc|Александр}} [[Category:Без Клейма]] [[Category:Ровенская серия]] Uploading file to ...wiki:ru... Error downloading data: Expecting , delimiter: line 1 column 199666 (char 199666) Request ru:/gw/api.php?action=query&meta=allmessages&format=json Retrying in 1 minutes... Error downloading data: Invalid \uXXXX escape: line 1 column 376301 (char 376301) Request ru:/gw/api.php?action=query&meta=allmessages&format=json Retrying in 2 minutes... Error downloading data: Invalid \uXXXX escape: line 1 column 276942 (char 276942) Request ru:/gw/api.php?action=query&meta=allmessages&format=json Retrying in 4 minutes... Upload successful.
== python version.py == Pywikipedia [http] trunk/pywikipedia (r7379, 2009/10/06, 06:39:04) Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3]
MediaWiki version: 1.15.1
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-10-13 06:09
Message: xqt, I tried without API and had the same problem. There was no difference with or without API. And yes ... request is still valid.
multichill, r7382 works fine. And it's may be considered as workaround, but ... I want to use the same pywikimedia installation for editing wikipedia.org and my own site on MediaWiki 1.15.1. Now I have to switch between latest version of pywikipedia for editing wikipedia and r7382 for editing my site.
----------------------------------------------------------------------
Comment By: Multichill (multichill) Date: 2009-10-12 20:48
Message: Could you try running r7382 of upload.py (version before the big change) and see how that one works?
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2009-10-10 10:35
Message: The upload modules hast been changed a lot since r7379. The actual release is 7416. Is this request still valid?
You may try it without API as workaround but it is not recommented in gerneral
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin) Date: 2009-10-09 17:58
Message: May be someone could give me workaround?
It's awful to wait for 4 min while file uploading.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2873605...
pywikipedia-bugs@lists.wikimedia.org