Quote:
Originally Posted by Geremia
Wow, thanks for that, but I get this error:
Code:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 356, in main
File "<string>", line 192, in prints
TypeError: encode() argument 1 must be string, not None
|
Strangely, I still get this error with the new script. Here's my log for the cronjob:
Code:
2014-03-07 00:00:06 URL:https://raw.github.com/kovidgoyal/calibre/master/setup/linux-installer.py [24956/24956] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 637, in main
File "<string>", line 610, in download_and_extract
File "<string>", line 321, in download_tarball
File "<string>", line 259, in do_download
File "<string>", line 206, in prints
TypeError: encode() argument 1 must be string, not None
Is there something wrong with my Python?