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)