https://bugzilla.wikimedia.org/show_bug.cgi?id=55282
Web browser: ---
Bug ID: 55282
Summary: weblinkchecker.py - anoying exceptions
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1148/
Reported by: masti01
Created on: 2010-03-17 21:49:18
Subject: weblinkchecker.py - anoying exceptions
Assigned to: xqt
Original description:
While processing external links weblinkchecker often trows this exception:
Exception while processing URL
http://www.cev.lu/mmp-cgi/show.pl?cmd=tmpl&id=851&id2=150&id3=359&id4=4&id5…
in page Mistrzostwa Europy w Piłce Siatkowej Mężczyzn 1997
Exception in thread Mistrzostwa Europy w Piłce Siatkowej Mężczyzn 1997 -
http://www.cev.lu/mmp-cgi/show.pl?cmd=tmpl&id=851&id2=150&id3=359&id4=4&id5…:
Traceback \(most recent call last\):
File "/usr/lib64/python2.6/threading.py", line 525, in \_\_bootstrap\_inner
self.run\(\)
File "weblinkchecker.py", line 492, in run
ok, message = linkChecker.check\(\)
File "weblinkchecker.py", line 423, in check
msg = error\[1\]
IndexError: tuple index out of range
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55276
Web browser: ---
Bug ID: 55276
Summary: weblinkchecker should ignore URLs inside some tags,
part 2
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1164/
Reported by: djbarrett
Created on: 2010-04-12 18:33:11
Subject: weblinkchecker should ignore URLs inside some tags, part 2
Assigned to: xqt
Original description:
This is a followup to \[pywikipediabot-Bugs-1969051\] \"weblinkchecker should
ignore URLs inside some tags\"
The fix in pyrev:8076 by xqt is appreciated, but not an appropriate solution.
The particular tag I listed in the ticket, \"<sql>\", was just an
example. The fix by xqt simply hard-coded this example \(bogus\) tag into the
Pywikipedia source code:
svn diff -c8076 http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia
A better fix would be to recognize when you are reading a tag attribute:
<AnyTagGoesHere ... attr=\'http://whatever\' ...>
\{\{AnyTemplateOrParserFunction | attr=http://whatever
and ignore the URL in these situations.
$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r8050, 2010/04/01, 15:43:14\)
Python 2.4.3 \(\#1, Sep 3 2009, 15:37:37\)
\[GCC 4.1.2 20080704 \(Red Hat 4.1.2-46\)\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55269
Web browser: ---
Bug ID: 55269
Summary: weblinkchecker.py don't report death links
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1207/
Reported by: Anonymous user
Created on: 2010-07-08 12:06:18
Subject: weblinkchecker.py don't report death links
Original description:
version.py:
Pywikipedia \[http\] trunk/pywikipedia \(r8347, 2010/07/08, 06:47:27\)
Python 2.6.1 \(r261:67515, Feb 11 2010, 00:51:29\)
\[GCC 4.2.1 \(build 5646\)\]
config-settings:
use\_api = True
use\_api\_login = True
weblinkchecker.py is correctly searching for death links, but -talk would not
reporting them on talk page, only the help text would be prompted. Already
waited 8 days and executed -repeat 4 times. The links are listed in the
deadlinks file.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55233
Web browser: ---
Bug ID: 55233
Summary: Weblinkchecker reports live links as dead
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1352/
Reported by: hiw
Created on: 2011-09-26 22:35:45
Subject: Weblinkchecker reports live links as dead
Original description:
The weblinkchecker.py reported several web links as dead due to additional
braces at the end of the url.
\- http://de.wikipedia.org/wiki/Diskussion:DARC\_\(Protein\)
e.g:
Article:
<ref name="pmid19290478">\{\{cite journal |author=Horne K, Woolley IJ
|title=Shedding light on DARC: the role of the Duffy antigen/receptor for
chemokines in inflammation, infection and malignancy |journal=Inflamm. Res.
|volume=58 |issue=8 |pages=431–5 |year=2009 |month=August |pmid=19290478
|doi=10.1007/s00011-009-0023-9
|url=http://dx.doi.org/10.1007/s00011-009-0023-9\}\}</ref>
Response by pywikipedia on talk page:
Dead link found:
http://dx.doi.org/10.1007/s00011-009-0023-9\}\}
version.py
Pywikipedia \[http\] trunk/pywikipedia \(r9558, 2011/09/25, 20:30:54\)
Python 2.7.2 \(default, Jun 24 2011, 12:21:10\) \[MSC v.1500 32 bit \(Intel\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
Using Active Python with Microsoft Windows XP \[Version 5.1.2600\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54551
Web browser: ---
Bug ID: 54551
Summary: weblinkchecker exclude webarchive
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/592/
Reported by: masti01
Created on: 2013-01-31 09:16:41
Subject: weblinkchecker exclude webarchive
Original description:
Exclude webArchive from checked links as this is already archived
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=66466
Bug ID: 66466
Summary: harvest_template: Claim instance has no attribute
'title'
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Wikidata
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Web browser: ---
Mobile Platform: ---
pwb.py harvest_template -namespace:0 -ref:template:Infobox_-_hokejista
-template:"Infobox - hokejista" obrázek P18 "místo narození" P19 "místo úmrtí"
P20 "město narození" P19
..
Processing [[cs:Antonín Stavjaňa]]
A claim for P18 already exists. Skipping
Adding P19 --> [[wikidata:Q171018]]
ERROR: AttributeError: Claim instance has no attribute 'title'
Traceback (most recent call last):
File "I:\py\rewrite\scripts\harvest_template.py", line 66, in run
self.processPage(page)
File "I:\py\rewrite\scripts\harvest_template.py", line 190, in processPage
claim.addSource(source, bot=True)
File "I:\py\rewrite\pywikibot\page.py", line 3027, in addSource
self.addSources([claim], **kwargs)
File "I:\py\rewrite\pywikibot\page.py", line 3035, in addSources
data = self.repo.editSource(self, claims, new=True, **kwargs)
File "I:\py\rewrite\pywikibot\site.py", line 566, in callee
return fn(self, *args, **kwargs)
File "I:\py\rewrite\pywikibot\site.py", line 3827, in editSource
params['token'] = self.token(claim, 'edit')
File "I:\py\rewrite\pywikibot\site.py", line 1537, in token
titles=page.title(withSection=False),
AttributeError: Claim instance has no attribute 'title'
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=66583
Bug ID: 66583
Summary: Claimit: AttributeError: Claim instance has no
attribute 'title'
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Wikidata
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Web browser: ---
Mobile Platform: ---
pwb.py claimit -catr:Lední_hokejisté_podle_zemí P106 Q11774891
Processing [[cs:Jim Korn]]
Adding P106 --> [[wikidata:Q11774891]]
Traceback (most recent call last):
File "D:\Py\rewrite\pwb.py", line 143, in <module>
run_python_file(fn, argv, argvu)
File "D:\Py\rewrite\pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "D:\Py\rewrite\scripts\claimit.py", line 200, in <module>
main()
File "D:\Py\rewrite\scripts\claimit.py", line 197, in main
bot.run()
File "D:\Py\rewrite\scripts\claimit.py", line 129, in run
claim.addSource(source, bot=True)
File "D:\Py\rewrite\pywikibot\page.py", line 3027, in addSource
self.addSources([claim], **kwargs)
File "D:\Py\rewrite\pywikibot\page.py", line 3035, in addSources
data = self.repo.editSource(self, claims, new=True, **kwargs)
File "D:\Py\rewrite\pywikibot\site.py", line 548, in callee
return fn(self, *args, **kwargs)
File "D:\Py\rewrite\pywikibot\site.py", line 3814, in editSource
params['token'] = self.token(claim, 'edit')
File "D:\Py\rewrite\pywikibot\site.py", line 1524, in token
titles=page.title(withSection=False),
AttributeError: Claim instance has no attribute 'title'
<type 'exceptions.AttributeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
D:\Py\rewrite>
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55312
Web browser: ---
Bug ID: 55312
Summary: delinker doesn't understand line breaks
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/851/
Reported by: multichill
Created on: 2009-02-08 14:20:27
Subject: delinker doesn't understand line breaks
Original description:
An image got deleted and the delinker tried to remove it, but the image had a
line break in the description. Result:
http://nl.wikipedia.org/w/index.php?title=De\_Speelman&diff=prev&oldid=1541…
multichill@nightshade:~/pywikipedia$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r6334, Feb 06 2009, 16:42:40\)
Python 2.5.2 \(r252:60911, Jan 4 2009, 21:59:32\)
\[GCC 4.3.2\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=57877
Web browser: ---
Bug ID: 57877
Summary: removing custom sortkey while moving cat
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: category.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: hercule.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Hello,
I ran category.py to move Catégorie:WikiGnome to Catégorie:Utilisateur
WikiGnome on fr.wiki. This evening someone point me an unespected removal of
custom sortkey :
https://fr.wikipedia.org/w/index.php?title=Wikip%C3%A9dia:WikiGnome&curid=5…
I update my git daily. This evening my version.pyt output is :
Pywikibot: [https] r/pywikibot/compat (r10559, 341ed66, 2013/12/01, 19:41:39,
OUTDATED)
Release version: 1.0b1
Python: 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=66120
Bug ID: 66120
Summary: Reading WikibasePage.text causes a TypeError
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
print ItemPage.text results in:
TypeError: get() got an unexpected keyword argument 'get_redirect'
.text is provided by Page(), and not overridden by WikibasePage, and it invokes
.get with get_redirect=True.
.get in Page() includes get_redirect as a keyword argument.
.get in WikibasePage and subclasses does not have get_redirect in the argument
list at all, and doesnt have **kwargs.
--
You are receiving this mail because:
You are the assignee for the bug.