![]() |
#106 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
If at all possible you should get Marvin to make the copy for you, then upload that copy. That way Marvin could close the DB (which would apply all updates etc), copy the file, then re-open it. I don't know if you want to write the DB back to Marvin, but if you do then you should do the same thing in reverse: copy the file back to the iDevice then ask Marvin to replace its DB with the copy. |
|
![]() |
![]() |
![]() |
#107 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Thanks chaley, that is very helpful. I have 3 hypothesis:
I am going to pursue 1 for now. |
![]() |
![]() |
Advert | |
|
![]() |
#108 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@ShellShock: you might be able to "prove" #1 if you ask the testers to quit Marvin (really quit, not moving it to a background service or something like that) before connecting. I don't know if this is possible given how the plugins work, but if it is then you could remove Marvin having the DB open as one possible culprit.
|
![]() |
![]() |
![]() |
#109 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Actually, I think I have just proven #3:
Conclusion: there is a bug in the download of the database file so that it is not producing an accurate copy. I suspect the libimobiledevice library which I am supporting. Now I can repro the bug at will, I have a much better chance of fixing it. Edit: I can see from the log that libimobiledevice is only reading the first 4194304 bytes, which is 400000 in hex. What a nice round number that is! The rest of the file (up to the original size of the remote file) is null bytes. Ouch. Edit2: I think I know exactly where the bug is now, and have a pretty good idea how to fix it. But this will have to wait until tomorrow... Last edited by ShellShock; 11-11-2014 at 05:32 PM. |
![]() |
![]() |
![]() |
#110 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 343
Karma: 1010002
Join Date: Apr 2008
Location: London. UK
Device: Marvin Reader on iPad Air (via Calibre)
|
@Shellshock thanks for all your work on these issues. It is much appreciated!
|
![]() |
![]() |
Advert | |
|
![]() |
#111 |
Member
![]() Posts: 13
Karma: 20
Join Date: Oct 2014
Device: iPad Retina 4th gen + Marvin v2.8 & Calibre v2.9 on W7 64
|
Hey ShellShock!
Viewing your latest "Investigative Chapter" [#109] of "The Case of The 'Counterfeit' Mal-Formed Database'' reads like a good detective novel. Really appears you're on the right criminal's trail!! Thanks Again for your continued sleuthing!!! ![]() ![]() Last edited by stanhere; 11-12-2014 at 10:44 PM. |
![]() |
![]() |
![]() |
#112 |
Right, Except When Wrong
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 363
Karma: 4323767
Join Date: Aug 2007
Location: Indianapolis
Device: Kindle Oasis 3 (sometimes iPad Mini).
|
Let me echo the others who are thanking ShellShock for the work the fix this problem.
|
![]() |
![]() |
![]() |
#113 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Please note that the "database disk image is malformed" error should be fixed in tomorrow's Calibre release. The fix applies to all platforms Calibre supports. The bug occurred if your Marvin database on your IPad/IPhone exceeded 0x400000 bytes in size, e.g., when sending 1000s of books to the device. Thanks to AndrewG for testing the fix.
For Windows users, tomorrow's Calibre release does not include new libimobiledevice dlls with IOS 8 support (more time is required to integrate the Windows libimobiledevice library into the Calibre build). Please continue using the beta dlls in the first post of this thread. If you install tomorrow's Calibre release, and are already using the beta dlls, you will of course need to copy the beta dlls back into your Calibre installation, as explained in the first post. Last edited by ShellShock; 11-13-2014 at 01:55 PM. |
![]() |
![]() |
![]() |
#114 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19
Karma: 6256
Join Date: Nov 2014
Location: Byford, Western Australia
Device: IPad Pro 12.9, 10.5, IPhone SE
|
Thank you ShellShock for all the time spent solving this problem, it is very much appreciated.
|
![]() |
![]() |
![]() |
#115 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,196
Karma: 70314280
Join Date: Dec 2006
Location: Atlanta, GA
Device: iPad Pro, iPad mini, Kobo Aura, Amazon paperwhite, Sony PRS-T2
|
Quote:
|
|
![]() |
![]() |
![]() |
#116 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2013
Device: iPad
|
I can confirm that the new Calibre 2.10.0 64 bit with ShellShock's 64 bit DLL's are working perfectly with my iPad 3 device with a Marvin library of over 11.3K books.
Many thanks to Shellshock for the effort that went into finding this bug! |
![]() |
![]() |
![]() |
#117 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,196
Karma: 70314280
Join Date: Dec 2006
Location: Atlanta, GA
Device: iPad Pro, iPad mini, Kobo Aura, Amazon paperwhite, Sony PRS-T2
|
Just downloaded 2.10.0 on an iMac (Yosemite) and connected my iPad mini and ... (insert favored mad scientist cackle here) it's working, it's working! (insert favored version of Handel's Hallelujah Chorus here). Many, many thanks ShellShock! I predict that your karma value will soon put you in nirvana.
![]() |
![]() |
![]() |
![]() |
#118 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Sep 2014
Device: ipad 3
|
SUCCESS! with 2.10.0 and ShellShock's DLLs
Marvin again working seamlessly with Calibre under Windows 8.1
Many thanks to ShellShock and Kovid for working through this! ![]() |
![]() |
![]() |
![]() |
#119 |
Right, Except When Wrong
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 363
Karma: 4323767
Join Date: Aug 2007
Location: Indianapolis
Device: Kindle Oasis 3 (sometimes iPad Mini).
|
Sadly, though, those of us stuck using Calibre 1.48 (because of the need to remain on Windows XP) are apparently stuck. Sigh.
|
![]() |
![]() |
![]() |
#120 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Save to iOS quotebook app from Marvin | tsolignani | Marvin | 11 | 07-18-2024 03:48 PM |
One (really) last update for Marvin iOS 5 + iPad users | kguil | Marvin | 37 | 02-05-2015 04:50 AM |
Important: Marvin and iOS 8 | kguil | Marvin | 37 | 11-16-2014 04:15 AM |
Calibre to Dropbox to Marvin (while iOS problems continue) | MSWallack | Marvin | 7 | 10-27-2014 07:21 PM |
iPad users: Meet Marvin, an iOS ePub reader | GRiker | Devices | 4 | 06-20-2013 10:16 AM |