View Single Post
Old 10-19-2009, 05:02 PM   #10
booksonthemove
Connoisseur
booksonthemove began at the beginning.
 
Posts: 72
Karma: 16
Join Date: Sep 2009
Location: UK
Device: Sony PRS-600 with latest Calibre and Linux Ubuntu-9.10
Quote:
Originally Posted by kovidgoyal View Post
edit /opt/calibre/calibre (its a bash script) and see where the error is occurring
In between your last reply and this one, I became root and re-downloaded/reran the script. I made sure i was in bash before running it. It still completed with errors, here is the output:

Code:
# python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()"
Enter the installation directory for calibre [/opt]:
Will download and install calibre-0.6.18-x86_64.tar.bz2
                                                         Downloading calibre-0.6.18-x86_64.tar.bz2                                                          
100% [==================================================================================================================================================]
                                                                                                                                                            Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
        Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
        Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
        Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
        Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
        Symlinking /opt/calibre/pdfmanipulate to /usr/bin/pdfmanipulate
        Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
        Symlinking /opt/calibre/calibre to /usr/bin/calibre
        Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
        Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
        Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
        Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
        Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
        Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
        Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
        Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
        Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
        Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
        Symlinking /opt/calibre/librarything to /usr/bin/librarything
        Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
Setting up bash completion...

____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________
        Traceback (most recent call last):
          File "/home/kovid/work/calibre/src/calibre/linux.py", line 176, in setup_completion
        ImportError: cannot import name titles

Trying to setup udev rules...
Installing MAN pages...
        Installing MAN page for ebook-meta
        Installing MAN page for ebook-convert
        Installing MAN page for web2disk
        Installing MAN page for calibre-server
        Installing MAN page for lrf2lrs
        Installing MAN page for lrs2lrf
        Installing MAN page for librarything
        Installing MAN page for calibre-debug
        Installing MAN page for calibredb
        Installing MAN page for calibre-customize
        Installing MAN page for pdfmanipulate
        Installing MAN page for fetch-ebook-metadata
        Installing MAN page for calibre-smtp
Setting up desktop integration...
Traceback (most recent call last):
  File "/tmp/init.py", line 48, in <module>
  File "/home/kovid/work/calibre/src/calibre/linux.py", line 571, in main
  File "/home/kovid/work/calibre/src/calibre/linux.py", line 143, in __init__
OSError: [Errno 2] No such file or directory: '/root/.config/calibre'

Run "calibre" to start calibre
It seems to work - haven't really done much with it yet though.
booksonthemove is offline   Reply With Quote