https://bugzilla.wikimedia.org/show_bug.cgi?id=55003
Web browser: ---
Bug ID: 55003
Summary: claimit.py sample: add option for entry of coordinates
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
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/feature-requests/343/
Reported by: apac1
Created on: 2013-08-29 03:52:55.400000
Subject: claimit.py sample: add option for entry of coordinates
Original description:
Add the currently unsupported datatype
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64879
Bug ID: 64879
Summary: Port selflink.py to core
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: valhallasw(a)arctus.nl
Blocks: 55880
Web browser: ---
Mobile Platform: ---
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=62094
Bug ID: 62094
Summary: Cannot pickle Page objects
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Web browser: ---
Mobile Platform: ---
import pickle
import pywikibot
p = pywikibot.Page(pywikibot.Site('de'), 'user:Xqt/Test')
laFile = open('la.data', 'wb')
pickle.dump(p, laFile)
laFile.close()
causes the following error in core whereas it works in compat:
c:\Pywikipedia\core>pwb.py la2
Traceback (most recent call last):
File "C:\Pywikipedia\core\pwb.py", line 143, in <module>
run_python_file(fn, argv, argvu)
File "C:\Pywikipedia\core\pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "C:\Pywikipedia\core\scripts\la2.py", line 9, in <module>
pickle.dump(p, laFile)
File "C:\Python27\lib\pickle.py", line 1370, in dump
Pickler(file, protocol).dump(obj)
File "C:\Python27\lib\pickle.py", line 224, in dump
self.save(obj)
File "C:\Python27\lib\pickle.py", line 331, in save
self.save_reduce(obj=obj, *rv)
File "C:\Python27\lib\pickle.py", line 419, in save_reduce
save(state)
File "C:\Python27\lib\pickle.py", line 286, in save
f(self, obj) # Call unbound method with explicit self
File "C:\Python27\lib\pickle.py", line 649, in save_dict
self._batch_setitems(obj.iteritems())
File "C:\Python27\lib\pickle.py", line 663, in _batch_setitems
save(v)
File "C:\Python27\lib\pickle.py", line 331, in save
self.save_reduce(obj=obj, *rv)
File "C:\Python27\lib\pickle.py", line 419, in save_reduce
save(state)
File "C:\Python27\lib\pickle.py", line 286, in save
f(self, obj) # Call unbound method with explicit self
File "C:\Python27\lib\pickle.py", line 649, in save_dict
self._batch_setitems(obj.iteritems())
File "C:\Python27\lib\pickle.py", line 663, in _batch_setitems
save(v)
File "C:\Python27\lib\pickle.py", line 331, in save
self.save_reduce(obj=obj, *rv)
File "C:\Python27\lib\pickle.py", line 419, in save_reduce
save(state)
File "C:\Python27\lib\pickle.py", line 286, in save
f(self, obj) # Call unbound method with explicit self
File "C:\Python27\lib\pickle.py", line 649, in save_dict
self._batch_setitems(obj.iteritems())
File "C:\Python27\lib\pickle.py", line 663, in _batch_setitems
save(v)
File "C:\Python27\lib\pickle.py", line 306, in save
rv = reduce(self.proto)
File "C:\Python27\lib\copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle lock objects
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
c:\Pywikipedia\core>
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=66687
Bug ID: 66687
Summary: SVN parse error
Product: Pywikibot
Version: compat (1.0)
Hardware: PC
OS: Windows 7
Status: NEW
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: msh210(a)gmail.com
Web browser: ---
Mobile Platform: ---
C:\...\pywikipedia\ua_bug.py:
import wikipedia
print wikipedia.useragent
C:\...\pywikipedia>python ua_bug.py
Traceback (most recent call last):
File "ua_bug.py", line 1, in <module>
import wikipedia
File "C:\...\pywikipedia\wikipedia.py", line 6023, in <
module>
versionrev=(version.getversiondict()["rev"])
File "C:\...\pywikipedia\pywikibot\version.py", line 50
, in getversiondict
(tag, rev, date, hsh) = getversion_svn(_program_dir)
File "C:\...\pywikipedia\pywikibot\version.py", line 14
5, in getversion_svn
dom = xml.dom.minidom.parse(resp)
File "C:\Program Files\Python27\lib\xml\dom\minidom.py", line 1921, in parse
return expatbuilder.parse(file)
File "C:\Program Files\Python27\lib\xml\dom\expatbuilder.py", line 928, in
par
se
result = builder.parseFile(file)
File "C:\Program Files\Python27\lib\xml\dom\expatbuilder.py", line 207, in
par
seFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: undefined entity: line 13, column 20
(I'm calling this bug "SVN parse error" on the advice of [[w:en:user:John
Vandenberg]]. I don't know on what basis he so advised.)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=67285
Bug ID: 67285
Summary: starting from the middle of the category is broken
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: pagegenerators
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Web browser: ---
Mobile Platform: ---
pwb.py script -cat:foo#H should take members of category from H, I, J...
but it seems to take always from another letter:
M
I:\py\rewrite>pwb.py touch -cat:Muži#H
Retrieving 50 pages from wikipedia:cs.
Page [[François Rabelais]] saved
Page [[Václav Rabas]] saved
Page [[Ignác Raab]] saved
Page [[Jean Racine]] saved
Page [[Bernd Rabehl]] saved
...
I:\py\rewrite>pwb.py touch -cat:obce_v_okrese_Příbram#D
Retrieving 47 pages from wikipedia:cs.
Page [[Příbram]] saved
Page [[Stará Huť]] saved
Page [[Rosovice]] saved
Page [[Voznice]] saved
Page [[Rybníky (okres Příbram)]] saved
Page [[Svaté Pole]] saved
Page [[Rožmitál pod Třemšínem]] saved
Page [[Višňová (okres Příbram)]] saved
...
I:\py\rewrite>pwb.py touch -cat:obce_v_okrese_Příbram#T
Retrieving 4 pages from wikipedia:cs.
Page [[Zduchovice]] saved
Page [[Zbenice]] saved
Page [[Županovice (okres Příbram)]] saved
Page [[Zalužany]] saved
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=67121
Bug ID: 67121
Summary: File talk namespace is broken with "Image talk" prefix
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Web browser: ---
Mobile Platform: ---
>>> import pwb
>>> import pywikibot as py
>>> l = py.Link('Image talk:The_Addams_Family_(pinball)')
>>> l.namespace
0
>>> s = py.Site()
>>> p = py.Page(s, 'Image talk:The_Addams_Family_(pinball)')
>>> p.namespace()
0
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=66951
Bug ID: 66951
Summary: version.py does no longer work with svn
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Web browser: ---
Mobile Platform: ---
c:\Pywikipedia\compat>version.py
global name 'wikipediatools' is not defined
Serious import error; pywikibot not available - was it configured?
Traceback (most recent call last):
File "C:\Pywikipedia\compat\version.py", line 20, in <module>
pywikibot.output('Pywikibot: %s' % getversion())
AttributeError: 'module' object has no attribute 'output'
c:\Pywikipedia\compat>
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=65430
John Mark Vandenberg <jayvdb(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jayvdb(a)gmail.com
Severity|enhancement |major
--- Comment #2 from John Mark Vandenberg <jayvdb(a)gmail.com> ---
The bot is adding incorrect data which it can easily detect is wrong. That is
a bug.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=66950
Bug ID: 66950
Summary: config2 option 'modified' fails
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
$ python pwb.py pywikibot/config2.py modified
Traceback (most recent call last):
File "pwb.py", line 143, in <module>
run_python_file(fn, argv, argvu)
File "pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "pywikibot/config2.py", line 766, in <module>
if _all or _glv[_name] != globals()[_name]:
KeyError: 'base_dir'
<type 'exceptions.KeyError'>
after fixing that:
Traceback (most recent call last):
File "pwb.py", line 143, in <module>
run_python_file(fn, argv, argvu)
File "pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "pywikibot/config2.py", line 768, in <module>
if _all or _glv[_name] != globals()[_name]:
KeyError: 'ov'
<type 'exceptions.KeyError'>
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789
Web browser: ---
Bug ID: 58789
Summary: page.Save() does not support sysop parameter
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: valhallasw(a)arctus.nl
Classification: Unclassified
Mobile Platform: ---
In compat, page.Save can be passed sysop=True to force a sysop edit; in core,
the edit just errors out:
"pywikibot.exceptions.PageNotSaved: [[MediaWiki:Gadget-false-blue-links.js]]:
protectednamespace-interface: You're not allowed to
edit interface messages"
--
You are receiving this mail because:
You are the assignee for the bug.