Quote:
Originally Posted by therapon
Thanks, I uninstalled then reinstalled using the command you supplied. That seems to have fixed the issue.
Two questions:
1. I see the difference in the commands - "main=lambda:sys.stderr.write" vs "main=lambda x:sys.stderr.write". What is the significance of the change?
2. Will the supplied command for Binary Install on the calibre download page be changed? Or should I plan to keep using the one you supplied for updates?
|
Quote:
Originally Posted by eschwartz
A lambda creates an anonymous function, and needs to know how many arguments to consume in case the installation script fails to download.
It is the difference between printing:
Code:
2016-07-04 15:11:16 ERROR 404: Not Found.
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: <lambda>() takes 0 positional arguments but 1 was given
and:
Code:
2016-07-04 15:10:39 ERROR 404: Not Found.
Download failed
tl;dr How many arguments did you pass into:
main()
main('/opt')
main('/opt', True)
|
What eschwartz said about
lambda, the problem I suspect is not in the downloader but something to do with your system. I think your system was not parsing the main command correctly to put calibre in /opt. All we did was use the downloader that lets you change the directory calibre gets installed to. It is the second one listed under Notes on the calibre Linux page.
What version of Kubuntu are you using?
bernie
P.S.
Did calibre work?