Bugs item #2860956, was opened at 2009-09-17 23:11
Message generated for change (Comment added) made by mauro742
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956&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
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Bengtsson (cygnus78)
Assigned to: Nobody/Anonymous (nobody)
Summary: getVersionHistory() does not work anymore
Initial Comment:
python version.py
Pywikipedia [http] trunk/pywikipedia (r7268, 2009/09/17, 15:52:03)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
I have not investigated very thoroughly but the function returns [] and I can see that the page source no longer matches the regexp. The regexp starts with <li class=".*?"> but the page source does not specify class for <li>. But that is not the only difference. By the way this problem was found using a bot that operates on wikimedia commons.
----------------------------------------------------------------------
Comment By: Mauro (mauro742)
Date: 2009-09-18 11:37
Message:
Another problem is in "minor edit".
I post a bugfix here:
https://sourceforge.net/tracker/?func=detail&aid=2861291&group_id=93107&ati…
----------------------------------------------------------------------
Comment By: Daniel Bengtsson (cygnus78)
Date: 2009-09-17 23:21
Message:
Actually it seems that the <li class=".*?"> was the only problem. Switching
that part to just <li> and it works fine here.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956&group_…
Patches item #2861291, was opened at 2009-09-18 11:33
Message generated for change (Comment added) made by mauro742
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2861291&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
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bugfix #2860956 (getVersionHistory() does not work anymore)
Initial Comment:
Attached patch solves the bug
----------------------------------------------------------------------
Comment By: Mauro (mauro742)
Date: 2009-09-18 11:35
Message:
I wasn't logged in :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2861291&group_…
Patches item #2861291, was opened at 2009-09-18 09:33
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2861291&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
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bugfix #2860956 (getVersionHistory() does not work anymore)
Initial Comment:
Attached patch solves the bug
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2861291&group_…
Bugs item #2860956, was opened at 2009-09-17 23:11
Message generated for change (Comment added) made by cygnus78
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956&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
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Bengtsson (cygnus78)
Assigned to: Nobody/Anonymous (nobody)
Summary: getVersionHistory() does not work anymore
Initial Comment:
python version.py
Pywikipedia [http] trunk/pywikipedia (r7268, 2009/09/17, 15:52:03)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
I have not investigated very thoroughly but the function returns [] and I can see that the page source no longer matches the regexp. The regexp starts with <li class=".*?"> but the page source does not specify class for <li>. But that is not the only difference. By the way this problem was found using a bot that operates on wikimedia commons.
----------------------------------------------------------------------
>Comment By: Daniel Bengtsson (cygnus78)
Date: 2009-09-17 23:21
Message:
Actually it seems that the <li class=".*?"> was the only problem. Switching
that part to just <li> and it works fine here.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956&group_…
Bugs item #2860956, was opened at 2009-09-17 23:11
Message generated for change (Tracker Item Submitted) made by cygnus78
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956&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
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Bengtsson (cygnus78)
Assigned to: Nobody/Anonymous (nobody)
Summary: getVersionHistory() does not work anymore
Initial Comment:
python version.py
Pywikipedia [http] trunk/pywikipedia (r7268, 2009/09/17, 15:52:03)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
I have not investigated very thoroughly but the function returns [] and I can see that the page source no longer matches the regexp. The regexp starts with <li class=".*?"> but the page source does not specify class for <li>. But that is not the only difference. By the way this problem was found using a bot that operates on wikimedia commons.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956&group_…
Bugs item #2860934, was opened at 2009-09-17 22:39
Message generated for change (Comment added) made by cygnus78
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860934&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
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Bengtsson (cygnus78)
Assigned to: Nobody/Anonymous (nobody)
Summary: undefined variable in getTemplates()
Initial Comment:
python version.py
Pywikipedia [http] trunk/pywikipedia (r7268, 2009/09/17, 15:52:03)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
Traceback (most recent call last):
File "fpc.py", line 1089, in <module>
main()
File "fpc.py", line 1078, in main
checkCandidates(Candidate.park,delistPage,delist=True);
File "fpc.py", line 869, in checkCandidates
candidates = findCandidates(page,delist)
File "fpc.py", line 847, in findCandidates
templates = page.getTemplates()
File "/home/yxi/svn/pywikipedia/wikipedia.py", line 949, in getTemplates
if limit > config.special_page_limit:
NameError: global name 'limit' is not defined
----------------------------------------------------------------------
>Comment By: Daniel Bengtsson (cygnus78)
Date: 2009-09-17 22:44
Message:
Works in revision 7253.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860934&group_…
Bugs item #2860934, was opened at 2009-09-17 22:39
Message generated for change (Tracker Item Submitted) made by cygnus78
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860934&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
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Bengtsson (cygnus78)
Assigned to: Nobody/Anonymous (nobody)
Summary: undefined variable in getTemplates()
Initial Comment:
python version.py
Pywikipedia [http] trunk/pywikipedia (r7268, 2009/09/17, 15:52:03)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
Traceback (most recent call last):
File "fpc.py", line 1089, in <module>
main()
File "fpc.py", line 1078, in main
checkCandidates(Candidate.park,delistPage,delist=True);
File "fpc.py", line 869, in checkCandidates
candidates = findCandidates(page,delist)
File "fpc.py", line 847, in findCandidates
templates = page.getTemplates()
File "/home/yxi/svn/pywikipedia/wikipedia.py", line 949, in getTemplates
if limit > config.special_page_limit:
NameError: global name 'limit' is not defined
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860934&group_…
Bugs item #2860737, was opened at 2009-09-17 17:18
Message generated for change (Tracker Item Submitted) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860737&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: rewrite
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: NicDumZ — Nicolas Dumazet (nicdumz)
Assigned to: Russell Blau (russblau)
Summary: pywikibot should not alter the root logger
Initial Comment:
One of our users is using himself the builtin logging module for his bots. And the fact that we call logging.basicConfig interferes with external applications using the logging module.
We also change the root logger, removing all handlers.
Can we just initialize a "pywikibot.root" logger that would be the base logger for our framework instead?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860737&group_…