Quote:
Originally Posted by kovidgoyal
Set the LANG environment variable correctly.
|
Thank you very much. I set the LANG environment variable using the command:
Code:
export LANG=en_US.UTF-8
Then I could get the epub file. calibredb also works
The last step is to run the content server. But I got this error:
Code:
root@localhost:/usr/share/calibre# calibre-server --with-library /usr/share/calibre/serve/
Traceback (most recent call last):
File "/usr/bin/calibre-server", line 18, in <module>
from calibre.library.server.main import main
File "/usr/lib/calibre/calibre/library/server/main.py", line 12, in <module>
from calibre.library.server.base import LibraryServer
File "/usr/lib/calibre/calibre/library/server/base.py", line 23, in <module>
from calibre.library.server.opds import OPDSServer
File "/usr/lib/calibre/calibre/library/server/opds.py", line 15, in <module>
import routes
ImportError: No module named routes
root@localhost:/usr/share/calibre#
Please advice. Thank you.