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 11-26-2014, 09:55 PM   #316
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,176
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Mr. Goodbar View Post
I can't seem to get it to zip up correctly, but I think we've found the root issue of the connection issue, now we just need the plugin modified appropriately.
http://manual.calibre-ebook.com/crea...gins.html#id13

Quote:
You can quickly test changes to your plugin by using the following command line:
Code:
calibre-debug -s; calibre-customize -b /path/to/your/plugin/directory; calibre
This will shutdown a running calibre, wait for the shutdown to complete, then update your plugin in calibre and relaunch calibre.
This will zip your plug-in.

bernie
gbm is offline   Reply With Quote
Old 11-26-2014, 09:56 PM   #317
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)
What about
Code:
calibre-customize -b /path/to/plugin/folder/
Code:
  -b BUILD_PLUGIN, --build-plugin=BUILD_PLUGIN
                For plugin developers: Path to the directory where you
                are developing the plugin. This command will
                automatically zip up the plugin and update it in
                calibre.
EDIT: Beat to the draw.
eschwartz is offline   Reply With Quote
Advert
Old 11-26-2014, 10:29 PM   #318
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,650
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by gbm View Post
Thought I'd seen it somewhere, but I looked in the Commands section of manual

BR
BetterRed is offline   Reply With Quote
Old 11-28-2014, 01:43 AM   #319
witchkitten
Enthusiast
witchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of light
 
Posts: 46
Karma: 12026
Join Date: Jul 2013
Device: Nook Simple Touch
I'm having an issue installing the iOS Reader plugin for Calibre. When I try to install it I get the following error message:


calibre, version 2.12.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 712, in _install_clicked
File "site-packages/calibre/customize/ui.py", line 390, in add_plugin
File "site-packages/calibre/customize/ui.py", line 557, in initialize_plugin
InvalidPlugin: Initialization of plugin Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 551, in initialize_plugin
File "calibre_plugins.ios_reader_apps.__init__", line 892, in initialize
File "site-packages/calibre/devices/idevice/libimobiledevice.py", line 205, in __init__
File "site-packages/calibre/devices/idevice/libimobiledevice.py", line 451, in load_library
File "lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
File "lib/python2.7/ctypes/__init__.py", line 365, in __init__
OSError: dlopen(/Applications/calibre.app/Contents/Frameworks/libimobiledevice.4.dylib, 6): image not found
failed with traceback:
Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 551, in initialize_plugin
File "calibre_plugins.ios_reader_apps.__init__", line 892, in initialize
File "site-packages/calibre/devices/idevice/libimobiledevice.py", line 205, in __init__
File "site-packages/calibre/devices/idevice/libimobiledevice.py", line 451, in load_library
File "lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
File "lib/python2.7/ctypes/__init__.py", line 365, in __init__
OSError: dlopen(/Applications/calibre.app/Contents/Frameworks/libimobiledevice.4.dylib, 6): image not found

I had this plugin installed previously and it worked but this was several Calibre versions ago. Any help with installing this plugin would be greatly appreciated.
witchkitten is offline   Reply With Quote
Old 11-28-2014, 02:23 AM   #320
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)
This should fix it: https://github.com/kovidgoyal/calibr...384d23934eec63

I guess Kovid will respond, hopefully with fixed builds.
Seems libimobiledevice was only partly updated this release.

Last edited by eschwartz; 11-28-2014 at 02:27 AM.
eschwartz is offline   Reply With Quote
Advert
Old 11-28-2014, 02:27 AM   #321
witchkitten
Enthusiast
witchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of light
 
Posts: 46
Karma: 12026
Join Date: Jul 2013
Device: Nook Simple Touch
Quote:
Originally Posted by eschwartz View Post
This might fix it: https://github.com/kovidgoyal/calibr...384d23934eec63

I guess Kovid will respond, hopefully with fixed builds.
Thank you for the suggestion, but I'm not sure what to do with that code. Are there instructions somewhere? Thanks.
witchkitten is offline   Reply With Quote
Old 11-28-2014, 02:35 AM   #322
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 witchkitten View Post
Thank you for the suggestion, but I'm not sure what to do with that code. Are there instructions somewhere? Thanks.
That link is to the fix in the source code, you need do nothing with it.

At some point (soon) Kovid will undoubtedly post here and say, "the installer has been updated, please redownload and reinstall".
eschwartz is offline   Reply With Quote
Old 11-28-2014, 02:42 AM   #323
witchkitten
Enthusiast
witchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of light
 
Posts: 46
Karma: 12026
Join Date: Jul 2013
Device: Nook Simple Touch
Quote:
Originally Posted by eschwartz View Post
That link is to the fix in the source code, you need do nothing with it.

At some point (soon) Kovid will undoubtedly post here and say, "the installer has been updated, please redownload and reinstall".
Thanks for the explanation. I'll wait for the update and hopefully it will fix my issue.
witchkitten is offline   Reply With Quote
Old 11-28-2014, 02:45 AM   #324
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,240
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@witchkitten: That was my fault, re-download and re-install 2.12 and you should be fine. I forgot to update the library name in one place. I have uploaded a fixed build.
kovidgoyal is offline   Reply With Quote
Old 11-28-2014, 02:55 AM   #325
witchkitten
Enthusiast
witchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of lightwitchkitten is a glorious beacon of light
 
Posts: 46
Karma: 12026
Join Date: Jul 2013
Device: Nook Simple Touch
Quote:
Originally Posted by kovidgoyal View Post
@witchkitten: That was my fault, re-download and re-install 2.12 and you should be fine. I forgot to update the library name in one place. I have uploaded a fixed build.
Thanks. That fixed my issue with downloading the plugin but I'm getting another error message when I try to customize it:


calibre, version 2.12.0
ERROR: Unhandled exception: <b>ImportError</b>:cannot import name ConfigWidget

calibre 2.12 isfrozen: True is64bit: True
Darwin-12.5.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '12.5.0', 'Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64')
Python 2.7.8
OSX: ('10.8.5', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && Kindle and Mobipocket DeDRM && K4PC, K4Mac, Mobi DeDRM && iOS reader applications && Marvin XD && Ignoble Epub DeDRM
Traceback (most recent call last):
File "site-packages/calibre/gui2/preferences/plugins.py", line 292, in customize_plugin
File "site-packages/calibre/gui2/preferences/plugins.py", line 370, in modify_plugin
File "site-packages/calibre/customize/__init__.py", line 152, in do_user_config
File "calibre_plugins.ios_reader_apps.__init__", line 493, in config_widget
ImportError: cannot import name ConfigWidget


Again, any help would be appreciated.
witchkitten is offline   Reply With Quote
Old 11-28-2014, 02:13 PM   #326
Mr. Goodbar
Wizard
Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.
 
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
I've successfully modified the plugin to now work for the ipad air 2 wifi edition. I've tested it with 2.11 and it reads and writes to the ipad just fine, however the testing so far is limited. I would consider this a beta until the actual developer can fix the code officially, but i would be happy to share it directly with anyone who wants it to use at their own risk.

If anyone can get the BCD codes for the mini 3 versions and the gsm air 2 version I can apply those fixes as well. See my earlier post on how to determine the BCD code.
Mr. Goodbar is offline   Reply With Quote
Old 11-28-2014, 03:54 PM   #327
korbus
Junior Member
korbus is kind to children and small, furry animalskorbus is kind to children and small, furry animalskorbus is kind to children and small, furry animalskorbus is kind to children and small, furry animalskorbus is kind to children and small, furry animalskorbus is kind to children and small, furry animalskorbus is kind to children and small, furry animalskorbus is kind to children and small, furry animalskorbus is kind to children and small, furry animalskorbus is kind to children and small, furry animalskorbus is kind to children and small, furry animals
 
Posts: 4
Karma: 6746
Join Date: Nov 2014
Device: iPad Air 2, Kindle
Mr. Goodbar, as i own an iPad Air 2 cellular, i would be happy to provide the Bcd code, however you've only detailed the procedure to get it on a Mac, and i have a Windows 7-powered desktop.
If someone can instruct me as to how i can determine the code in an windows environment, i'll post it here as soon as possible.

L.E.

NVM, hopefully i've managed it, please check the attached screenshot, taken under Device Manager/Apple mobile device usb driver/Details/Hardware id. The code seems to be 504.
Attached Thumbnails
Click image for larger version

Name:	iPad Air 2 cell BCD code.PNG
Views:	318
Size:	124.9 KB
ID:	131709  

Last edited by korbus; 11-28-2014 at 04:13 PM.
korbus is offline   Reply With Quote
Old 11-28-2014, 03:56 PM   #328
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,176
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Mr. Goodbar View Post
I've successfully modified the plugin to now work for the ipad air 2 wifi edition. I've tested it with 2.11 and it reads and writes to the ipad just fine, however the testing so far is limited. I would consider this a beta until the actual developer can fix the code officially, but i would be happy to share it directly with anyone who wants it to use at their own risk.

If anyone can get the BCD codes for the mini 3 versions and the gsm air 2 version I can apply those fixes as well. See my earlier post on how to determine the BCD code.
See this post for Mini 3 BCD will be 408.

luck
bernie
gbm is offline   Reply With Quote
Old 11-28-2014, 04:14 PM   #329
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,176
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by korbus View Post
Mr. Goodbar, as i own an iPad Air 2 cellular, i would be happy to provide the Bcd code, however you've only detailed the procedure to get it on a Mac, and i have a Windows 7-powered desktop.
If someone can instruct me as to how i can determine the code in an windows environment, i'll post it here as soon as possible.
With calibre not running, plug in your Ipad and follow the instructions in this post for windows.

Or
http://manual.calibre-ebook.com/faq....ted-by-calibre
bernie

edit: found on your own good.

Last edited by gbm; 11-28-2014 at 04:16 PM.
gbm is offline   Reply With Quote
Old 11-28-2014, 04:30 PM   #330
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)
Hmm, GRiker added a commit to the plugin two weeks ago to add the iPad Air 2 (GSM) usb id. But the plugin wasn't updated, possibly he was waiting on the other IDs.
https://github.com/Philantrop/calibr...b692b19462ad00
eschwartz 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 03:40 PM.


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