Bugs item #3501763, was opened at 2012-03-11 05:59
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501763&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: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: title of ml-site not found in list retrieved via API
Initial Comment:
Retrieving pages from ml-wikipedia results in that BUG
Getting 52 pages via API from wikipedia:ml...
BUG>> title ????? ??????? ([[ml:????? ???????]]) not found in list
Expected one of: [[ml:????????]],[[ml:????]],[[ml:??????????]],[[ml:?????? ?????
]],[[ml:???????]],[[ml:???????]],[[ml:???????]],[[ml:???????????]],[[ml:????]],[
[ml:????]],[[ml:??????]],[[ml:?????? 25]],[[ml:?????]],[[ml:????????]],[[ml:????
????]],[[ml:??????:?????????]],[[ml:?????]],[[ml:?????????]],[[ml:???????]],[[ml
:???????????]],[[ml:?????????????? ??????????? ??? ?????]],[[ml:??????]],[[ml:??
??????]],[[ml:????]],[[ml:????]],[[ml:??????]],[[ml:?????????]],[[ml:????????]],
[[ml:????-????]],[[ml:???????????? ????]],[[ml:???????]],[[ml:?????????]],[[ml:?
?????????????]],[[ml:????]],[[ml:???????]],[[ml:???????????]],[[ml:?????????????
]],[[ml:????????]],[[ml:??????? ?????????]],[[ml:?? ????????]],[[ml:??????????]]
,[[ml:??????????? ???]],[[ml:?????????]],[[ml:?????]],[[ml:?????? ???]],[[ml:???
???? ????????]],[[ml:??? ??????????]],[[ml:???????]],[[ml:???????????????????]],
[[ml:???????? ??????????]],[[ml:?????? ????????]],[[ml:?????? ???]]
Traceback (most recent call last):
File "C:\pwb\trunk\pagegenerators.py", line 1200, in __iter__
for loaded_page in self.preload(somePages):
File "C:\pwb\trunk\pagegenerators.py", line 1223, in preload
pywikibot.getall(site, pagesThisSite)
File "C:\pwb\trunk\wikipedia.py", line 4472, in getall
else:
File "C:\pwb\trunk\wikipedia.py", line 4098, in run
self.oneDoneApi(vals)
File "C:\pwb\trunk\wikipedia.py", line 4375, in oneDoneApi
raise PageNotFound
PageNotFound
C:\pwb\trunk
Pywikipedia trunk/pywikipedia/ (r10009, 2012/03/11, 12:13:26)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501763&group_…
Bugs item #3501204, was opened at 2012-03-10 07:34
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501204&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: 2
Private: No
Submitted By: David Crochet (crochet_david)
>Assigned to: xqt (xqt)
Summary: Gramatical error on the verbose text
Initial Comment:
The verbose bot say :
"Getting 3 pages from wikiversity:it...
Getting 2 pages from wikiversity:pt...
Getting 1 pages from wikiversity:en..."
and, for 1 page, grammatical error, the 's' is too
Pywikipedia [http] trunk/pywikipedia (r9973, 2012/03/09, 11:08:24)
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-03-11 05:13
Message:
fixed in r10009
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501204&group_…
Bugs item #3501521, was opened at 2012-03-10 20:16
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501521&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: Jesse PW (pathoschild)
>Assigned to: xqt (xqt)
Summary: or.wiktionary incorrectly obsolete
Initial Comment:
The Oriya Wiktionary (or.wiktionary.org) is marked as obsolete in families/wiktionary_family.py, but was reopened in September 2011 (see https://bugzilla.wikimedia.org/show_bug.cgi?id=31166 ).
Requested version.py output:
Pywikipedia [http] trunk/pywikipedia (r10002, 2012/03/10, 20:36:27)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-03-11 04:49
Message:
fixed in r10005
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501521&group_…
Bugs item #3501521, was opened at 2012-03-10 20:16
Message generated for change (Tracker Item Submitted) made by pathoschild
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501521&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: Jesse PW (pathoschild)
Assigned to: Nobody/Anonymous (nobody)
Summary: or.wiktionary incorrectly obsolete
Initial Comment:
The Oriya Wiktionary (or.wiktionary.org) is marked as obsolete in families/wiktionary_family.py, but was reopened in September 2011 (see https://bugzilla.wikimedia.org/show_bug.cgi?id=31166 ).
Requested version.py output:
Pywikipedia [http] trunk/pywikipedia (r10002, 2012/03/10, 20:36:27)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501521&group_…
Bugs item #3501204, was opened at 2012-03-10 07:34
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501204&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: 2
Private: No
Submitted By: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: Gramatical error on the verbose text
Initial Comment:
The verbose bot say :
"Getting 3 pages from wikiversity:it...
Getting 2 pages from wikiversity:pt...
Getting 1 pages from wikiversity:en..."
and, for 1 page, grammatical error, the 's' is too
Pywikipedia [http] trunk/pywikipedia (r9973, 2012/03/09, 11:08:24)
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501204&group_…
Bugs item #3501204, was opened at 2012-03-10 07:34
Message generated for change (Tracker Item Submitted) made by crochet_david
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501204&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: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: Gramatical error on the verbose text
Initial Comment:
The verbose bot say :
"Getting 3 pages from wikiversity:it...
Getting 2 pages from wikiversity:pt...
Getting 1 pages from wikiversity:en..."
and, for 1 page, grammatical error, the 's' is too
Pywikipedia [http] trunk/pywikipedia (r9973, 2012/03/09, 11:08:24)
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501204&group_…
Bugs item #3501165, was opened at 2012-03-10 03:43
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501165&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: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: invalid literal found for minutesDiff
Initial Comment:
Timestamps seems to be different.
Trace:
Dump cu (wikipedia) appended.
Traceback (most recent call last):
File "C:\pwb\trunk\interwiki.py", line 2573, in <module>
main()
File "C:\pwb\trunk\interwiki.py", line 2547, in main
bot.run()
File "C:\pwb\trunk\interwiki.py", line 2287, in run
self.queryStep()
File "C:\pwb\trunk\interwiki.py", line 2265, in queryStep
subj.finish(self)
File "C:\pwb\trunk\interwiki.py", line 1699, in finish
time.gmtime()))
File "C:\pwb\trunk\interwiki.py", line 1567, in minutesDiff
int(time1[6:8])) * 24 + int(time1[8:10])) * 60 + \
ValueError: invalid literal for int() with base 10: '3-'
Updating page [[tr:Kaplan]] via API
version.py:
C:\pwb\trunk
Pywikipedia trunk/pywikipedia/ (r9974, 2012/03/09, 11:08:24)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3501165&group_…
Feature Requests item #3497090, was opened at 2012-03-05 10:09
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3497090&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: Open
Priority: 5
Private: No
Submitted By: Luca Rabinelli (beta16)
Assigned to: Nobody/Anonymous (nobody)
Summary: add xml to weblinkchecker.py
Initial Comment:
Pywikipedia trunk/pywikipedia/ (r9951, 2012/03/01, 14:12:57)
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
It's possible to run the weblinkchecker.py with -xml parameter. Or read the externallinks.sql.gz file?
Thanks!
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-03-10 00:37
Message:
Moved to feature request
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3497090&group_…
Bugs item #3474580, was opened at 2012-01-16 16:22
Message generated for change (Comment added) made by malafaya
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474580&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: 4
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: Updating complex pages
Initial Comment:
When updating complex pages, it's common to get a Timeout, because the Wikimedia server does not process and return the page within the expected time. In suchs cases (when a timeout exception is thrown), my suggestion si that pywikipedia should try to fetch the page again and check if there are any differences against the new page to be saved. If not, then it should proceed and not block indefinitely in such pages.
----------------------------------------------------------------------
>Comment By: André Malafaya Baptista (malafaya)
Date: 2012-03-09 07:23
Message:
I'm talking about this error:
Updating page [[Sri Lanka]] via API
HTTPError: 504 Gateway Time-out
The page to be updated is quite big so the server does not reply on time.
1) Is there a way to increase the timeout? I believe this is controlled by
the server, not the HTTP client...
2) The page was updated on the first try but as the page is not refreshed
between retries, the bot doesn't know and will try to update it "forever"
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2012-01-20 09:22
Message:
Hmmm, I'm not sure you understood. I'm not updating the page more than once
simultaneoulsy. It's just one bot run. As the page is a complicated one,
the server does not respond on time (you can try [[Europa]] at
pt.wiktionary). The bot then tries again, but obviously the same happens.
The difference is that the page has already been updated in the first try,
even if the server has not responded. In operations such as replace.py,
where it's common to edit long pages, you get in a long loop.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-01-20 05:47
Message:
This is the way the bot works. It trys to put the page for several times
which is given by maxretries in the (user_)config.py. Edit conflicts are
detected (by the mw api) except you are using your bot account for multiple
edits on the same page in the same time.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474580&group_…
Bugs item #3315395, was opened at 2011-06-12 03:47
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3315395&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: Mikko Silvonen (silvonen)
Assigned to: Nobody/Anonymous (nobody)
Summary: replaceCategoryLinks misplaces featured article links
Initial Comment:
I don't know if this is a known problem, but the function replaceCategoryLinks in pywikibot/textlib.py moves featured/good article templates (e.g., {{Link FA|en}}) above categories, although these templates are usually placed between categories and interwiki links. This has caused problems in one of the bot scripts that we use in the Finnish Wikipedia.
I am attaching a patch proposed by zache.
>python version.py
Pywikipedia [http] trunk/pywikipedia (r9291, 2011/06/10, 04:46:24)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-03-09 04:17
Message:
rplMpL Wow, great post.Really thank you! Much obliged.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3315395&group_…