View Single Post
Old 09-18-2012, 06:35 AM   #54
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by kovidgoyal View Post
@dwannthny: I looked at the long filename issue, and I think I have it fixed for adding books from the device to calibre, however, for reading metadata I'm going to need some more info from you, as I dont really see why the long filename should matter for reading metadata and I cannot reproduce with my device.

Could you do the following:

6) After calibre has finished scanning the device, quit calibre and post the debug log
Here you go.

The odd duck with ValueError: No ebook found in ZIP archive as the error is actually on a book that opens fine.

Spoiler:
Code:
calibre Debug log
calibre 0.8.69
Windows-7-6.1.7601-SP1
Windows
('Windows', '7', '6.1.7601')
Python 2.7.3
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Starting up...
Started up in 12.07 seconds with 9566 books
SMART_DEV (   0.01:  0.013) startup_on_demand All IP addresses {'{E29AC6C2-7037-11DE-816D-806E6F6E6963}': [{'broadcast': '127.255.255.255', 'netmask': '255.0.0.0', 'addr': '127.0.0.1'}], '{8984971B-C44F-4FCF-BBB1-1A2D3B91E461}': [{'broadcast': '10.80.201.255', 'netmask': '255.255.254.0', 'addr': '10.80.201.136'}]}
SMART_DEV (   0.10:  0.002) _attach_to_port try ip address "" on port 14137
SMART_DEV (   0.93:  0.803) startup_on_demand listening on port 14137
SMART_DEV (   0.96:  0.001) _attach_to_port try ip address "" on port 54982
SMART_DEV (   1.01:  0.020) _attach_to_port socket error on port 54982
SMART_DEV (   1.05:  0.000) _attach_to_port try ip address "" on port 48123
SMART_DEV (   1.08:  0.000) startup_on_demand broadcast socket listening on port 48123
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Get list of books on device started
MTP: Loading filesystem metadata...
Job: 1 Get device information finished
No details available.

MTP: Read metadata for Internal storage/Books/Calibre_Companion/Kean, Sam/The Disappearing Spoon_ And Other True Tales of Madness, Love, and the History of the World from the Periodic Table of the Elements-Sam Kean.epub
Failed to read metadata from Internal storage/Books/Calibre_Companion/Kaufmann, Julie/The Ultimate Rice Cooker Cookbook_ 250 No-Fail Recipes for Pilafs, Risottos, Polenta, Chilis, Soups, Porridges, Puddings and More, from Start to Finish in Your Rice Cooker-Beth Hensperger & Julie Kaufmann.epub
Traceback (most recent call last):
  File "site-packages\calibre\devices\mtp\driver.py", line 194, in books
  File "site-packages\calibre\devices\mtp\driver.py", line 219, in read_file_metadata
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 33, in check_thread
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 328, in get_mtp_file
TypeError: not all arguments converted during string formatting


MTP: Read metadata for Internal storage/Books/Calibre_Companion/Davidson, Diane Mott/Goldy Culinary Mysteries-03.00-Cereal Murders-Diane Mott Davidson.epub
Failed to read metadata from Internal storage/Books/Calibre_Companion/David, Peter & Decandido, Keith R. A. & Golden, Chri& Carey, Diane & Wright, Susan & Greenberger, Robert/Star Trek_ Gateways-07.00-Whayond-Peter David & Keith R. A. Decandido & Christie Golden & Diane Carey & Susan Wright & Robert Greenberger.epub
Traceback (most recent call last):
  File "site-packages\calibre\devices\mtp\driver.py", line 194, in books
  File "site-packages\calibre\devices\mtp\driver.py", line 219, in read_file_metadata
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 33, in check_thread
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 328, in get_mtp_file
TypeError: not all arguments converted during string formatting


MTP: Read metadata for Internal storage/Books/Calibre_Companion/GOLDEN, CHRISTOPHER/The Lost Slayer-02.00-The Dark Times-Christopher Golden.epub
Failed to read metadata from Internal storage/Books/Calibre_Companion/Governo, Edgar & Seidman, Brian & Foster, Aimee Ford & Johnson, Jim & Smith, Dean/Star Trek_ Strange New Worlds-10.00-Strange New Worlds X-Edgar Governo & Brian Seidman & Aimee Ford Foster & Jim Johnson & Dean Smith.epub
Traceback (most recent call last):
  File "site-packages\calibre\devices\mtp\driver.py", line 194, in books
  File "site-packages\calibre\devices\mtp\driver.py", line 219, in read_file_metadata
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 33, in check_thread
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 328, in get_mtp_file
TypeError: not all arguments converted during string formatting


MTP: Read metadata for Internal storage/Books/Calibre_Companion/Duane, Diane/Star Trek_ Rihannsu-02.00-The Romulan Way-Diane Duane & Peter Morwood.epub
Traceback (most recent call last):
  File "site-packages\calibre\customize\ui.py", line 312, in get_file_type_metadata
  File "site-packages\calibre\customize\builtins.py", line 415, in get_metadata
  File "site-packages\calibre\ebooks\metadata\zip.py", line 40, in get_metadata
ValueError: No ebook found in ZIP archive


MTP: Read metadata for Internal storage/Books/Calibre_Companion/Various/Pulp Magazine Samplers-05.00-Thrilling Detective Sampler 3-Joe Archibald & John L. Benton & Benton Braden & Ted Coughlan & J. S. Endicott & Frank Johnson & C. S. Montanye & Edward Ronns & Hal K. Wells.epub
Failed to read metadata from Internal storage/Books/Calibre_Companion/Various/Pulp Magazine Samplers-04.00-Thrilling Detective Sampler 2-Joe Archibald & Benton Braden & Arthur J. Burks & Fenton W. Earnshaw & Frank Johnson & Sam Jr. Merwin & C. S. Montanye & Edward Ronns & Paul Roycroft & Edward S. Sullivan.epub
Traceback (most recent call last):
  File "site-packages\calibre\devices\mtp\driver.py", line 194, in books
  File "site-packages\calibre\devices\mtp\driver.py", line 219, in read_file_metadata
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 33, in check_thread
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 328, in get_mtp_file
TypeError: not all arguments converted during string formatting


MTP: Read metadata for Internal storage/Books/Calibre_Companion/Various/Star Trek_ Typhon Pact-02.00-Seize the Fire-Michael A. Martin.epub
Failed to read metadata from Internal storage/Books/Calibre_Companion/Vaus/Pulp Magazine Samplers-01.00-Mammoth Detective Sampler-G.T. Fleming-Roberts & Thomas Thursday & Dale Clark & Leroyn & Berna Morris & Merle Constiner & William Lawrence Hamling & Leonard Finley Hilts & George B. Anderson & Paul W. Fairman.epub
Traceback (most recent call last):
  File "site-packages\calibre\devices\mtp\driver.py", line 194, in books
  File "site-packages\calibre\devices\mtp\driver.py", line 219, in read_file_metadata
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 33, in check_thread
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 328, in get_mtp_file
TypeError: not all arguments converted during string formatting


MTP: Read metadata for Internal storage/Books/Calibre_Companion/Various/Star Trek_ Typhon Pact-04.00-Paths of Disharmony-Dayton Ward.epub
Failed to read metadata from Internal storage/Books/Calibre_Companion/Varous/Pulp Magazine Samplers-18.00-Secret Agent Sampler-Richard B. Sale & Anthony Clememan A. Daniels & Emile C. Tepperman & Richard L. Hobart & Vaughn Bryant & David X. Manners & James Perley Hughes & Maitland Scott & Charles Marquis Warren.epub
Traceback (most recent call last):
  File "site-packages\calibre\devices\mtp\driver.py", line 194, in books
  File "site-packages\calibre\devices\mtp\driver.py", line 219, in read_file_metadata
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 33, in check_thread
  File "site-packages\calibre\devices\mtp\windows\driver.py", line 328, in get_mtp_file
TypeError: not all arguments converted during string formatting
DoctorOhh is online now