---
** [bugs:#1651] create_user_files does not support usernames with apostrophes**
**Status:** open
**Created:** Sun Jul 28, 2013 08:07 PM UTC by Merlijn S. van Deen
**Last Updated:** Sun Jul 28, 2013 08:07 PM UTC
**Owner:** nobody
If a username contains an apostrophe, it isn't escaped, which results in
username = 'Namewith'Apos'trophe's''
instead of
username = 'Namewith\'Apos\'trophe\'s\''
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1650] new nightlies do not have version.py support**
**Status:** open
**Created:** Sun Jul 28, 2013 07:40 PM UTC by Merlijn S. van Deen
**Last Updated:** Sun Jul 28, 2013 07:40 PM UTC
**Owner:** nobody
Nightlies should bundle a 'version' file, containing three lines:
nightly:pywikipedia
2013-07-20T11:39:29.772181Z
11775
i.e. 'what', 'when was nightly generated', 'source revision'
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1649] version.py does not work with git**
**Status:** open
**Created:** Sun Jul 28, 2013 07:37 PM UTC by Merlijn S. van Deen
**Last Updated:** Sun Jul 28, 2013 07:37 PM UTC
**Owner:** nobody
Pywikibot (r-1 (unknown), 0 (unknown), OUTDATED)
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3]
unicode test: ok
is not a very useful version identifier.
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1648] Non-unicode path results in UnicodeDecodeError**
**Status:** open
**Created:** Sun Jul 28, 2013 07:36 PM UTC by Merlijn S. van Deen
**Last Updated:** Sun Jul 28, 2013 07:36 PM UTC
**Owner:** nobody
From an IRC support request:
Traceback (most recent call last):
File "login.py", line 436, in <module>
main()
File "login.py", line 432, in main
loginMan.login()
File "login.py", line 319, in login
cookiedata = self.getCookie(api)
File "login.py", line 243, in getCookie
self.site.updateCookies(L, self.sysop)
File "wikipedia.py", line 6371, in updateCookies
self._setupCookies(self._cookies[index], sysop)
File "wikipedia.py", line 6342, in _setupCookies
f = open(config.datafilepath('login-data', filename), 'w')
File "config.py", line 555, in datafilepath
return makepath(os.path.join(base_dir, *filename))
File "/usr/lib/python2.7/posixpath.py", line 80, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)
The pywikipedia folder was in '/.../Télechargements', which is has an accented letter. Moving to a non-accented directory solved the issue.
User is running rewrite; version.py did not yield useful results because it doesn't support git or git nightlies yet...
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
- **status**: open --> closed
- **Group**: --> Unstable (example)
---
** [patches:#616] Expand all Text for Checking Hidden Categories**
**Status:** closed
**Labels:** rewrite
**Created:** Fri May 24, 2013 11:16 AM UTC by David E. Narváez
**Last Updated:** Fri May 24, 2013 11:16 AM UTC
**Owner:** nobody
An example of this issue is http://commons.wikimedia.org/wiki/Category:Cultural\_heritage\_monuments\_i… which has a template that actually adds the \_HIDDEN\_ keyword. The other change proposed here is not to use regular expressions for that match, it is pointless.
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/patches/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1647] Unicode error with existing page title**
**Status:** open
**Created:** Sun Jul 28, 2013 07:54 AM UTC by Adrián Chaves Fernández
**Last Updated:** Sun Jul 28, 2013 07:54 AM UTC
**Owner:** nobody
I have written the following script:
# -*- coding: utf-8 -*-
import pywikibot
site = pywikibot.Site("gl", "wiktionary")
page = pywikibot.Page(site, u"𐌰𐌽𐌳𐌰𐌿𐍂𐌰")
print page.get()
It fails with the following output:
[gallaecio@afonso fontes]$ python2 test.py
Traceback (most recent call last):
File "test.py", line 7, in <module>
print page.get()
File "/usr/lib/python2.7/site-packages/pywikibot/__init__.py", line 249, in wrapper
return method(*__args, **__kw)
File "/usr/lib/python2.7/site-packages/pywikibot/__init__.py", line 249, in wrapper
return method(*__args, **__kw)
File "/usr/lib/python2.7/site-packages/pywikibot/page.py", line 278, in get
self._getInternals(sysop)
File "/usr/lib/python2.7/site-packages/pywikibot/page.py", line 302, in _getInternals
self.site.loadrevisions(self, getText=True, sysop=sysop)
File "/usr/lib/python2.7/site-packages/pywikibot/page.py", line 96, in site
return self._link.site
File "/usr/lib/python2.7/site-packages/pywikibot/page.py", line 3080, in site
self.parse()
File "/usr/lib/python2.7/site-packages/pywikibot/page.py", line 3037, in parse
u"contains illegal char(s) '%s'" % m.group(0))
pywikibot.exceptions.InvalidTitle: contains illegal char(s) '𐌰'
I’m using the **rewrite** branch, built today (2013-07-28).
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Correct. Wiktionary still uses old-style interwikis only.
---
** [bugs:#1646] interwiki.py CPU occupation too high (hogging)**
**Status:** open
**Created:** Wed Jul 24, 2013 02:20 PM UTC by André Malafaya Baptista
**Last Updated:** Thu Jul 25, 2013 01:23 PM UTC
**Owner:** nobody
Since some time ago (I think less than 2 months), running interwiki.py hogs one CPU after running for some time. As I have four CPUs, I get a constant 25% CPU occupation by python.exe. The console output gets also sluggish.
Example:
interwiki.py -lang:nl -family:wiktionary -auto -async -cleanup -pt:1 -start:Category:!
Pywikipedia trunk/pywikipedia/ (r11780, 2013/07/20, 11:39:29, ok)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Wikidata are only for Wikipedia and Wikivoyage, other WMF projects still use old style interwiki.
---
** [bugs:#1646] interwiki.py CPU occupation too high (hogging)**
**Status:** open
**Created:** Wed Jul 24, 2013 02:20 PM UTC by André Malafaya Baptista
**Last Updated:** Thu Jul 25, 2013 12:32 PM UTC
**Owner:** nobody
Since some time ago (I think less than 2 months), running interwiki.py hogs one CPU after running for some time. As I have four CPUs, I get a constant 25% CPU occupation by python.exe. The console output gets also sluggish.
Example:
interwiki.py -lang:nl -family:wiktionary -auto -async -cleanup -pt:1 -start:Category:!
Pywikipedia trunk/pywikipedia/ (r11780, 2013/07/20, 11:39:29, ok)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
A question: Why are you trying to run interwiki.py in a WMF Wiki? It's obsolete code for wikis that have wikibase repo (Wikidata in this case)
---
** [bugs:#1646] interwiki.py CPU occupation too high (hogging)**
**Status:** open
**Created:** Wed Jul 24, 2013 02:20 PM UTC by André Malafaya Baptista
**Last Updated:** Wed Jul 24, 2013 02:20 PM UTC
**Owner:** nobody
Since some time ago (I think less than 2 months), running interwiki.py hogs one CPU after running for some time. As I have four CPUs, I get a constant 25% CPU occupation by python.exe. The console output gets also sluggish.
Example:
interwiki.py -lang:nl -family:wiktionary -auto -async -cleanup -pt:1 -start:Category:!
Pywikipedia trunk/pywikipedia/ (r11780, 2013/07/20, 11:39:29, ok)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.