View Single Post
Old 11-08-2014, 09:47 PM   #97
AndrewG
Enthusiast
AndrewG began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2014
Location: Melbourne, Australia
Device: iPad using Marvin
Test of new pylon.zip

Hi ShellShock,

I think we can call this a partial success. I used Calibre 2.8.0 and your beta dlls and new pylib.zip. To summarise:

The process of copying books to Marvin stuck frequently at an exact multiple of 100 books, just when IOSRA should have been staging the next hundred.

Then there was one case where the "On Device" column on Calibre disappeared when the connection failed.

There was a new TypeError message.

I got malformed db messages associated with failure to send metadata to the device, but these did not prevent me transferring more books.

Finally a TypeError message was followed, after restart, by a fatal Malformed Db message and all further transfers became impossible.

Now blow by blow with logs:

I started trying to transfer the 400 largest books. The transfer stuck at 200 books, showing 200 of 400 staged. Log is tmp4u73g5.

After restarting I successfully transferred 200 books then tried 1098. This stuck at 700 books. Log is tmptrtadb.

After restarting I transferred 398 books successfully but then the "on device" column disappeared from Calibre and it became unresponsive. Log is tmprlxru2.

A restart yielded the type error message:

calibre 2.8 [64bit] isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.8
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Marvin XD && iOS reader applications
Traceback (most recent call last):
File "calibre_plugins.marvin_manager.action", line 1842, in on_device_connection_changed
File "libimobiledevice.py", line 365, in exists
File "libimobiledevice.py", line 1061, in _afc_get_file_info
TypeError: byref() argument must be a ctypes instance, not 'NoneType'

but Calibre continued to function and I attempted to transfer another 1500 books. This time it stuck at 900 books. Log is tmp_hqd80.

Another restart was followed by the successful transfer of 600 books and then the program sticking again. Log is tmptzswi5.

Another restart, 700 books transferred out of 1500, another stuck program. Log is tmptmj5dw.

After restart 800 books transferred but then I received, at the sending metadata stage, a Malformed Db message:

database disk image is malformed

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "site-packages\calibre\gui2\device.py", line 532, in _sync_booklists
File "C:\Users\Andrew\AppData\Local\Temp\calibre_bpv2hl \fa0znv_ios_local_db\Marvin_overlays.py", line 1009, in sync_booklists
File "C:\Users\Andrew\AppData\Local\Temp\calibre_bpv2hl \fa0znv_ios_local_db\Marvin_overlays.py", line 2109, in _profile_db
DatabaseError: database disk image is malformed

Oddly enough the transfer process continued to work and I transferred first 1 book, then 499, each time getting the malformed db message at the sending metadata stage. I tried sending 1000 books and it stuck at 800. The log is tmpjuchga.

Another restart gave me the type error message again.

A final restart gave me this malformed db message:

calibre, version 2.8.0
ERROR: Error: Error communicating with device

database disk image is malformed

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "site-packages\calibre\gui2\device.py", line 502, in _books
File "C:\Users\Andrew\AppData\Local\Temp\calibre_lpf4iv \8fnwgu_ios_local_db\Marvin_overlays.py", line 285, in books
File "C:\Users\Andrew\AppData\Local\Temp\calibre_lpf4iv \8fnwgu_ios_local_db\Marvin_overlays.py", line 2352, in _restore_from_snapshot
File "C:\Users\Andrew\AppData\Local\Temp\calibre_lpf4iv \8fnwgu_ios_local_db\Marvin_overlays.py", line 2328, in _validate_mainDb_profile
File "C:\Users\Andrew\AppData\Local\Temp\calibre_lpf4iv \8fnwgu_ios_local_db\Marvin_overlays.py", line 1579, in _compare_mainDb_profiles
File "C:\Users\Andrew\AppData\Local\Temp\calibre_lpf4iv \8fnwgu_ios_local_db\Marvin_overlays.py", line 2109, in _profile_db
DatabaseError: database disk image is malformed

The final log is tmpzzbsvx.

All the best.
Attached Files
File Type: zip Debug logs.zip (1.88 MB, 315 views)
AndrewG is offline   Reply With Quote