xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 44 forks source link

XBian-Config selecting Language appends "^M" in guisettings.xml #452

Closed Flos closed 11 years ago

Flos commented 11 years ago

I tried to set the language "German" within the XBian-Config after a clean install form XBian image 1.1 Beta with the current Frodo nightly. (As described in ticket #380 ).

xbmc was not starting so I looked in the log msg:

ERROR: unable to load special://xbmc/language/German^M/langinfo.xml: Failed to open file at line 0

I found this text in the guisettings.xml: German^M

there is probably a typo in the XBian-config script for the language selection

mk01 commented 11 years ago

can you please run

sudo sed -i 's/\r//g' /usr/local/include/xbian-config/config/languages.new

then rerun the language setting in xbian-config and recheck?

Flos commented 11 years ago

I already updated to the latest Beta2. So I dont know your command fixed it or it was already fixed. after running

sudo sed -i 's/\r//g' /usr/local/include/xbian-config/config/languages

(/usr/local/include/xbian-config/config/languages.new -> dosen't exist

i cant reproduce it

mk01 commented 11 years ago

.new was typo, the right command was

sudo sed -i 's/\r//g' /usr/local/include/xbian-config/config/languages

yes, in beta2 it is fixed