MovieGrabber - xml and discussion


Recommended Posts

hi eroz, had a quick scan around for you and found somebody specifying the following in their dockerfile when using the phusion base image:-

 

# Set correct environment variables.
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

# set sane locale
RUN locale-gen en_US.UTF-8

 

might be worth a go, i use something similar in my arch linux based dockerfiles.

Link to comment

hi eroz, had a quick scan around for you and found somebody specifying the following in their dockerfile when using the phusion base image:-

 

# Set correct environment variables.
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

# set sane locale
RUN locale-gen en_US.UTF-8

 

might be worth a go, i use something similar in my arch linux based dockerfiles.

Thanks binhex! I'll give that a try and add it to the docker. I was going crazy trying to figure it out since since Google kept saying it had to do with UTF-8 and I kept checking my dockerfile and it was set inside of it.
Link to comment

hehe, no probs, my heart sinks when i see encode/decode issues, especially in python, it's a bitch to sort out as python 2 defaults to ascii char set, python 3 is utf8 though by default so less chance of decode/encode issues, but what your seeing is def NOT related to python (my code) and is all to do with locale in the docker image :-), i hope it fixes it for you, if it does i strongly encourage you to nudge needo and check he is setting this and if not then i would advise he should set it in all his dockerfiles cos sooner or later there will be an app installed that requires it is set correctly.

Link to comment

hehe, no probs, my heart sinks when i see encode/decode issues, especially in python, it's a bitch to sort out as python 2 defaults to ascii char set, python 3 is utf8 though by default so less chance of decode/encode issues, but what your seeing is def NOT related to python (my code) and is all to do with locale in the docker image :-), i hope it fixes it for you, if it does i strongly encourage you to nudge needo and check he is setting this and if not then i would advise he should set it in all his dockerfiles cos sooner or later there will be an app installed that requires it is set correctly.

That did the trick. I'm now up and running!  Thanks binhex!
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.