You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
error: can't copy 'languages/lt/nicotine.mo': doesn't exist or not a regular file
And for some reason it thinks it's on windows? /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'windows'
What could I be doing wrong?
The text was updated successfully, but these errors were encountered:
pon 01:00 Translation for 'sl' not found, falling back to english
pon 01:00 Cannot set the locale: unsupported locale setting, falling back to
Traceback (most recent call last):
File "/usr/bin/nicotine.py", line 36, in <module>
File "/usr/lib/python2.7/site-packages/pynicotine/utils.py", line 174, in ApplyTranslation
File "/usr/lib/python2.7/site-packages/pynicotine/libi18n.py", line 158, in SetLocaleEnv
File "/usr/lib/python2.7/locale.py", line 581, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
It builds fine, but fails to start with this error?
Great to know i've fixed the first problem.
I've tried too reproduce this problem on a ubuntu VM install in the 'sl' lang but i can't reproduce the error.
Can you post me the return of a locale -a command from a terminal ?
It appears nicotine failed to start because it was trying to fallback to English and I didn't have it enabled. So after editing /etc/locale.gen , enabling English and re-generating the locales, nicotine starts now. ;-)
@mmetak : That's what i was suspecting :)
In distro like arch or gentoo, since people can do almost anything (which is great btw) and are asked to configure their locales by hand this can happen. I need to take care of that.
At this time if i don't find translation for your current locale I try setting the locale to en_US.UTF-8 and if this fails too, as a last resort i'm trying to set the locale to C.UTF-8.
I think both of them were failing/missing in your case.
I've tested a few more things and I think the best course of action is to not even try to change the locales if there's no translation for your language. Gettext will not translate and stay in English, Glade will fallback to C as I've seen.
If i see any other bug report like yours that's what i will do.
* test instantiating a SlskProtoThread
* added recording of login process
* added recording of search process
* subdirectory structure for multiple tasks
* Test for various function calls in SlskProtoThread.run()
* load saved socket traffic, but don't do anything with it yet
* added test that FileSearch objects are encoded correctly
* rebased on branch python3