View Single Post
Old 12-18-2014, 02:22 AM   #1
Fiat_Lux
Addict
Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.
 
Fiat_Lux's Avatar
 
Posts: 394
Karma: 6700000
Join Date: Jan 2012
Location: Gimel
Device: tablets
Upgrade wierdness

Not worth filing a bug report.

Xubuntu 14.10
Python 2.7.8
Python 3.4.2

Upon upgrading to Calibre 2.12.0 from Calibre 2.8.0.
Quote:
sudo -v && wget -nv -O- https://raw.githubusercontent.com/ko...x-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
That fails with an error message
Quote:
2014-12-18 07:16:47 URL:https://raw.githubusercontent.com/ko...x-installer.py [25789/25789] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 652, in main
File "<string>", line 624, in download_and_extract
File "<string>", line 616, in get_tarball_info
File "<string>", line 575, in get_https_resource_securely
File "<string>", line 479, in __init__
TypeError: __init__() got an unexpected keyword argument 'context'
The fix is to replace python with python3.

Quote:
sudo -v && wget -nv -O- https://raw.githubusercontent.com/ko...x-installer.py | sudo python3 -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
Fiat_Lux is offline   Reply With Quote