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.
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=67568
Bug ID: 67568
Summary: claimit.py conditionals:only add p:foo if p:bar exists
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: matanya(a)foss.co.il
Web browser: ---
Mobile Platform: ---
Please Add this feature. Only add a property if another property of claim
exists.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=67528
Bug ID: 67528
Summary: touch.py should not add pages to the user's watchlist
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: easy
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: he7d3r(a)gmail.com
Web browser: ---
Mobile Platform: ---
Steps to reproduce:
(0. Remove page "X" from your watchlist)
1. Run python pwb.py scripts/touch.py -page:"X"
2. The page will be added to your watchlist
Please disable this watch feature by default, or allow one to set something
like -watchlist:"nochange"[1] in the command line.
[1] https://www.mediawiki.org/w/index.php?title=API:Edit#Parameters
--
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=67489
Bug ID: 67489
Summary: editpage() got an unexpected keyword argument
'minorEdit'
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
Web browser: ---
Mobile Platform: ---
After directing the user in https://bugzilla.wikimedia.org/67488 to checkout an
older revision (1cb5dad, as compared to 1af38dc840 current), the following
exception occurred:
Logging in to mywiki:ar as UserBot
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 "scripts/pagefromfile.py", line 357, in <module>
main()
File "scripts/pagefromfile.py", line 354, in main
bot.run()
File "scripts/pagefromfile.py", line 164, in run
self.save(title, contents)
File "scripts/pagefromfile.py", line 224, in save
page.save(comment, minorEdit=self.getOption('minor'))
File "/Users/user/shell/core/pywikibot/page.py", line 883, in save
**kwargs)
File "/Users/user/shell/core/pywikibot/page.py", line 893, in _save
watch=watchval, bot=botflag, **kwargs)
File "/Users/user/shell/core/pywikibot/site.py", line 551, in callee
return fn(self, *args, **kwargs)
TypeError: editpage() got an unexpected keyword argument 'minorEdit'
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
Checking out an even older version (af2ec1) solved the issue, so it was
introduced somewhere inbetween (and maybe has been solved by now)
--
You are receiving this mail because:
You are the assignee for the bug.