View Single Post
Old 09-22-2011, 09:18 PM   #3
aruangra
Connoisseur
aruangra has learned how to read e-booksaruangra has learned how to read e-booksaruangra has learned how to read e-booksaruangra has learned how to read e-booksaruangra has learned how to read e-booksaruangra has learned how to read e-booksaruangra has learned how to read e-books
 
Posts: 83
Karma: 888
Join Date: May 2010
Device: Nook Touch, iPad1, iPad2, iPod Touch 4G, Pixel Qi
Quote:
Originally Posted by kovidgoyal View Post
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.
aruangra is offline   Reply With Quote