[Issue 2449] New - wrong locale for hudson user on linux (.deb install)

View: New views
2 Messages — Rating Filter:   Alert me  

[Issue 2449] New - wrong locale for hudson user on linux (.deb install)

by francisdb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://hudson.dev.java.net/issues/show_bug.cgi?id=2449
                 Issue #|2449
                 Summary|wrong locale for hudson user on linux (.deb install)
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|other
             Assigned to|issues@hudson
             Reported by|francisdb






------- Additional comments from francisdb@... Wed Oct  8 11:36:15 +0000 2008 -------
The debian install creates a new user for hudson, but that user does not seem to
be getting a proper lang env variable declared.
This can be checked by going to the "system information" in "manage hudson"

most people would want this:
file.encoding: UTF-8

but I got:
file.encoding: ANSI_X3.4-1968

This was causing compile problems:
/var/lib/hudson/jobs/flicklib/workspace/src/main/java/com/flicklib/service/movie/porthu/PorthuFetcher.java:[97,57]
unmappable character for encoding ASCII

as a temp fix I created a .profile in /var/lib/hudson with this content:
export LC_ALL=en_US.UTF-8

Now hudson reports the correct value, the question is why is this .profile
needed? I suppose the setup of that user is incomplete? If there is no easy fix
it should be documented somewhere.

I'm using Ubuntu linux 8.04

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 2449] wrong locale for hudson user on linux (.deb install)

by francisdb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://hudson.dev.java.net/issues/show_bug.cgi?id=2449






------- Additional comments from francisdb@... Mon Oct 13 08:14:52 +0000 2008 -------
The fix above does not seem to work after a reboot, only when I restart the
service manually:
/etc/init.d/hudson restart

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...

LightInTheBox - Buy quality products at wholesale price!