New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: unknown locale: UTF-8 #59
Comments
Settings
should fix that, you sure almir has access to those variables? |
Verify that works by doing:
|
tried the export LC_ALL and LANG settings and any other pytho/django tip I found on google.
I really can't remember what I did last time to get it started. Something really strange. Strike that, now I remember.
|
Ah, maybe supervisor is not letting those through. You are using the automatic deployment? |
Could you try to run snippet at the bottom of blog post to figure out if supervisor has locales set? http://albertoconnor.ca/blog/2012/Jul/21/unicodeencodeerror-when-uploading-files-django-usi |
Sorry it took me so long. This is what I have got cat var/log/locale-stdout---supervisor-vqDkOn.log This is on a fresh install from yesterday. After a reboot however it looks like this: UTF-8 This however gives me a new error:
and this is the logfile
If I kill supervisord and restart it manually I get the UTF8 error agains. LC_ALL=C /usr/bin/python2.7 /opt/almir/bin/supervisord The odd thing is, no matter what I do, after a reboot I get the "No such file or directory" I have to kill supervisord and restart it manually. |
This means |
not quite, bconsole is installed. and if I kill supervisord and restart it manually, everything works. Without any "No such file or directory" error. |
So the problem goes deeper, your shell environment is not passed in supervisor. What version are you using? |
I have this issue on every almir installation. I did solve it once, of course didn't write the solution down and I have no idea how to get almir starting again.
Logfile:
my locale settings
OS: Debian Squeeze (6.x)
The text was updated successfully, but these errors were encountered: