https://bugzilla.wikimedia.org/show_bug.cgi?id=54709
Web browser: ---
Bug ID: 54709
Summary: Cannot init
Product: Pywikibot
Version: unspecified
Hardware: Macintosh
OS: Mac OS X 10.8
Status: NEW
Severity: blocker
Priority: Unprioritized
Component: login.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: mrandmrsmurphy(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Traceback (most recent call last):
File "login.py", line 58, in <module>
import re, os, query
File "/Users/...../pywikipedia/query.py", line 29, in <module>
import wikipedia as pywikibot
File "/Users/...../pywikipedia/wikipedia.py", line 150, in <module>
externals.check_setup('BeautifulSoup.py')
File "/Users/...../pywikipedia/externals/__init__.py", line 377, in
check_setup
if globals()[dist[0] + '_install'](modules_needed[m][0]):
KeyError: u'darwin_install'
Out of the box, won't run on Mac OS 10.8.5. Python 2.7.2
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55154
Web browser: ---
Bug ID: 55154
Summary: Can't login to wikisource.org
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: login.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/1572/
Reported by: Anonymous user
Created on: 2013-02-09 09:45:00
Subject: Can't login to wikisource.org
Original description:
I would like to be able to edit Wikisource with pywikipediabot; unlike all the
other wikis, http://wikisource.org/ does not redirect to
http://en.wikisource.org/ and thus I cannot login to wikisource.org without
playing with each script.
The following was outputted when I tried
family = 'wikisource'
mylang = ''
Traceback \(most recent call last\):
File "C:\Python27\pywikipedia1\redirect.py", line 65, in <module>
import wikipedia as pywikibot
File "C:\Python27\pywikipedia1\wikipedia.py", line 8717, in <module>
getSite\(noLogin=True\)
File "C:\Python27\pywikipedia1\pywikibot\support.py", line 115, in wrapper
return method\(\*\_\_args, \*\*\_\_kw\)
File "C:\Python27\pywikipedia1\wikipedia.py", line 8471, in getSite
\_sites\[key\] = Site\(code=code, fam=fam, user=user\)
File "C:\Python27\pywikipedia1\pywikibot\support.py", line 115, in wrapper
return method\(\*\_\_args, \*\*\_\_kw\)
File "C:\Python27\pywikipedia1\wikipedia.py", line 5667, in \_\_init\_\_
% \(self.\_\_code, self.\_\_family.name\)\)
NoSuchSite: Language does not exist in family wikisource
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55136
Web browser: ---
Bug ID: 55136
Summary: Incorrect source in harvest_template.py
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/1638/
Reported by: jandudik
Created on: 2013-06-24 21:07:15.699000
Subject: Incorrect source in harvest_template.py
Original description:
I run in rewrite
harvest_template.py -ref:template:infobox_okres -template:"Infobox okres" ISO
P300 NUTS P605
my lang is set to cs, but bot add as source lang=se
http://www.wikidata.org/w/index.php?title=Q852518&diff=52278378&oldid=52278…
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55021
Web browser: ---
Bug ID: 55021
Summary: Edit comments in the description of the edits
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/323/
Reported by: n-fran
Created on: 2013-01-11 07:36:42
Subject: Edit comments in the description of the edits
Original description:
When I manually create destruction of information, I always point out its
cause.
For example:
http://ru.wikipedia.org/w/index.php?title=%D0%A7%D1%83%D1%80%D1%82%D0%B0%D1…
Sorry, can make it so that the user pywikipediabot could change the description
of the edits? It is often necessary to explain to other users of the reasons
for the bot of my actions?
For example
http://ru.wikipedia.org/w/index.php?title=1634\_%D0%B3%D0%BE%D0%B4&diff=515…
Instead of 'Removing links to spamming site profi-forex.org' write 'my
comment'.
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55186
Web browser: ---
Bug ID: 55186
Summary: archivebot.py doesn't support unicode month names
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/1482/
Reported by: Anonymous user
Created on: 2012-06-30 17:50:30
Subject: archivebot.py doesn't support unicode month names
Original description:
archivebot.py doesn't work well with languages such as Turkish which has some
months with unicode characters. Namely:
2 Şubat
4 Mayıs
8 Ağustos
9 Eylül
11 Kasım
12 Aralık
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55090
Web browser: ---
Bug ID: 55090
Summary: Allow multiple interwiki links to one language
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
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/feature-requests/184/
Reported by: milda
Created on: 2009-02-24 09:28:40
Subject: Allow multiple interwiki links to one language
Original description:
On Wikisource no autonomous interwiki bots are running, I'm using interwiki.py
-confirm to ease of manual work, but I cannot use it if there are more than one
page in one language matching to one or more pages in another language. This is
typical for translations of well-known literar works, for example
http://en.wikisource.org/wiki/The\_Raven\_\(Poe\) or
http://da.wikisource.org/wiki/Keiserens\_nye\_Kl%C3%A6der and others.
Is it possible to allow \(with new command-line parameter\) and process
multiple links to the same language domain? At the same time, if more than one
interwiki link on some page to one language exist, then is important to keep
order of such links, because some domains use extra techniques for displaying
additional information, as you can see on The Raven page
\(\{\{Interwiki-info|fr1|some description\}\} refers to the first
\[\[fr:foo\]\] interwiki link etc.\).
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55290
Web browser: ---
Bug ID: 55290
Summary: Patch I submitted for djvutext.py was not applied
correctly
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/1112/
Reported by: dischead
Created on: 2010-01-08 19:37:48
Subject: Patch I submitted for djvutext.py was not applied correctly
Original description:
In ID 2927811, I submitted a patch to djvutext.py so that it would call
DjVuLibre's djvutxt binary with correct command-line options.
A change was checked into Subversion \(r7865\). However, this change was
incorrect. It's possible that the edit was made by hand rather than applying
the patch I provided.
The "--page" option to djvutxt must have a space instead of an equals sign
between itself and the page number. If an equals sign is there, djvutxt will
ignore the option and dump ALL text in the given DjVu file. This is likely to
cause incorrect behavior in djvutext.py.
So all that's needed is to change the equals sign to a space. I'm attaching a
new patch, but I think this can be done by hand. ;-\)
Thanks\!
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56347
Web browser: ---
Bug ID: 56347
Summary: RandomPageGenerator returns max 10 pages
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: mpaa.wiki(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
import pywikibot
from pywikibot import pagegenerators
s = pywikibot.getSite('no', 'wiktionary')
gen = pagegenerators.RandomPageGenerator(number=100, site=s)
for p in gen:
print p
If number > 10, max 10 pages are returned.
"query-continue" is not supported by random query, as assumed by
QueryGenerator.__iter__() [see https://www.mediawiki.org/wiki/API:Random]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56324
Web browser: ---
Bug ID: 56324
Summary: TypeError: run_python_file() takes exactly 3 arguments
(2 given)
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: liangent(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
NOTE: user-config.py was not found!
Please follow the prompts to create it:
Traceback (most recent call last):
File "pwb.py", line 91, in <module>
run_python_file('generate_user_files.py', ['generate_user_files.py'])
TypeError: run_python_file() takes exactly 3 arguments (2 given)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56386
Web browser: ---
Bug ID: 56386
Summary: setup.py should require httplib2
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: kikkocristian(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Created attachment 13632
--> https://bugzilla.wikimedia.org/attachment.cgi?id=13632&action=edit
Test script
Running <code>python setup.py install</code> while in virtualenv does not
install automatically the httplib2 dependency.
<code>
(pywikibot)cristian@cristian-F5N:~$ python test.py "Alessandro_Manzoni"
Traceback (most recent call last):
File "test.py", line 4, in <module>
import pywikibot
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/__init__.py",
line 313, in <module>
from page import Page, ImagePage, Category, Link, User, ItemPage,
PropertyPage, Claim
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/page.py",
line 16, in <module>
import pywikibot.site
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/site.py",
line 33, in <module>
from pywikibot.data import api
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/data/api.py",
line 13, in <module>
from pywikibot.comms import http
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/comms/http.py",
line 30, in <module>
from httplib2 import SSLHandshakeError
ImportError: No module named httplib2
</code>
<code>test.py</code> is attached.
I am using Python 2.7.3 under <code>virtualenv</code> version 1.9.1 on Ubuntu
12.10.
Furthermore installing the dependency with <code>pip install httplib2</code>
cause the following bug.
<code>
(pywikibot)cristian@cristian-F5N:~$ python test.py "Alessandro_Manzoni"
ERROR: Traceback (most recent call last):
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/data/api.py",
line 284, in submit
body=paramstring)
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/comms/http.py",
line 123, in request
raise FatalServerError(str(request.data))
FatalServerError: [Errno 1] _ssl.c:504: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Traceback (most recent call last):
File "test.py", line 12, in <module>
item = pywikibot.ItemPage.fromPage(wikipage)
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/page.py",
line 2527, in fromPage
repo = page.site.data_repository()
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/page.py",
line 98, in site
return self._link.site
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/page.py",
line 3224, in site
self.parse()
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/page.py",
line 3207, in parse
if self._site.case() == 'first-letter':
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/site.py",
line 1173, in case
return self.siteinfo['case']
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/site.py",
line 1167, in siteinfo
self._getsiteinfo()
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/site.py",
line 1100, in _getsiteinfo
sidata = sirequest.submit()
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/data/api.py",
line 462, in submit
self._data = super(CachedRequest, self).submit()
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/data/api.py",
line 284, in submit
body=paramstring)
File
"/home/cristian/.virtualenvs/pywikibot/local/lib/python2.7/site-packages/pywikibot/comms/http.py",
line 123, in request
raise FatalServerError(str(request.data))
pywikibot.exceptions.FatalServerError: [Errno 1] _ssl.c:504: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
</code>
Steps to reproduce:
* download core.tar.gz and unzip
* create virtualenv
* run <code>python setup.py install</code> from <code>core</code>
* run <code>python test.py "Alessandro_Manzoni"</code>
--
You are receiving this mail because:
You are the assignee for the bug.