https://bugzilla.wikimedia.org/show_bug.cgi?id=52692
--- Comment #22 from Andre Klapper <aklapper(a)wikimedia.org> ---
(In reply to comment #20)
> I know, but I can't change it for emails send to
> Pywikipedia-bugs(a)lists.wikimedia.org
Oops, I misunderstood. It should be fixed now.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=52692
--- Comment #21 from Merlijn van Deen <valhallasw(a)arctus.nl> ---
legoktm is working on the export - see
https://github.com/wikimedia/pywikibot-sf-export for the repository.
The number of bugs is relatively small (100, maybe a few 100) as we are not
transferring closed bugs. We could therefore choose to fix the metadata
afterwards manually, instead of trying to get it right in the bot.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=52692
--- Comment #20 from Maarten Dammers <maarten(a)mdammers.nl> ---
Hi Andre,
(In reply to comment #19)
> > Andre, can you please set the emailformat to text only?
>
> That's a user setting, see section "Preferred email format" on
> https://bugzilla.wikimedia.org/userprefs.cgi?tab=settings
I know, but I can't change it for emails send to
Pywikipedia-bugs(a)lists.wikimedia.org . I believe you're the owner of that
account.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=52692
Andre Klapper <aklapper(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
Assignee|aklapper(a)wikimedia.org |wikibugs-l(a)lists.wikimedia.
| |org
--- Comment #19 from Andre Klapper <aklapper(a)wikimedia.org> ---
(In reply to comment #18)
> Any news on the import?
I myself cannot offer any news as I don't know the Sourceforge API and as I
only know a little bit the Bugzilla API. I've pointed to
http://www.bugzilla.org/docs/4.2/en/html/api/Bugzilla/WebService for anybody
who would like to try writing a script, or
https://github.com/awjrichards/bingle for an example of interacting with
Bugzilla's API.
If this is overkill (I honestly don't know about how many tickets we talk, e.g.
also closed ones?) I'm also happy to help transfering tickets manually.
> Andre, can you please set the emailformat to text only?
That's a user setting, see section "Preferred email format" on
https://bugzilla.wikimedia.org/userprefs.cgi?tab=settings
--
You are receiving this mail because:
You are on the CC list for the bug.
---
** [bugs:#1674] KeyError: "message 'Disambiguationspage' does not exist.**
**Status:** open
**Created:** Wed Sep 18, 2013 08:57 AM UTC by André Malafaya Baptista
**Last Updated:** Wed Sep 18, 2013 08:57 AM UTC
**Owner:** nobody
>> interwiki.py -family:wiktionary -lang:pt Category:Russo
'git' is not recognized as an internal or external command,
operable program or batch file.
Getting 1 page from wiktionary:pt...
Dump pt (wiktionary) appended.
Traceback (most recent call last):
File "D:\Work\pywikipedia\interwiki.py", line 2678, in <module>
main()
File "D:\Work\pywikipedia\interwiki.py", line 2652, in main
bot.run()
File "D:\Work\pywikipedia\interwiki.py", line 2370, in run
self.queryStep()
File "D:\Work\pywikipedia\interwiki.py", line 2343, in queryStep
self.oneQuery()
File "D:\Work\pywikipedia\interwiki.py", line 2339, in oneQuery
subject.batchLoaded(self)
File "D:\Work\pywikipedia\interwiki.py", line 1391, in batchLoaded
(skip, alternativePage) = self.disambigMismatch(page, counter)
File "D:\Work\pywikipedia\interwiki.py", line 1142, in disambigMismatch
if self.originPage.isDisambig() and not page.isDisambig():
File "D:\Work\pywikipedia\wikipedia.py", line 1561, in isDisambig
'Disambiguationspage').split(':', 1)[1]
File "D:\Work\pywikipedia\wikipedia.py", line 6991, in mediawiki_message
raise KeyError("message '%s' does not exist." % key)
KeyError: "message 'Disambiguationspage' does not exist."
>> interwiki.py -family:wiktionary -lang:lt Category:Kalbos
'git' is not recognized as an internal or external command,
operable program or batch file.
Getting 1 page from wiktionary:lt...
Dump lt (wiktionary) appended.
Traceback (most recent call last):
File "D:\Work\pywikipedia\interwiki.py", line 2678, in <module>
main()
File "D:\Work\pywikipedia\interwiki.py", line 2652, in main
bot.run()
File "D:\Work\pywikipedia\interwiki.py", line 2370, in run
self.queryStep()
File "D:\Work\pywikipedia\interwiki.py", line 2343, in queryStep
self.oneQuery()
File "D:\Work\pywikipedia\interwiki.py", line 2339, in oneQuery
subject.batchLoaded(self)
File "D:\Work\pywikipedia\interwiki.py", line 1391, in batchLoaded
(skip, alternativePage) = self.disambigMismatch(page, counter)
File "D:\Work\pywikipedia\interwiki.py", line 1142, in disambigMismatch
if self.originPage.isDisambig() and not page.isDisambig():
File "D:\Work\pywikipedia\wikipedia.py", line 1561, in isDisambig
'Disambiguationspage').split(':', 1)[1]
File "D:\Work\pywikipedia\wikipedia.py", line 6991, in mediawiki_message
raise KeyError("message '%s' does not exist." % key)
KeyError: "message 'Disambiguationspage' does not exist."
version.py output (updated from git on 17/Sep/2013)
===
Pywikipedia wikipedia.py (r-1 (unknown), a9f799b, 2013/09/18, 09:53:00, OUTDATED)
Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
===
---
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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=52692
--- Comment #18 from Maarten Dammers <maarten(a)mdammers.nl> ---
Any news on the import?
Andre, can you please set the emailformat to text only?
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54235
Legoktm <legoktm.wikipedia(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |legoktm.wikipedia(a)gmail.com
--- Comment #1 from Legoktm <legoktm.wikipedia(a)gmail.com> ---
Unfortunately that won't work in some cases like commonsMedia or url. If you
look at
https://www.wikidata.org/w/api.php?action=wbgetentities&ids=q76&format=json…:
"property": "P18",
"datavalue": {
"value": "President Barack Obama.jpg",
"type": "string"
}
We could probably implement a fallback for the ones that will work like entity,
coordinate and time, and emit a warning like "P288 does not exist"
This error is probably rare to run into since the datatype is cached forever,
but most scripts need to re-cache everything because the ids went uppercase.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54240
Web browser: ---
Bug ID: 54240
Summary: Pywikipedia-bugs does not accept Bugzilla e-mails
Product: Pywikibot
Version: unspecified
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: ---
Sending an e-mail to debug...
--
You are receiving this mail because:
You are the assignee for the bug.
in config.datafilepath(*filename), os.path.join(base_dir, *filename) fails if:
-. at least one of the argument of os.path.join() is unicode and
-. at least one of the argument of os.path.join() has non-ASCII char
---
** [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:** Tue Sep 17, 2013 07:55 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.
same as https://sourceforge.net/p/pywikipediabot/bugs/1648/
---
** [bugs:#1370] Using non-ascii file path causes UnicodeDecodeError**
**Status:** open
**Created:** Wed Oct 26, 2011 08:35 PM UTC by Merlijn S. van Deen
**Last Updated:** Wed Oct 26, 2011 08:35 PM UTC
**Owner:** nobody
\[user@denix eskarcha\]$ python2 login.py
unicode test: triggers problem \#3081100
Password for user Eskarcha on chakra:en:
Logging in to chakra:en as Eskarcha via API.
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 "/home/user/proxectos/chakra/documentación/eskarcha/wikipedia.py", line 5193, in updateCookies
self.\_setupCookies\(self.\_cookies\[index\], sysop\)
File "/home/user/proxectos/chakra/documentación/eskarcha/wikipedia.py", line 5164, in \_setupCookies
f = open\(config.datafilepath\('login-data', filename\), 'w'\)
File "/home/user/proxectos/chakra/documentación/eskarcha/config.py", line 505, in datafilepath
return makepath\(os.path.join\(base\_dir, \*filename\)\)
File "/usr/lib/python2.7/posixpath.py", line 71, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 39: ordinal not in range\(128\)
\[user@denix eskarcha\]$ python2 version.py
Pywikipedia \[http\] trunk/pywikipedia \(r9675, 2011/10/26, 08:57:14\)
Python 2.7.1 \(r271:86832, Jul 24 2011, 00:49:56\)
\[GCC 4.5.3\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: triggers problem \#3081100
Moving the pywikipediabot directory to an ascii path works as workaround.
---
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.