Bugs item #2876396, was opened at 2009-10-10 21:17
Message generated for change (Tracker Item Submitted) made by nakor-wikipedia
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2876396&group_…
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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py is broken
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7423, 2009/10/10, 16:46:59)
Python 2.6 (r26:66714, Jun 8 2009, 16:07:26)
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)]
File "./interwiki.py", line 1746
if page.isTalkPage()
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2876396&group_…
Bugs item #2872239, was opened at 2009-10-03 14:26
Message generated for change (Comment added) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872239&group_…
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: mikeu (mu301)
Assigned to: Filnik (filnik)
Summary: welcome.py -timeoffset:X broken
Initial Comment:
bash-3.00$ date
Sat Oct 3 10:19:41 EDT 2009
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7363, 2009/10/03, 12:19:39)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320
Loading signature list...
Traceback (most recent call last):
File "welcome.py", line 982, in ?
bot.run()
File "welcome.py", line 786, in run
for users in self.parseNewUserLog():
File "welcome.py", line 676, in parseNewUserLog
params['lestart'] = int(now.strftime("%Y-%m-%dT%H:%M:%SZ"))
ValueError: invalid literal for int(): 2009-09-30T14:19:53Z
----------------------------------------------------------------------
Comment By: DarkoNeko ()
Date: 2009-10-10 19:09
Message:
on another note, he -nlog parameter seems to be now ignored. I didn't find
any utilisation of the varible it's setting in welcome.py .. ?
----------------------------------------------------------------------
Comment By: DarkoNeko ()
Date: 2009-10-10 18:53
Message:
Apparently, removing the "int(' part did tyhe trick.
Tested with and without use_api = True.
Can't apparently attach files, so diff under there
Index: welcome.py
===================================================================
--- welcome.py (révision 7423)
+++ welcome.py (copie de travail)
@@ -673,7 +673,7 @@
}
if globalvar.timeoffset != 0:
now = self.site.server_time() -
timedelta(minutes=globalvar.timeoffset)
- params['lestart'] = int(now.strftime("%Y-%m-%dT%H:%M:%SZ"))
+ params['lestart'] = now.strftime("%Y-%m-%dT%H:%M:%SZ")
elif globalvar.offset != 0:
params['lestart'] = globalvar.offset
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 18:47
Message:
Assigned to filnik.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872239&group_…
Bugs item #2872239, was opened at 2009-10-03 14:26
Message generated for change (Comment added) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872239&group_…
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: mikeu (mu301)
Assigned to: Filnik (filnik)
Summary: welcome.py -timeoffset:X broken
Initial Comment:
bash-3.00$ date
Sat Oct 3 10:19:41 EDT 2009
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7363, 2009/10/03, 12:19:39)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320
Loading signature list...
Traceback (most recent call last):
File "welcome.py", line 982, in ?
bot.run()
File "welcome.py", line 786, in run
for users in self.parseNewUserLog():
File "welcome.py", line 676, in parseNewUserLog
params['lestart'] = int(now.strftime("%Y-%m-%dT%H:%M:%SZ"))
ValueError: invalid literal for int(): 2009-09-30T14:19:53Z
----------------------------------------------------------------------
Comment By: DarkoNeko ()
Date: 2009-10-10 18:53
Message:
Apparently, removing the "int(' part did tyhe trick.
Tested with and without use_api = True.
Can't apparently attach files, so diff under there
Index: welcome.py
===================================================================
--- welcome.py (révision 7423)
+++ welcome.py (copie de travail)
@@ -673,7 +673,7 @@
}
if globalvar.timeoffset != 0:
now = self.site.server_time() -
timedelta(minutes=globalvar.timeoffset)
- params['lestart'] = int(now.strftime("%Y-%m-%dT%H:%M:%SZ"))
+ params['lestart'] = now.strftime("%Y-%m-%dT%H:%M:%SZ")
elif globalvar.offset != 0:
params['lestart'] = globalvar.offset
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 18:47
Message:
Assigned to filnik.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872239&group_…
Bugs item #2847407, was opened at 2009-08-30 21:49
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2847407&group_…
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: category
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: MGA73 (mga73)
Assigned to: Nobody/Anonymous (nobody)
Summary: category_redirect.py not working
Initial Comment:
I get this error on da-wiki:
File "C:\pywikipedia\category_redirect.py", line 314
response, result = query.GetData(predata, self,site back_response = True)
^
SyntaxError: invalid syntax
(The ^ stands under the last e in back_response)
Is it just me that has this problem? mga73
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-10 18:30
Message:
r7419 by alexsh
Thanks
----------------------------------------------------------------------
Comment By: MGA73 (mga73)
Date: 2009-10-04 22:08
Message:
Forgot :-) :
C:\pywikipedia>category_redirect
Traceback (most recent call last):
File "C:\pywikipedia\category_redirect.py", line 674, in <module>
main()
File "C:\pywikipedia\category_redirect.py", line 668, in main
bot.run()
File "C:\pywikipedia\category_redirect.py", line 456, in run
aplimit='max'):
File "C:\pywikipedia\category_redirect.py", line 313, in query_results
response, result = query.GetData(predata, self.site, back_response =
True)
NameError: global name 'predata' is not defined
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 21:01
Message:
You have not included the output of version.py, as is required. I just ran
it, and got a different error:
C:\py\interwiki>category_redirect.py -lang:da
WARNING: Configuration variable 'language' is defined but unknown.
Misspelled?
Traceback (most recent call last):
File "C:\py\interwiki\category_redirect.py", line 674, in <module>
main()
File "C:\py\interwiki\category_redirect.py", line 668, in main
bot.run()
File "C:\py\interwiki\category_redirect.py", line 456, in run
aplimit='max'):
File "C:\py\interwiki\category_redirect.py", line 313, in query_results
response, result = query.GetData(predata, self.site, back_response =
True)
NameError: global name 'predata' is not defined
C:\py\interwiki>version.py
Pywikipedia [http] trunk/pywikipedia (r7355, 2009/10/02, 09:46:09)
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2847407&group_…
Bugs item #2873605, was opened at 2009-10-06 19:58
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2873605&group_…
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: Pending
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: xqt (xqt)
Date: 2009-10-10 12: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 19: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&group_…
Bugs item #2873605, was opened at 2009-10-06 17:58
Message generated for change (Comment added) made by dmitrynikitin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2873605&group_…
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-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&group_…
Bugs item #2866016, was opened at 2009-09-24 22:18
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2866016&group_…
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: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: patrol (patrol)
>Assigned to: xqt (xqt)
Summary: cosmetic_changes.py destroyed article
Initial Comment:
When I was using replace.py with this command:
python replace.py -file:file -nocase "[[Luksemburg (państwo)|" "[[Luksemburg|" -summary:"naprawa linków" -log:log
pywikipedia did this edit: http://pl.wikipedia.org/w/index.php?title=Szablon%3AJ%C4%99zyk_infobox%2Fop… in which all categories and interwikis were removed.
The log of this operation is here: http://wklej.org/hash/4be22f8a2b/
Please fix it as soon as possible.
python version.py
Pywikipedia [http] trunk/pywikipedia (r7289, 2009/09/22, 13:27:15)
Python 2.6.2 (r262:71600, Aug 19 2009, 07:22:58)
[GCC 4.1.2 (Gentoo 4.1.2 p1.1)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-09 11:27
Message:
fixed in r7396 + 7401
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2866016&group_…
Bugs item #2552661, was opened at 2009-01-31 15:31
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2552661&group_…
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: other
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
>Assigned to: xqt (xqt)
Summary: featured.py mistake
Initial Comment:
The comment to the edit in ru.wiki is wrong: it writes for example
17:22, 31 января 2009 (история) (разн.) м Арсенал (футбольный клуб, Лондон) (Робот: робот: избранная статья he:ארסנל)
and repeats робот twice (in English it would look like
Robot: robot: featured article ...)
So, please change in line 79
'ru': u'Робот: робот: избранная статья [[%s:%s]]',
and make it like
'ru': u'Робот: избранная статья [[%s:%s]]',
-------
Pywikipedia [http] trunk/pywikipedia (r6315, Jan 30 2009, 19:42:01)
Python 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-09 09:54
Message:
done in r7389
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2552661&group_…
Bugs item #2524403, was opened at 2009-01-20 20:07
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2524403&group_…
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: other
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Mikko Silvonen (silvonen)
>Assigned to: xqt (xqt)
Summary: featured.py -fromall gets stuck on dsbwiki
Initial Comment:
The script featured.py gets stuck on dsbwiki every time I run it to update fiwiki. Can we just comment out the following line of code? There doesn't seem to be any category called "Kategorija:Ekscelentny" on dsbwiki.
'dsb': (CAT, u"Ekscelentny"),
Test run output:
>python featured.py -fromall
...
Getting [[Kategorija:Ekscelentny]]...
Page //dsb.wikipedia.org/w/index.php?useskin=monobook&title=Kategorija%3AEkscelentny&redirect=no could not be retrieved. Check your family file ?
WARNING: Could not open 'http://dsb.wikipedia.org/w/index.php?useskin=monobook&title=Kategorija%3AEk…'. Maybe the server or your connection is down. Retrying in 1 minutes...
Page //dsb.wikipedia.org/w/index.php?useskin=monobook&title=Kategorija%3AEkscelentny&redirect=no could not be retrieved. Check your family file ?
WARNING: Could not open 'http://dsb.wikipedia.org/w/index.php?useskin=monobook&title=Kategorija%3AEk…'. Maybe the server or your connection is down. Retrying in 2 minutes...
...
> python version.py
Pywikipedia [http] trunk/pywikipedia (r6272, Jan 19 2009, 22:59:18)
Python 2.5.1 (r251:54863, May 1 2007, 17:47:05) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-09 09:49
Message:
done in r7400
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-02-04 07:30
Message:
I uploaded a quick fix, but it would of course be more elegant if the
script gave up on loading a non-existent category page instead of waiting
for it to be created.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2524403&group_…
Bugs item #2819587, was opened at 2009-07-10 15:03
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2819587&group_…
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: interwiki
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: Interwiki sorting (fix 'za', add 'mhr')
Initial Comment:
Interwiki sorting orders (self.alphabetic in family.py and self.alphabetic_revised in families/wikipedia_family.py) should be updated as in
http://meta.wikimedia.org/wiki/Interwiki_sorting_order ('mhr' Wikipedia created, 'za' name changed). Note that 'mhr' in families/wikipedia_family.py has been added in wrong place! --[[User:Filemon]]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-09 09:31
Message:
done in r7398, r7399
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2819587&group_…