Save to disk, ValueError too many values to unpack

Bug #1405674 reported by Scott Bakker on 2014-12-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Calibre Portable 2.13 on Windows 8.1 x64

When selecting an ebook with no formats (metadata only), clicking "Save to Disk", "Save only AZW3 format to disk in single directory", selecting the directory, Calibre gives the following error:

ValueError: too many values to unpack

calibre, version 2.13.0
ERROR: Unhandled exception: <b>ValueError</b>:too many values to unpack

calibre 2.13 Portable isfrozen: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.8
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\save.py", line 104, in tick
  File "site-packages\calibre\gui2\save.py", line 313, in do_one_update
  File "site-packages\calibre\gui2\save.py", line 321, in updating_metadata_finished
  File "site-packages\calibre\gui2\save.py", line 371, in report
  File "site-packages\calibre\gui2\save.py", line 334, in format_report
  File "site-packages\calibre\gui2\save.py", line 334, in <setcomp>
ValueError: too many values to unpack

I got this while selecting all my ebooks, forgetting that some had no formats.

I seem to remember that a previous version used to list errors at the end, something like "The following had no AZW3 formats found".

Thanks for all your great work!

Scott

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers