Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 01-27-2015, 01:25 PM   #436
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
Mivo, the IOSRA plugin does not work wirelessly, you need to have your idevice plugged into a USB port on your laptop, and to be on the safe side, make sure any other idevices are powered off.
ShellShock is offline   Reply With Quote
Old 01-28-2015, 12:25 PM   #437
Nancybny
Member
Nancybny began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Apr 2014
Device: marvin on ipad
Hi,
Hoping someone can tell me what I need to do to fix this one - all was well 2 days ago, now this.
thanks in advance for your assistance!!
Nancy




calibre, version 2.17.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 503, in _books
File "/var/folders/pj/vwt9340n7hs2tf91c7zgt0280000gn/T/calibre_2.17.0_tmp_qSKjXT/oAvQY6_ios_local_db/Marvin_overlays.py", line 285, in books
File "/var/folders/pj/vwt9340n7hs2tf91c7zgt0280000gn/T/calibre_2.17.0_tmp_qSKjXT/oAvQY6_ios_local_db/Marvin_overlays.py", line 2352, in _restore_from_snapshot
File "/var/folders/pj/vwt9340n7hs2tf91c7zgt0280000gn/T/calibre_2.17.0_tmp_qSKjXT/oAvQY6_ios_local_db/Marvin_overlays.py", line 2324, in _validate_mainDb_profile
DatabaseError: database disk image is malformed
Nancybny is offline   Reply With Quote
Old 01-28-2015, 01:45 PM   #438
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
There are various sqlite databases on your idevice, created by Marvin and (I think) by IOSRA. The IOSRA plugin copies these databases to your PC so that it can interrogate it. The "database disk image is malformed" error occurs when the local copy is corrupt. From your call stack and the plugin code I can see that error should only occur when booklist caching is enabled in the IOSRA plugin. So I suggest you try turning it off: customise the IOSRA plugin in Calibre to turn off "Enable booklist caching on device".

PS: It could be you are short of disk space on your idevice, which I assume is where the cache is stored between sessions.

Last edited by ShellShock; 01-28-2015 at 01:48 PM.
ShellShock is offline   Reply With Quote
Old 01-28-2015, 03:04 PM   #439
Nancybny
Member
Nancybny began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Apr 2014
Device: marvin on ipad
I have a ton of room on the iPad, so I did as you suggested with the plugin and restarted Calibre - the first time it didn't work, but then I went into Marvin options and also reset the cache and restarted again... and voila! I really appreciate the assistance!!! Thanks so much
Nancybny is offline   Reply With Quote
Old 01-29-2015, 07:33 PM   #440
Mivo
Fanatic
Mivo ought to be getting tired of karma fortunes by now.Mivo ought to be getting tired of karma fortunes by now.Mivo ought to be getting tired of karma fortunes by now.Mivo ought to be getting tired of karma fortunes by now.Mivo ought to be getting tired of karma fortunes by now.Mivo ought to be getting tired of karma fortunes by now.Mivo ought to be getting tired of karma fortunes by now.Mivo ought to be getting tired of karma fortunes by now.Mivo ought to be getting tired of karma fortunes by now.Mivo ought to be getting tired of karma fortunes by now.Mivo ought to be getting tired of karma fortunes by now.
 
Mivo's Avatar
 
Posts: 556
Karma: 3531054
Join Date: Jul 2013
Location: Germany
Device: In use: Pocketbook InkPad 3, Kobo Glo, iPad Air 2
Quote:
Originally Posted by ShellShock View Post
Mivo, the IOSRA plugin does not work wirelessly, you need to have your idevice plugged into a USB port on your laptop, and to be on the safe side, make sure any other idevices are powered off.
Oh! I should probably have thought of that, thank you. I guess I'm fairly spoiled by Calibre Companion on Android.
Mivo is offline   Reply With Quote
Old 01-30-2015, 07:06 PM   #441
akita
Member
akita began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2015
Device: iPad mini retina
Quote:
Originally Posted by ShellShock View Post
@akita, in IOS 8, Apple changed the protocol used to communicate with idevices. This meant a lot of changes to the libimobiledevice library that IOSRA uses to talk to your idevice. libimobiledevice is bundled up with the Calibre install. Because you are using an old Calibre, its libimobiledevice is not compatible with IOS 8, so I think you are out of luck, unless you can use the latest version of Calibre (I don't enough about OSX and why you have to use an old Calibre with it).
arrgh. I'm stuck at older OSX (for those who want to know, i need iSync, and that was discontinued starting OSX 10.7.. so I'm stuck at 10.6.8), thus stuck at 1.48.

I guess I'll have to go all manual from now on. grrrr...

it's annoying since the current iOSra says it supports Calibre from 1.37 or so. they need to update that.
akita is offline   Reply With Quote
Old 02-01-2015, 07:12 AM   #442
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
The libimobiledevice library that the plugins use have a "feature" whereby idevices can also be detected via wifi as well as usb. This means that if you have an idevice on your wifi network, it may be detected too as well as the idevice connected via usb that you are trying to get Calibre to talk to. The plugins expect to only find one idevice, and get confused, e.g. the plugins fail to initialise. This is why I have previously advised powering off all idevices apart from the one you are trying to connect Calibre to via USB.

We have now put a small fix into the libimobiledevice code so it will no longer report WIFI detected idevices, so you can keep all your idevices on. You still should only have one connected via USB to your Calibre PC. This fix should be in the next Calibre release.
ShellShock is offline   Reply With Quote
Old 02-01-2015, 10:54 AM   #443
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by akita View Post
arrgh. I'm stuck at older OSX (for those who want to know, i need iSync, and that was discontinued starting OSX 10.7.. so I'm stuck at 10.6.8), thus stuck at 1.48.

I guess I'll have to go all manual from now on. grrrr...

it's annoying since the current iOSra says it supports Calibre from 1.37 or so. they need to update that.
The plugin is compatible and loads under older versions of calibre. Certain features like supporting new versions of iOS may require more recent versions of calibre.

There should probably be a large visible warning.

Last edited by eschwartz; 02-01-2015 at 10:56 AM.
eschwartz is offline   Reply With Quote
Old 02-06-2015, 12:34 PM   #444
micheler
Junior Member
micheler began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2015
Device: iPad mini
impossibile to install on calibre 2.18 / linux OpenSUSE 13.2

Hello,
I just updated calibre from 1.48 to 2.18 on an OpenSUSE 13.2 linux system, and the previously fully functional "iOS reader applications" plugin is no more installable (the cited BeautifulSoup module seems to be working if I import it during a normal python session).

Any hints?
Thanks,
Michele

Herebelow is the installation report:

Code:
calibre, version 2.18.0
ERROR: Install Plugin Failed: A problem occurred while installing this plugin. This plugin will now be uninstalled. Please post the error message in details below into the forum thread for this plugin and restart Calibre.

Traceback (most recent call last):
  File "/usr/lib64/calibre/calibre/gui2/dialogs/plugin_updater.py", line 711, in _install_clicked
    plugin = add_plugin(zip_path)
  File "/usr/lib64/calibre/calibre/customize/ui.py", line 388, in add_plugin
    plugin = load_plugin(path_to_zip_file)
  File "/usr/lib64/calibre/calibre/customize/ui.py", line 53, in load_plugin
    return loader.load(path_to_zip_file)
  File "/usr/lib64/calibre/calibre/customize/zipplugin.py", line 196, in load
    m = importlib.import_module(plugin_module)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib64/calibre/calibre/customize/zipplugin.py", line 178, in load_module
    exec compiled in mod.__dict__
  File "calibre_plugins.ios_reader_apps.__init__", line 31, in <module>
ImportError: No module named BeautifulSoup
micheler is offline   Reply With Quote
Old 02-06-2015, 01:59 PM   #445
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Try installing the binary distributed version of calibre from http://calibre-ebook.com/download_linux

Often linux distros make odd changes to their calibre builds, calibre officially supports the binary version only. (In fact, I wouldn't recommend using the distro calibre even on Arch Linux, but at least there it is really easy to roll your own. )

If you can duplicate the problem with the binary, then something is wrong.
eschwartz is offline   Reply With Quote
Old 02-07-2015, 05:42 AM   #446
micheler
Junior Member
micheler began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2015
Device: iPad mini
Thank you, reinstalling as you suggested fixed the problem.
By the way, in order to get the software working properly, I also needed to delete the previous
Code:
~/.config/calibre
folder to avoid problems with claims of missing libraries (Qt4).
Now the system is operational.

Thanks again
Michele
micheler is offline   Reply With Quote
Old 02-07-2015, 10:39 PM   #447
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Awesome!
eschwartz is offline   Reply With Quote
Old 02-08-2015, 01:52 PM   #448
akita
Member
akita began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2015
Device: iPad mini retina
Quote:
Originally Posted by ShellShock View Post
The libimobiledevice library that the plugins use have a "feature" whereby idevices can also be detected via wifi as well as usb. This means that if you have an idevice on your wifi network, it may be detected too as well as the idevice connected via usb that you are trying to get Calibre to talk to. The plugins expect to only find one idevice, and get confused, e.g. the plugins fail to initialise. This is why I have previously advised powering off all idevices apart from the one you are trying to connect Calibre to via USB.

We have now put a small fix into the libimobiledevice code so it will no longer report WIFI detected idevices, so you can keep all your idevices on. You still should only have one connected via USB to your Calibre PC. This fix should be in the next Calibre release.
This update did something. at least the iOSRA installs! and managed to install Marvin XD... but even with my iPad connected and set to "add books", connected to my MacBookPro via USB, Calibre won't access the iPad.

but seems like one step closer, as before I couldn't even load the plugin.
akita is offline   Reply With Quote
Old 02-08-2015, 02:15 PM   #449
akita
Member
akita began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2015
Device: iPad mini retina
Ok, I managed to install iOSRA into calibre 1.48. I restarted Calibre, and then configured it to access Marvin.

I also installed Marvin XD.

then I restarted Calibre. now every time I restart Calibre when the iPad is connected, I get the error message "Marvin XD require iOS reader installed". and sure enough when I check the plugin list, the IOSRA that I had just installed and configured has disappeared.

so, I unstalled Marvin XD, restart Calibre, re-install iOSRA.

restarted Calibre several times to verify that iOSRA is there.

then I quite Calibre, connected iPad via USB, restarted Calibre, set the iPad to connect to Calibre... and nothing happens. checking the plugin list again and sure enough, the plug in has deleted itself..

what's going on???
akita is offline   Reply With Quote
Old 02-08-2015, 04:28 PM   #450
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
These are all symptoms of the plugin either not detecting any idevices, or detecting more than one idevice. There could be several reasons for this. If you are trying to use Calibre 1.48 with IOS 8 then this is very likely to be the problem - as I explained before, old versions of Calibre do not support IOS 8.
ShellShock is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Device Plugin] iOS reader applications (closed) GRiker Plugins 182 06-15-2014 05:00 PM
iOS Reader Application Plugin Guinan Plugins 1 03-30-2014 08:18 PM
Getting Books onto your iOS device with iTunes kyteflyer Apple Devices 9 01-30-2013 02:50 PM
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod cryzed Plugins 7 10-28-2012 04:58 PM


All times are GMT -4. The time now is 05:56 AM.


MobileRead.com is a privately owned, operated and funded community.