05-25-2017, 10:10 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2017
Device: amazon paperwhite
|
Cannot run calibre-debug -g
unknown locale: UTF-8`
Hello. I have managed to successfully install Calibre on my RMBP in the normal dmg way. When I try to run the commands 'calibre-debug -g', I get the output: `ValueError: unknown locale: UTF-8` https://pastebin.com/przZsvdg If anyone can help point me in the right direction so that I can continue to figure out how to be involved in Calibre development. thanks. |
05-25-2017, 10:46 PM | #2 |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
What is a RMBP?
What operating system are you using? bernie |
05-25-2017, 11:19 PM | #3 |
null operator (he/him)
Posts: 20,553
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
05-25-2017, 11:23 PM | #4 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It looks like one of your locale related environment variables is set incorrectly. Try running it with
LANG=en_US.UTF-8 calibre-debug -g |
05-26-2017, 04:33 AM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2017
Device: amazon paperwhite
|
|
05-26-2017, 04:41 AM | #6 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Probably you also need to set LC_ALL, see for example https://stackoverflow.com/questions/...o-utf8-how-fix
|
05-26-2017, 06:10 AM | #7 | |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2017
Device: amazon paperwhite
|
Quote:
```bash export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 ``` It worked well. thanks, really. And I can't figure out how this things get work, In the same OS, I can run calibre without add anything to my config, How? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best way to debug Calibre crash? | DMcCunney | Devices | 8 | 05-14-2017 09:23 PM |
Run Calibre in Debug Mode Output to File | toomuchreading | Calibre | 1 | 03-07-2016 04:58 PM |
Ctrl-Shft-R Debug vs calibre-debug -g | JimmXinu | Development | 3 | 11-20-2014 09:57 AM |
Preferences > Run in Debug Removed? | JimmXinu | Plugins | 3 | 09-07-2014 03:38 PM |
Calibre debug file | meme | Calibre | 7 | 02-01-2011 04:45 PM |