Booktype manual installation failure at ebooklib.git
  • Hi there,

    I've not been able to get the automated installation of
    Booktype to work on Ubuntu-14.04 so I switched to following the manual
    instructions at:
    http://sourcefabric.booktype.pro/booktype-20-for-authors-and-publishers/_draft/_v/1.0/installation-on-gnulinux/

    These fail at the line:
    sudo pip install -r /usr/local/src/booktype/requirements/dev.txt

    which fails with the console error:

      Downloading Python-OOXML-0.12.tar.gz
      Running setup.py (path:/tmp/pip-build-qKRx1a/python-ooxml/setup.py) egg_info for package python-ooxml
       
    Requirement
    already satisfied (use --upgrade to upgrade): requests in
    /usr/lib/python2.7/dist-packages (from -r
    /usr/local/src/booktype/requirements/_base.txt (line 12))
    Obtaining
    EbookLib from git+git://github.com/aerkalov/ebooklib.git#egg=EbookLib
    (from -r /usr/local/src/booktype/requirements/_base.txt (line 13))
      Cloning git://github.com/aerkalov/ebooklib.git to ./src/ebooklib
    fatal: unable to connect to github.com:
    github.com[0: 192.30.252.130]: errno=Connection refused

      Complete output from command /usr/bin/git clone -q git://github.com/aerkalov/ebooklib.git /home/ubuntu-mate/src/ebooklib:
     
    ----------------------------------------
    Cleaning up...
    Command
    /usr/bin/git clone -q git://github.com/aerkalov/ebooklib.git
    /home/ubuntu-mate/src/ebooklib failed with error code 128 in None
    Storing debug log for failure in /home/ubuntu-mate/.pip/pip.log

    The relevant part of /home/ubuntu-mate/.pip/pip.log says:

      Running command /usr/bin/git clone -q git://github.com/aerkalov/ebooklib.git /home/ubuntu-mate/src/ebooklib
      Complete output from command /usr/bin/git clone -q git://github.com/aerkalov/ebooklib.git /home/ubuntu-mate/src/ebooklib:
     
    ----------------------------------------
    Cleaning up...
    Command
    /usr/bin/git clone -q git://github.com/aerkalov/ebooklib.git
    /home/ubuntu-mate/src/ebooklib failed with error code 128 in None
    Exception information:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
        status = self.run(options, args)
      File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 304, in run
        requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
      File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1141, in prepare_files
        req_to_install.update_editable(not self.is_download)
      File "/usr/lib/python2.7/dist-packages/pip/req.py", line 484, in update_editable
        vcs_backend.obtain(self.source_dir)
      File "/usr/lib/python2.7/dist-packages/pip/vcs/git.py", line 111, in obtain
        call_subprocess([self.cmd, 'clone', '-q', url, dest])
      File "/usr/lib/python2.7/dist-packages/pip/util.py", line 716, in call_subprocess
        % (command_desc, proc.returncode, cwd))
    InstallationError:
    Command /usr/bin/git clone -q git://github.com/aerkalov/ebooklib.git
    /home/ubuntu-mate/src/ebooklib failed with error code 128 in None

    I see similar if I go on to the next line in the manual installation instructions:
    sudo pip install -r /usr/local/src/booktype/requirements/prod.txt

    Any thoughts on how to move on from here?

    Thanks!

    Lee
  • 1 Comment sorted by
  • I should add that this looks like a connection-to-GitHub error but my computer is perfectly able to connect to GitHub - at least over port 80 via the browser.

    Lee