https://bugzilla.wikimedia.org/show_bug.cgi?id=61816
Bug ID: 61816
Summary: No git doesn't mean it is Windows
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: nullzero.free(a)gmail.com
Web browser: ---
Mobile Platform: ---
I tried to run pywikibot in tools web server and got an error:
File "/shared/pywikipedia/core/pywikibot/version.py", line 134, in
getversion_git
except WindowsError:
NameError: global name 'WindowsError' is not defined
The problem comes from:
cmd = 'git'
try:
subprocess.Popen([cmd], stdout=subprocess.PIPE).communicate()
except WindowsError:
The framework tries to call git, but /usr/bin is not in $PATH in tools web
server; consequently, the calling fails. The error falls to except block, and
obviously, tools server is not Windows; WindowsError is not defined, making
NameError.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=53936
Rubin16 <rubin.happy(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=61820
Bug ID: 61820
Summary: pagefromfile.py: parameters -start, -end, -titlestart,
-tittleend need proper escaping before used in regular
expressions.
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: bugzilla.wikimedia(a)publi.purodha.net
Web browser: ---
Mobile Platform: ---
python pwb.py pagefromfile -titlestart:"**"
dies with an error message about an invalid regular expression.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=57480
Web browser: ---
Bug ID: 57480
Summary: References cannot be set anymore
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: Wikidata
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: dr.trigon(a)surfeu.ch
Classification: Unclassified
Mobile Platform: ---
subster.py was able to set references to wikidata claims/entries, but this does
not work anymore, instead it raises an exception:
Traceback (most recent call last):
File "subster.py", line 609, in data_save
comment=summary)
File "/data/toolserver/pywikipedia-git/wikipedia.py", line 4826, in
editclaim
raise RuntimeError("API query error: %s" % data)
RuntimeError: API query error: {u'servedby': u'mw1191', u'error': {u'info':
u'Malformed input: +00000002013-11-23T12:50:53Z', u'code':
u'invalid-snak-value', u'messages': {u'0': {u'type': u'error', u'name':
u'wikibase-validator-malformed-value', u'parameters':
[u'+00000002013-11-23T12:50:53Z']}, u'html': {u'*': u'<p>Malformed input:
+00000002013-11-23T12:50:53Z\n</p>'}}}}
Since subster.py has not changed during this time, this has to be caused either
by changes in wikipedia.py or (IMHO more probable) in wikidata mw software.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=61467
Bug ID: 61467
Summary: Login Error
Product: Pywikibot
Version: unspecified
Hardware: PC
OS: Windows 8
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: login.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: hassen.houssein(a)gmail.com
Web browser: ---
Mobile Platform: ---
Created attachment 14608
--> https://bugzilla.wikimedia.org/attachment.cgi?id=14608&action=edit
Login Error
C:\Pywikipedia>login.py
Traceback (most recent call last):
File "C:\Pywikipedia\login.py", line 59, in <module>
import query
File "C:\Pywikipedia\query.py", line 172
except ValueError, error:
^
SyntaxError: invalid syntax
C:\Pywikipedia>
I tried the clean_sandbox.py, but got this error
C:\Pywikipedia>clean_sandbox.py
Traceback (most recent call last):
File "C:\Pywikipedia\clean_sandbox.py", line 48, in <module>
import wikipedia as pywikibot
File "C:\Pywikipedia\wikipedia.py", line 754
raise IsRedirectPage, self._redirarg # do not change unless you see
https:/
/bugzilla.wikimedia.org/show_bug.cgi?id=57879
^
SyntaxError: invalid syntax
C:\Pywikipedia>
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56827
Web browser: ---
Bug ID: 56827
Summary: KeyError 'user' in wikipedia.getLatestUploader
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: info(a)gno.de
Classification: Unclassified
Mobile Platform: ---
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55028
Web browser: ---
Bug ID: 55028
Summary: adding bot varable for NewpagesPageGenerator()
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/316/
Reported by: reza1615
Created on: 2012-09-25 14:04:52
Subject: adding bot varable for NewpagesPageGenerator()
Original description:
I don't have developer acount
In pagegenerator.NewpagesPageGenerator\(\) llike wikipedia.newpages\(\) please
add bot variable
In pagegenerator.py it need replace line 562-571 with this code
def NewpagesPageGenerator\(number=100, repeat=False, site=None,
namespace=0,bot=True\):
"""
Iterate Page objects for all new titles in a single namespace.
"""
\# defaults to namespace 0 because that's how Special:Newpages defaults
if site is None:
site = pywikibot.getSite\(\)
if bot:
for item in site.newpages\(number=number, repeat=repeat, namespace=namespace,
rcshow=\['\!redirect'\]\):
yield item\[0\]
else:
for item in site.newpages\(number=number, repeat=repeat, namespace=namespace,
rcshow=\['\!bot','\!redirect'\]\):
yield item\[0\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55081
Web browser: ---
Bug ID: 55081
Summary: Flagged Revision
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/211/
Reported by: Anonymous user
Created on: 2009-07-09 20:49:29
Subject: Flagged Revision
Original description:
Hi... I'm using pywikipedia for create a RSS feed, but we are interested in
publish only the stable pages. Are there some method in wikipedia class to get
if the edition is reviewed by some editor and it has any stable edition?.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55053
Web browser: ---
Bug ID: 55053
Summary: Review Pages
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/275/
Reported by: mjbmr
Created on: 2010-11-19 11:35:32
Subject: Review Pages
Original description:
I am working on a site that is installed flagged revisions on it, and i have
editor flags sometimes i need to review many pages that i created with my bot
and i think this will be good to pywikipedia to have an option to review pages,
thanks
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55035
Web browser: ---
Bug ID: 55035
Summary: featured.py to handle featured files & assessments
template
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/307/
Reported by: Anonymous user
Created on: 2012-05-20 11:34:13
Subject: featured.py to handle featured files & assessments template
Original description:
I am working on Commons:Template:Assessments which reports "featured" status
files on commons. There is a synchronization problem with local wikis and
commons.
For instance if a file is a Featured Picture on English Wikipedia, Assessments
template would have the parameter |enwiki=1 and optionally |enwiki-nom= to link
to the nomination page. If a file is a formerly featured picture the parameter
would be |enwiki=2. If the file is a featured sound the parameter would be
|enwiki=3 and if the file is a formerly featured sound the parameter would be
|enwiki=4. Updating the commons page is sufficient to update all wikis since
the starts are visible on all wikis.
Though it is also possible to run the code in an interwiki.py-like manner as
well as featured pictures are typically not interwiki linked.
--
You are receiving this mail because:
You are the assignee for the bug.