https://bugzilla.wikimedia.org/show_bug.cgi?id=66242
Bug ID: 66242 Summary: UnicodeDecodeError in generate_user_files.py Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: federicoleva@tiscali.it Web browser: --- Mobile Platform: ---
Same as bug 55249?
nemobis@tools-login:~/core$ python generate_user_files.py
Your default user directory is "/home/nemobis/.pywikibot" How to proceed? ([K]eep [c]hange) k Do you want to copy user files from an existing pywikibot installation? n Create user-config.py file? Required for running bots ([y]es, [N]o) y 1: anarchopedia 2: battlestarwiki 3: commons 4: i18n 5: incubator 6: lockwiki 7: lyricwiki 8: mediawiki 9: meta 10: omegawiki 11: osm 12: outreach 13: species 14: strategy 15: test 16: vikidia 17: wikia 18: wikibooks 19: wikidata 20: wikimedia 21: wikinews 22: wikipedia 23: wikiquote 24: wikisource 25: wikitech 26: wikiversity 27: wikivoyage 28: wiktionary 29: wowwiki Select family of sites we are working on, just enter the number not name (default: wikipedia): 8 This is the list of known language(s): mediawiki The language code of the site we're working on (default: 'en'): Username (en mediawiki): AnankeBot Which variant of user_config.py: [S]mall or [E]xtended (with further information)? e Traceback (most recent call last): File "generate_user_files.py", line 367, in <module> create_user_config() File "generate_user_files.py", line 279, in create_user_config %s""" % (fam, mylang, fam, mylang, mainusername, config_text)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 185: ordinal not in range(128)
https://bugzilla.wikimedia.org/show_bug.cgi?id=66242
--- Comment #1 from Nemo federicoleva@tiscali.it --- Same if I pick: The language code of the site we're working on (default: 'en'): mediawiki
https://bugzilla.wikimedia.org/show_bug.cgi?id=66242
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |info@gno.de Version|unspecified |core (2.0)
https://bugzilla.wikimedia.org/show_bug.cgi?id=66242
--- Comment #2 from Merlijn van Deen valhallasw@arctus.nl --- What version are you using (output from python pwb.py version)? It seems it's a fairly old one, as it doesn't ask
'Do you want to add any other projects? (y/N)'
after answering all questions - and that question was added more than a year ago (May '13).
https://bugzilla.wikimedia.org/show_bug.cgi?id=66242
--- Comment #3 from Nemo federicoleva@tiscali.it --- (In reply to Merlijn van Deen from comment #2)
What version are you using (output from python pwb.py version)?
Just cloned from git:
Pywikibot: [https] git-pywikibot-core.git (ad558db, g3292, 2014/06/06, 06:40:03, OUTDATED) Release version: 2.0b1 Python: 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3] unicode test: ok
https://bugzilla.wikimedia.org/show_bug.cgi?id=66242
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricordisamoa@openmailbox.or | |g Assignee|Pywikipedia-bugs@lists.wiki |ricordisamoa@openmailbox.or |media.org |g
pywikipedia-bugs@lists.wikimedia.org