Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-23-2016, 06:07 AM   #1
Ababakar
Member
Ababakar began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Aug 2011
Device: none
Problems installing Linux Version

Hi there,

i just tried to install Calibre on a Ubuntu/Linux PC - but get an error when I want to download:

Code:
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()"
Leads to:
Code:
2016-09-23 11:55:29 URL:https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py [26007/26007] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 673, in main
  File "<string>", line 658, in run_installer
  File "<string>", line 630, in download_and_extract
  File "<string>", line 622, in get_tarball_info
  File "<string>", line 586, in get_https_resource_securely
  File "/usr/lib/python2.7/httplib.py", line 1270, in connect
    HTTPConnection.connect(self)
  File "/usr/lib/python2.7/httplib.py", line 836, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 575, in create_connection
    raise err
socket.error: [Errno 101] Network is unreachable
I tried this in the last 3 days - because i thought the network/download page simply is down/unreachable.

But I still get the error.
Anyone got a hint or experienced the same problem?
Ababakar is offline   Reply With Quote
Old 09-23-2016, 06:57 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,354
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a network issue. Check that you dont have a http proxy environment variable setup. And check that you can reach https://download.calibre-ebook.com using a browser. If you can, then you can always follow the manual download and install instructions on the download page.
kovidgoyal is online now   Reply With Quote
Advert
Old 09-23-2016, 07:29 AM   #3
F. Yew
Junior Member
F. Yew began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2016
Device: Debian Linux System
Nope - it's NOT a network problem.

I'm having exactly the same problem, and the ONLY application this is affecting is Calibre.

I have run full network troubleshooting on the whole system, and this seems to be a problem with the Calibre installer, and ONLY the Calibre installer.

Prior to this, the installer was also freezing up and throwing errors, saying that the PyQt4.qt module couldn't be found.

All of this began *immediately* after installing the latest update, 2.68, one day ago.

I have PyQt5.qt and pyQt4.qt both installed - there should be no conflict between them - and have gone backwards and tried deleting the full Calibre installation and re-installing from a clean system.

It was after i tried re-installing from a clean system that the installer started throwing the "network error" message.

ALL of these problems have emerged since the latest update. Nothing has changed on my system since attempting to update Calibre.
F. Yew is offline   Reply With Quote
Old 09-23-2016, 07:53 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,354
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Since there were no changes whatsoever, to the installer or calibre's networking code in the previous release, that cannot be. Feel free to downgrade to the previous release if you dont want to listen to me. And your PyQt4 errors come from the bbcgf_ebook third party plugin you have installed in calibre, which does not have anything to do with the OP's issue. Kindly stick to posting in the bug report you already opened and dont confuse this thread with irrelevant information.
kovidgoyal is online now   Reply With Quote
Old 09-23-2016, 10:41 AM   #5
Ababakar
Member
Ababakar began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Aug 2011
Device: none
I don't know if you changed something - but now it works.

The only thing I did, was click on the download link you posted and started the linux64 download.

Just to give it a try I used the terminal again while the download went on: and this time the download started. Maybe a coincidence - anyway it looks like just a temporary thing (solution two is that i triggered something by opening the download link - but guess i am no expert on that).

Its up and working now. thank you.
Ababakar is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Calibre on Headless Linux dchagnon Devices 3 12-17-2013 04:18 PM
[Old Thread] Problem installing on Ubuntu Linux bgcamroux Calibre 6 05-23-2012 02:30 AM
Installing Calibre in Arch Linux jatz Calibre 0 03-23-2010 01:41 PM
Linux version of Calibre, problems with Meta Data Nirf Calibre 6 04-24-2009 10:59 AM
Problems installing Version: 0.4.109 on Ubuntu Server 8.10 machalla Calibre 0 12-03-2008 09:23 PM


All times are GMT -4. The time now is 10:35 AM.


MobileRead.com is a privately owned, operated and funded community.