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 04-27-2015, 08:16 PM   #481
HowardBrazee
Zealot
HowardBrazee began at the beginning.
 
HowardBrazee's Avatar
 
Posts: 141
Karma: 10
Join Date: Oct 2010
Location: Lafayette, CO
Device: iPad
Quote:
Originally Posted by theducks View Post
You are 14 versions behind 2.26
But that may not be your only issue.

The latest Apple updates are causing problems
I upgraded. Now when I start Calibre, I get the initialization screen, and have to force kill Calibre after a while.
HowardBrazee is offline   Reply With Quote
Old 04-28-2015, 08:43 AM   #482
Wyndham
Connoisseur
Wyndham has a complete set of Star Wars action figures.Wyndham has a complete set of Star Wars action figures.Wyndham has a complete set of Star Wars action figures.
 
Wyndham's Avatar
 
Posts: 96
Karma: 250
Join Date: Mar 2011
Location: Cricklewood (London)
Device: iPad Air 2 (iOS 9), iPhone 6 (iOS 9)
Thank you all

I just wanted to express my appreciation for all the effort being put into calibre and its various plugins.

Thank you, thank you, thank you
Wyndham is offline   Reply With Quote
Advert
Old 04-30-2015, 11:17 AM   #483
ChaosForged
Member
ChaosForged began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Apr 2015
Device: iPad
Still working on this.

I just finished porting a bunch of changes from the main branch into the windows port, and will be testing again tonight.

Unfortunately its still enough of a black box to me that I'm forced to try things out in chunks, but I think I'm in the right area now at least.
ChaosForged is offline   Reply With Quote
Old 04-30-2015, 11:40 AM   #484
Philantrop
Addict
Philantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beauty
 
Philantrop's Avatar
 
Posts: 296
Karma: 32153
Join Date: Dec 2008
Device: Kindles (e-ink)
Quote:
Originally Posted by ChaosForged View Post
I just finished porting a bunch of changes from the main branch into the windows port, and will be testing again tonight.
If you're talking about the libimobiledevice stack of libraries: That's not the right approach. You should take the proper parts of the Windows port and add them to the primary repository's build system. The maintainers explicitly stated they'll gladly accept such patches.

That has already been done for libplist. Another good source of inspiration is libusb.

Apart from that, AFAICS, the necessary changes for iOS 8.3 support simply haven't been implemented yet by the libimobiledevice guys so there's nothing to port really.
Philantrop is offline   Reply With Quote
Old 04-30-2015, 12:31 PM   #485
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
I agree with Philantrop. I have updated my Windows port of libimobiledevice from the latest master at https://github.com/libimobiledevice. This port is the source that is currently used in Calibre (Windows). Debugging the result against Marvin on IOS 8.3 gives this:

Code:
DEBUG:   85.8 libiMobileDevice:_house_arrest_send_command(command=u'VendContainer' appid='com.appstafarian.Marvin') 
17:09:13 [0x1ca8] .\src\property_list_service.c:127 internal_plist_send(): sending 305 bytes
17:09:13 [0x1ca8] .\src\service.c:140 service_send(): sending 4 bytes
17:09:13 [0x1ca8] ->usbmuxd_send(2628)
17:09:13 [0x1ca8] <-usbmuxd_send(2628)
17:09:13 [0x1ca8] .\src\service.c:140 service_send(): sending 305 bytes
17:09:13 [0x1ca8] ->usbmuxd_send(2628)
17:09:13 [0x1ca8] <-usbmuxd_send(2628)
17:09:13 [0x1ca8] .\src\property_list_service.c:132 internal_plist_send(): sent 305 bytes
17:09:13 [0x1ca8] .\src\property_list_service.c:133 internal_plist_send(): printing 305 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Command</key>
	<string>VendContainer</string>
	<key>Identifier</key>
	<string>com.appstafarian.Marvin</string>
</dict>
</plist>
DEBUG:   85.8 libiMobileDevice:_house_arrest_get_result() 
17:09:13 [0x1ca8] ->usbmuxd_recv_timeout(2628, 4)
17:09:13 [0x1ca8] <-usbmuxd_recv_timeout(2628, 4)
17:09:13 [0x1ca8] .\src\property_list_service.c:191 internal_plist_receive_timeout(): initial read=4
17:09:13 [0x1ca8] .\src\property_list_service.c:200 internal_plist_receive_timeout(): 249 bytes following
17:09:13 [0x1ca8] ->usbmuxd_recv_timeout(2628, 249)
17:09:13 [0x1ca8] <-usbmuxd_recv_timeout(2628, 249)
17:09:13 [0x1ca8] .\src\property_list_service.c:213 internal_plist_receive_timeout(): received 249 bytes
17:09:13 [0x1ca8] .\src\property_list_service.c:239 internal_plist_receive_timeout(): printing 249 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Error</key>
	<string>InstallationLookupFailed</string>
</dict>
</plist>
DEBUG:   85.8             ERROR: InstallationLookupFailed
The InstallationLookupFailed error is an open issue on the libimobiledevice GitHub https://github.com/libimobiledevice/ifuse/issues/24. If this is ever fixed we can add the fix into the Calibre source.
ShellShock is offline   Reply With Quote
Advert
Old 04-30-2015, 12:40 PM   #486
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
Quote:
Originally Posted by Philantrop View Post
If you're talking about the libimobiledevice stack of libraries: That's not the right approach. You should take the proper parts of the Windows port and add them to the primary repository's build system. The maintainers explicitly stated they'll gladly accept such patches.
There may be a problem with that: the primary repository uses mingw for the Windows port, but Calibre builds its C/C++ libraries from source with Visual Studio 2008; Kovid has already said he does not want to mix mingw binaries with VS binaries within Calibre because of incompatible C runtimes. Thus, we have to port the primary repository to VS 2008 so it can be built into Calibre; currently Calibre is using my libimobiledevice port here: https://github.com/Polyfun (which does not work with IOS 8.3). I have locally updated my port to include the latest source from the master, but it still does not work with IOS 8.3 because of the InstallationLookupFailed error.
ShellShock is offline   Reply With Quote
Old 04-30-2015, 01:03 PM   #487
Philantrop
Addict
Philantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beautyPhilantrop does all things with Zen-like beauty
 
Philantrop's Avatar
 
Posts: 296
Karma: 32153
Join Date: Dec 2008
Device: Kindles (e-ink)
Quote:
Originally Posted by ShellShock View Post
There may be a problem with that: the primary repository uses mingw for the Windows port
It shouldn't be a great technical challenge to support both mingw *and* MSVC.

And, as I said, they're happy to accept such patches:

Quote:
Originally Posted by Martin Szulecki (primary libimobiledevice maintainer)
Contributions to add MSVC support are welcome to the project but
should integrate properly (other projects like libusb are a good
inspiration on how to do it).

So far only cross compilation with MinGW is the way we're supporting
and been compiling for Windows targets.
Philantrop is offline   Reply With Quote
Old 05-01-2015, 07:24 AM   #488
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
In calibre\src\calibre\devices\idevice\libimobiledevi ce.py, mount_ios_app, we have this:

Code:
self._house_arrest_send_command(command='VendContainer', appid=app_id)
I believe VendContainer access has been withdrawn by Apple in IOS 8.3. I have tried VendDocuments instead, and that still works, but I think this only gives access to the epubs in Marvin, and the IOSRA plugin can no longer access other files in Marvin that it needs, e.g., iOS reader applications\readers\Marvin_overlays.py, can_handle tries to access u'/Library/calibre/connected.xml', which errors with u'Permission denied (10)'.

So two options, neither of which may be feasible:
  • Rewrite IOSRA (and other Marvin plugins?) to work with just VendDocuments access. But presumably they absolutely need the Marvin sqllite database, which requires VendContainer.
  • Get the Marvin developer to put all the necessary files into the documents area in Marvin. Maybe unlikely.

This is looking less like a problem that can be fixed by changes to the libimobiledevice library, and more like changes are required to the plugins/Marvin.
ShellShock is offline   Reply With Quote
Old 05-01-2015, 10:26 PM   #489
AndrewG
Enthusiast
AndrewG began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2014
Location: Melbourne, Australia
Device: iPad using Marvin
ShellShock,

This GitHub thread (Cannot send VendDocuments command on HouseArrestClient #193) indicates that VendContainer appears to only work under iOS 8.3 for apps installed other than via the Apple App Store.

https://www.google.com.au/url?sa=t&r...92291466,d.cGU
AndrewG is offline   Reply With Quote
Old 05-02-2015, 02:39 AM   #490
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
Yes I saw that, and I have no idea if it is possible to install Marvin that way, or how to do it.

EDIT: I have checked out using AdHoc/XCode to install Marvin: this requires the target idevice uuids to be known to the (Marvin) developer so they can create a provisioning profile specific to those idevices. Not really practical for an app normally distributed through the app store, which is installed on arbitrary idevices where the developer does not know the uuids.

Last edited by ShellShock; 05-02-2015 at 04:03 AM.
ShellShock is offline   Reply With Quote
Old 05-10-2015, 03:51 AM   #491
Truong Mo
Junior Member
Truong Mo began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2015
Device: iPhone 4
calibre, version 1.47.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 "site-packages/calibre/gui2/dialogs/plugin_updater.py", line 713, in _install_clicked
File "site-packages/calibre/customize/ui.py", line 383, in add_plugin
File "site-packages/calibre/customize/ui.py", line 550, in initialize_plugin
InvalidPlugin: Initialization of plugin Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 544, in initialize_plugin
File "calibre_plugins.ios_reader_apps.__init__", line 916, in initialize
File "calibre_plugins.ios_reader_apps.__init__", line 1245, in _get_connected_device_info
InitialConnectionError: Unable to connect to iDevice
failed with traceback:
Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 544, in initialize_plugin
File "calibre_plugins.ios_reader_apps.__init__", line 916, in initialize
File "calibre_plugins.ios_reader_apps.__init__", line 1245, in _get_connected_device_info
InitialConnectionError: Unable to connect to iDevice

What's wrong?
Truong Mo is offline   Reply With Quote
Old 05-10-2015, 04:22 AM   #492
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
What version of IOS are you using? Please note that IOS 8.3 is not supported by the plugin. I also note from https://ipsw.me/all that Apple have stopped signing IOS 8.2 so it is no longer possible to downgrade 8.3 to 8.2. So, our options are:
  • If you are already on IOS 8.2 (or earlier), do not upgrade to IOS 8.3 and carry on using the IOSRA plugin (e.g., to connect to Marvin).
  • Or, if you are on IOS 8.2 and want to upgrade to 8.3, accept that you will no longer be able to use the IOSRA plugin.
  • Or, if you are already on IOS 8.3, then the IOSRA plugin will just not work.

This situation may change in the future if:
  • Apple relent, and decide to open up file access again in a later version of IOS (seems unlikely, but who knows?)
  • Or Marvin etc and the IOSRA plugin are rewritten to share files via the documents area, which is still open. Again seems unlikely--I am not aware of anyone working on this.
  • Or a jailbreak becomes available for IOS 8.3 (or a later version). The plugin should still work with jailbroken idevices, but there is no jailbreak (yet) for IOS 8.3. The rumour is that there may never be one, and the jailbreakers are holding off to jailbreak 8.4 when it comes out instead. Obviously it is a personal decision as to whether to jailbreak or not.

So this could be the end of the road for the IOSRA plugin.

Last edited by ShellShock; 05-10-2015 at 04:45 AM.
ShellShock is offline   Reply With Quote
Old 05-15-2015, 12:37 PM   #493
Beamis
Junior Member
Beamis began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2014
Device: ipad 3
Quote:
Originally Posted by ShellShock View Post
What version of IOS are you using? Please note that IOS 8.3 is not supported by the plugin. I also note from https://ipsw.me/all that Apple have stopped signing IOS 8.2 so it is no longer possible to downgrade 8.3 to 8.2. So, our options are:
  • If you are already on IOS 8.2 (or earlier), do not upgrade to IOS 8.3 and carry on using the IOSRA plugin (e.g., to connect to Marvin).
  • Or, if you are on IOS 8.2 and want to upgrade to 8.3, accept that you will no longer be able to use the IOSRA plugin.
  • Or, if you are already on IOS 8.3, then the IOSRA plugin will just not work.

This situation may change in the future if:
  • Apple relent, and decide to open up file access again in a later version of IOS (seems unlikely, but who knows?)
  • Or Marvin etc and the IOSRA plugin are rewritten to share files via the documents area, which is still open. Again seems unlikely--I am not aware of anyone working on this.
  • Or a jailbreak becomes available for IOS 8.3 (or a later version). The plugin should still work with jailbroken idevices, but there is no jailbreak (yet) for IOS 8.3. The rumour is that there may never be one, and the jailbreakers are holding off to jailbreak 8.4 when it comes out instead. Obviously it is a personal decision as to whether to jailbreak or not.

So this could be the end of the road for the IOSRA plugin.
And this is why I'm selling the iPad and buying an Android or Surface.

The Marvin developer hasn't done jack for a loooong time, in terms of enhancing the product. Marvin is an ok reader, but has long-standing, glaring holes (PDFs, page numbering). That, on top of Apple continuing to load up the device with closed-ecosystem security, enough's enough.
Beamis is offline   Reply With Quote
Old 05-15-2015, 01:52 PM   #494
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 Beamis View Post
And this is why I'm selling the iPad and buying an Android or Surface.
If you get an Android, be sure to check out chaley's excellent Calibre Companion. It interfaces wirelessly with calibre and has been written expressly for managing a calibre library synced to Android.
Excellent support, since chaley still occasionally codes on calibre itself!

You would still need another app to open and read a book, but CC makes an excellent library organizer.
eschwartz is offline   Reply With Quote
Old 05-17-2015, 11:47 PM   #495
truth1ness
Zealot
truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 126
Karma: 50000
Join Date: Mar 2015
Device: none
Darn it, I just completed moving all my ebooks into Calibre and was about to load up Marvin on my iPhone. So what are you guys doing to get books onto your idevice now? I just want to sync my top priority marked books to my iPhone. Just start manually dragging them to something like dropbox?
truth1ness 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 10:21 PM.


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