https://bugzilla.wikimedia.org/show_bug.cgi?id=55324
Web browser: ---
Bug ID: 55324
Summary: Commons Delinker local clock dependency
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/647/
Reported by: Anonymous user
Created on: 2008-02-28 09:38:07
Subject: Commons Delinker local clock dependency
Assigned to: btongminh
Original description:
I tried to run delinker.py on a machine, which has time set in the future \(+30
minutes\). It is impossible for CD to work correctly \(because it does not read
deletion logs\). I have created a small workaround. I don't know python at all
\(I prefer Perl:\), so the code may look a little funny.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55194
Web browser: ---
Bug ID: 55194
Summary: -movelog
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/1467/
Reported by: jandudik
Created on: 2012-06-20 11:10:20
Subject: -movelog
Assigned to: xqt
Original description:
Option -movelog behaviors incorrectly. When I give interwiki.py -movelog bot
works with titles \*before\* moving, which are in most cases deleted. It should
work with \*new\* titles...
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58864
Web browser: ---
Bug ID: 58864
Summary: EOFError writing dict to cache file occured in
featured.py
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Classification: Unclassified
Mobile Platform: ---
飓风丹尼尔 -> no corresponding page in wikipedia:eo
Writing 70 items to cache file C:\pwb\core\cache\good.
Traceback (most recent call last):
File "C:\pwb\core\pwb.py", line 135, in <module>
run_python_file(fn, argv, argvu)
File "C:\pwb\core\pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "C:\pwb\core\scripts\featured.py", line 674, in <module>
main()
File "C:\pwb\core\scripts\featured.py", line 667, in main
bot.run()
File "C:\pwb\core\scripts\featured.py", line 285, in run
self.run_featured()
File "C:\pwb\core\scripts\featured.py", line 348, in run_featured
self.readcache(task)
File "C:\pwb\core\scripts\featured.py", line 257, in readcache
self.cache = pickle.load(f)
File "C:\Python27\lib\pickle.py", line 1378, in load
return Unpickler(file).load()
File "C:\Python27\lib\pickle.py", line 858, in load
dispatch[key](self)
File "C:\Python27\lib\pickle.py", line 880, in load_eof
raise EOFError
EOFError
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55583
Web browser: ---
Bug ID: 55583
Summary: Generate user config files at runtime, not install
time
Product: Pywikibot
Version: unspecified
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: yardenack(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
I'm packaging pywikibot for Arch Linux here:
https://aur.archlinux.org/packages/python2-pywikibot-git/
Packing software for distribution means that install scripts might be run by a
different person than the user. Install scripts are not the place for user
config, and it's also bad practice to force ANY interactive configs at that
stage.
Please don't run generate_user_files.py from setup.py. Find some way to do this
at runtime.
Or, ideally, to behave sanely with no configs at all.
At the moment we are just providing a sample config for users to edit, and
doing: sed -i /generate_user_files.py/Id setup.py
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=59119
Web browser: ---
Bug ID: 59119
Summary: logging function in category_redirect.py broken
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: russblau(a)hotmail.com
Classification: Unclassified
Mobile Platform: ---
The change "Rm change_category func from category_redirect.py" with change-id
493ea09c0f8ac31ba8453b785310e75848fc4ba4 from
https://gerrit.wikimedia.org/r/#/c/104330/ broke the functionality that counts
the number of pages moved to target categories and reports the results on the
bot's "category redirect log" page. See
https://en.wikipedia.org/wiki/User:RussBot/category_redirect_log; before this
change, the log reported (for example) "Category:Irish surnames: 1 found, 1
moved", but after the change all reports are like "Category:United States
History: 7 found, 0 moved". In fact, the pages are being moved, it is just the
log report that is incorrect.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=59008
Web browser: ---
Bug ID: 59008
Summary: Add Arabic (ar) welcome template of Wiktionary and
Wikiversity
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: meno25mail(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
In welcome.py script of the compat branch, please add Arabic (ar) welcome
template of Wiktionary and Wikiversity i.e. add:
'wiktionary': {
+'ar': u'{{subst:ترحيب}} %s',
'bn': u'{{subst:স্বাগতম|%s}}',
'fa': u'{{جا:خوشامد|%s}}',
'it': u'{{subst:Utente:Filnik/Benve|firma=%s}}',
},
'wikiversity': {
+'ar': u'{{subst:ترحيب}} %s',
'de': u'{{subst:Willkommen|%s}}',
'el': u'{{subst:καλωσόρισμα}} %s',
'en': u'{{subst:Welcome}}\n\n{{subst:Talktome}} %s',
'es': u'{{subst:bienvenido usuario}} %s',
'fr': u'{{Bienvenue}} %s',
'it': u'{{subst:Benvenuto}} %s',
},
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55187
Web browser: ---
Bug ID: 55187
Summary: archivebot.py doesn't support Global arguments
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/1481/
Reported by: Anonymous user
Created on: 2012-06-30 17:48:33
Subject: archivebot.py doesn't support Global arguments
Original description:
http://www.mediawiki.org/wiki/Manual:Pywikipediabot/archivebot.py suggests
archivebot.py can use global arguments such as -family: and -lang:
It doesn't and I feel this would be an improvement.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=57879
Web browser: ---
Bug ID: 57879
Summary: impossible to run solve_disambiguation.py on redirects
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: blocker
Priority: Unprioritized
Component: solve_disambiguation.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: hercule.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Since yesterday I can't run solve_disambiguation.py with -redir option.
The command line is :
python solve_disambiguation.py -redir Agence France Presse
The error stack is :
Traceback (most recent call last):
File "solve_disambiguation.py", line 1147, in <module>
main()
File "solve_disambiguation.py", line 1142, in main
bot.run()
File "solve_disambiguation.py", line 1018, in run
if not self.findAlternatives(disambPage):
File "solve_disambiguation.py", line 897, in findAlternatives
target = disambPage.getRedirectTarget().title()
File "/data/project/herculebot/pywikibot-compat/wikipedia.py", line 3120, in
getRedirectTarget
target = err[0].replace('&quot;', '"')
AttributeError: 'IsRedirectPage' object has no attribute 'replace'
version.Py 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=58976
Web browser: ---
Bug ID: 58976
Summary: PreloadingItemGenerator crashes with NoPage exception
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: maarten(a)mdammers.nl
Classification: Unclassified
Mobile Platform: ---
The PreloadingItemGenerator does what the name suggests: Preload Wikidata items
so that these can be processed quickly.
When it encounters an item that has been deleted it crashes with a
"pywikibot.exceptions.NoPage: Page [[wikidata:-1]] doesn't exist." exception.
It shouldn't crash. It should either:
* Not preload the item and pass the empty item (and let downstream check)
* Skip the item
Probably best to have the same behavior as with the PreloadingPageGenerator (or
does that one crash too?)
Full trace:
Traceback (most recent call last):
File "C:\pywikibot\core\cc_to_sitelinks.py", line 131, in <module>
main()
File "C:\pywikibot\core\cc_to_sitelinks.py", line 128, in main
bot.run()
File "C:\pywikibot\core\cc_to_sitelinks.py", line 31, in run
for item in self.generator:
File "C:\pywikibot\core\pywikibot\pagegenerators.py", line 890, in
PreloadingI
temGenerator
for i in site.preloaditempages(group, step):
File "C:\pywikibot\core\pywikibot\site.py", line 3625, in preloaditempages
item.get() # parses json and preloads the various properties
File "C:\pywikibot\core\pywikibot\page.py", line 2592, in get
super(ItemPage, self).get(force=force, *args)
File "C:\pywikibot\core\pywikibot\page.py", line 2421, in get
raise pywikibot.NoPage(self)
pywikibot.exceptions.NoPage: Page [[wikidata:-1]] doesn't exist.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55313
Web browser: ---
Bug ID: 55313
Summary: -hintfile: option
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: interwiki.py
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/836/
Reported by: Anonymous user
Created on: 2009-01-23 23:29:52
Subject: -hintfile: option
Assigned to: purodha
Original description:
The newly introduced version -hintfile: is not well-documented or it's not
working as expected.
It asks for a page to be checked \(see below\) while \(according to \[2284955\]
interwiki hints from file\) it's supposed to read both a local page and a hint
page from file. Please fix it. Thanks\!
python interwiki.py -hintfile:
Please enter the hint filename: hints.txt
Which page to check:
Pywikipedia \[http\] trunk/pywikipedia \(r6291, Jan 23 2009, 16:08:14\)
Python 2.5.1 \(r251:54863, Apr 18 2007, 08:51:08\) \[MSC v.1310 32 bit
\(Intel\)\]
--
You are receiving this mail because:
You are the assignee for the bug.