![]() |
#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. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,188
Karma: 8888888
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 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
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 |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2017
Device: amazon paperwhite
|
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
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
|
![]() |
![]() |
![]() |
#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? ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |