```
$ python pwb.py login -user:Dvorapa -family:i18n
WARNING: /home/pavel/pywikibot/pywikibot/site.py:770: UserWarning: Global configuration variable "mylang" changed to "i18n" while instantiating site i18n:i18n
% (self.__code, self), UserWarning)
WARNING: ./scripts/login.py:167: UserWarning: Site i18n:i18n instantiated using different code "cs"
site = pywikibot.Site()
Traceback (most recent call last):
File "/home/pavel/pywikibot/pywikibot/login.py", line 114, in __init__
self.username = self.username or family_usernames['*']
KeyError: '*'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "pwb.py", line 251, in <module>
if not main():
File "pwb.py", line 244, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "pwb.py", line 115, in run_python_file
main_mod.__dict__)
File "./scripts/login.py", line 196, in <module>
main()
File "./scripts/login.py", line 179, in main
site.login(sysop, autocreate=autocreate)
File "/home/pavel/pywikibot/pywikibot/site.py", line 2089, in login
user=self._username[sysop])
File "/home/pavel/pywikibot/pywikibot/tools/__init__.py", line 1446, in wrapper
return obj(*__args, **__kw)
File "/home/pavel/pywikibot/pywikibot/login.py", line 122, in __init__
'wiki_code': self.site.code})
pywikibot.exceptions.NoUsername: ERROR: Username for i18n:i18n is undefined.
If you have an account for that site, please add a line to user-config.py:
usernames['i18n']['i18n'] = 'myUsername'
<class 'pywikibot.exceptions.NoUsername'>
CRITICAL: Closing network session.
```