View Single Post
Old 06-04-2014, 03:33 PM   #1
lenikadali
Junior Member
lenikadali began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2014
Device: acer 3744
Cannot run Calibre

Hello.

I have managed to successfully install Calibre on my 32-bit Kali Linux using the commands as provided on the Calibre site:

sudo -v && wget -nv -O-https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"

When I try to run the commands 'calibre' and 'calibre-debug', I get the output:

bash: calibre: command not found

It gives me the same thing when I try to run 'calibre-debug'. When I navigate to the /opt/calibre directory where the program was installed, the commands still do not work. It is only when I run them as './calibre' and './calibre-debug' that I get any response.

When I run './calibre' from within the /opt/calibre directory, I get the following output:
Traceback (most recent call last):
File "site.py", line 53, in main
File "site.py", line 14, in set_default_encoding
File "locale.py", line 511, in getdefaultlocale
File "locale.py", line 443, in _parse_localename
ValueError: unknown locale: en_ZM

And when I run './calibre-debug', I get the following output:
Traceback (most recent call last):
File "site.py", line 53, in main
File "site.py", line 14, in set_default_encoding
File "locale.py", line 511, in getdefaultlocale
File "locale.py", line 443, in _parse_localename
ValueError: unknown locale: en_ZM

If anyone can help point me in the right direction so that I get my Calibre working, I would be very grateful. I have Googled ad-infinitum, and none of the solutions seem to be clear enough to follow.

I'm an intermediate user of Linux and I am willing to edit whatever files, configure, compile etc. so that the program runs successfully as well as provide relevant information to aid in the troubleshooting.

Thanks in advance.
lenikadali is offline   Reply With Quote