Bugs item #2356220, was opened at 2008-11-28 17:42
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2356220&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: Closed
>Resolution: Out of Date
Priority: 7
Private: No
Submitted By: shizhao (wikishizhao)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix newpages()
Initial Comment:
fix username in newpages() on wikipedia.py
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-11 21:05
Message:
The patch is outdated and obsolete if you are using the API. I keep the
code for now for backward compatibility.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-04-10 01:05
Message:
I don't use HEAD but this bug report looks as closed by mistake. Patches
attached aren't ok.
----------------------------------------------------------------------
Comment By: SourceForge Robot (sf-robot)
Date: 2009-03-18 19:54
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 10:11
Message:
Are the issue and the patch still current? If so, please confirm, check if
the patch still applies, and upload a revised patch. Remove outdated
patch(es) in any case.
----------------------------------------------------------------------
Comment By: shizhao (wikishizhao)
Date: 2008-11-29 05:30
Message:
is python 2.5+. This Mediawiki update add class="mw-userlink" and
class="new mw-userlink", so pywikipedia also update.
----------------------------------------------------------------------
Comment By: Legoktm (legoktm)
Date: 2008-11-29 05:01
Message:
What version of python are you using? I get this error while running
2.3.5, but not with 2.5+.
----------------------------------------------------------------------
Comment By: Legoktm (legoktm)
Date: 2008-11-29 05:01
Message:
What version of python are you using? I get this error while running
2.3.5, but not with 2.5+.
----------------------------------------------------------------------
Comment By: Legoktm (legoktm)
Date: 2008-11-29 04:58
Message:
whoops, wrong bug
----------------------------------------------------------------------
Comment By: Legoktm (legoktm)
Date: 2008-11-29 04:58
Message:
What version of python are you using? I get this error while running
2.3.5, but not with 2.5+.
----------------------------------------------------------------------
Comment By: shizhao (wikishizhao)
Date: 2008-11-28 18:07
Message:
add fix new user.
File Added: wikipedia.diff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2356220&group_…
Bugs item #2872239, was opened at 2009-10-03 16:26
Message generated for change (Comment added) made by xqt
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: mikeu (mu301)
>Assigned to: Nobody/Anonymous (nobody)
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: xqt (xqt)
Date: 2009-10-11 20:36
Message:
r7430 by alexsh
----------------------------------------------------------------------
Comment By: DarkoNeko ()
Date: 2009-10-10 21: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 20: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 20:47
Message:
Assigned to filnik.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872239&group_…
Bugs item #2876396, was opened at 2009-10-11 03:17
Message generated for change (Comment added) made by xqt
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: Closed
>Resolution: Fixed
Priority: 9
Private: No
Submitted By: Nakor Wikipedia (nakor-wikipedia)
>Assigned to: xqt (xqt)
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
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-11 16:05
Message:
done in r7427
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-10-11 06:35
Message:
Yes, a colon seems to be missing. I can't attach files to this bug, but
here's a patch:
Index: interwiki.py
===================================================================
--- interwiki.py (revision 7423)
+++ interwiki.py (working copy)
@@ -1743,7 +1743,7 @@
# Only yield pages that have ( ) in titles
if "(" not in page.title():
continue
- if page.isTalkPage()
+ if page.isTalkPage():
wikipedia.output(u'Skipping: %s is a talk page' %
page.title())
continue
break
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2876396&group_…
Bugs item #2876396, was opened at 2009-10-11 04:17
Message generated for change (Comment added) made by silvonen
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: 9
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
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-10-11 07:35
Message:
Yes, a colon seems to be missing. I can't attach files to this bug, but
here's a patch:
Index: interwiki.py
===================================================================
--- interwiki.py (revision 7423)
+++ interwiki.py (working copy)
@@ -1743,7 +1743,7 @@
# Only yield pages that have ( ) in titles
if "(" not in page.title():
continue
- if page.isTalkPage()
+ if page.isTalkPage():
wikipedia.output(u'Skipping: %s is a talk page' %
page.title())
continue
break
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2876396&group_…
Bugs item #2876396, was opened at 2009-10-10 21:17
Message generated for change (Settings changed) 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: 9
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 #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_…