Download from Kobo Library fails

Bug #1044557 reported by Roelof Beverdam on 2012-08-31
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
calibre
Undecided
John Schember

Bug Description

When attempting to download a book from Kobo through calibre, the signin succeeds and I can browse through and add books to my Library. But when I attempt to download a book, calibre first opens a dialog with caption "File is not a supported e-book format. Save to disk?" (I hope to have translated it correctly from my Dutch version) to save a file. When I change the file name from some cryptic codes to a more sensible name and click the Save button, a second, small calibre window appears:
Caption: "Download of e-book failed"
Text next to red cross: "Failed: downloading <filepath as entered>

Details, as copied to clipboard:

----

calibre, version 0.8.67 (win32, isfrozen: True)
Downloaden van e-book mislukt: Mislukt: C:/Documents and Settings/Roelof Beverdam/Bureaublad/Ebook1.epub aan het downloaden

Starting job: C:/Documents and Settings/Roelof Beverdam/Bureaublad/Ebook1.epub aan het downloaden
Job: "C:/Documents and Settings/Roelof Beverdam/Bureaublad/Ebook1.epub aan het downloaden" failed with error:
Traceback (most recent call last):
  File "site-packages\calibre\gui2\threaded_jobs.py", line 83, in start_work
  File "site-packages\calibre\gui2\ebook_download.py", line 30, in __call__
OSError: [Errno 22] Invalid argument

Called with args: (<calibre.gui2.ui.Main object at 0x040F2150>, u'C:\\DOCUME~1\\ROELOF~1\\LOCALS~1\\Temp\\calibre_0.8.67_tmp_ntasce\\ixd5vz.txt', u'http://acs4.shortcovers.com:8080/fulfillment/URLLink.acsm?action=enterorder&ordersource=Shortcovers&orderid=f710bf59-c605-49b4-a5d7-01fda561bdea&resid=urn:uuid:219a670e-d255-400d-88ce-67d6a9f472bd&gbauthdate=08/31/2012+09:12+UTC&dateval=1346447539&gblver=4&auth=c0f03f10e740cbd11593d209cd2eef5fe1f4029b', u'C:/Documents and Settings/Roelof Beverdam/Bureaublad/Ebook1.epub', u'C:/Documents and Settings/Roelof Beverdam/Bureaublad/Ebook1.epub', False, []) {u'notifications': <Queue.Queue instance at 0x08CF7A80>, u'abort': <threading._Event object at 0x049D3CD0>, u'log': <calibre.utils.logging.GUILog object at 0x049D3E50>}

----

Environment details:
Operating system = Windows XP, Service Pack 3 (Dutch) incl. latest updates
calibre = 0.8.66 and 0.8.67
Browser = Internet Explorer 8 (8.0.6001.18702) (Dutch) incl. latest updates

Changing the component for this bug.

 assignee user-none
 status triaged

Changed in calibre:
assignee: nobody → John Schember (user-none)
status: New → Triaged
drMerry (invullen) on 2012-09-16
tags: added: kobo-driver
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers