View Single Post
Old 10-27-2014, 02:58 PM   #232
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
Many thanks MSWallack; I have tried those dlls and they give the following error when initialising the IOS reader plugin:

Spoiler:
calibre, version 2.7.0
ERROR: Unhandled exception: <b>InvalidPlugin</b>:Initialisation of plug-in 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 892, in initialize
File "site-packages\calibre\devices\idevice\libimobiledevice. py", line 205, in __init__
File "site-packages\calibre\devices\idevice\libimobiledevice. py", line 462, in load_library
File "ctypes\__init__.py", line 443, in LoadLibrary
File "ctypes\__init__.py", line 365, in __init__
WindowsError: [Error 193] %1 is not a valid Win32 application
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 892, in initialize
File "site-packages\calibre\devices\idevice\libimobiledevice. py", line 205, in __init__
File "site-packages\calibre\devices\idevice\libimobiledevice. py", line 462, in load_library
File "ctypes\__init__.py", line 443, in LoadLibrary
File "ctypes\__init__.py", line 365, in __init__
WindowsError: [Error 193] %1 is not a valid Win32 application


calibre 2.7 [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 && Modify ePub && Open With && Marvin XD
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 316, in add_plugin
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: Initialisation of plug-in 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 892, in initialize
File "site-packages\calibre\devices\idevice\libimobiledevice. py", line 205, in __init__
File "site-packages\calibre\devices\idevice\libimobiledevice. py", line 462, in load_library
File "ctypes\__init__.py", line 443, in LoadLibrary
File "ctypes\__init__.py", line 365, in __init__
WindowsError: [Error 193] %1 is not a valid Win32 application
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 892, in initialize
File "site-packages\calibre\devices\idevice\libimobiledevice. py", line 205, in __init__
File "site-packages\calibre\devices\idevice\libimobiledevice. py", line 462, in load_library
File "ctypes\__init__.py", line 443, in LoadLibrary
File "ctypes\__init__.py", line 365, in __init__
WindowsError: [Error 193] %1 is not a valid Win32 application


This is a different error compared to using the dlls supplied with Calibre. I suspect your friend made the same mistake as me and has compiled the old version of the code that is compatible with IOS 7, and has accidentally introduced a bug somewhere (oops, easily done). When I followed Kovid's instructions with the IOS 7 compatible code, I eventually got a set of dlls that give me the same error as with the dlls supplied with Calibre (so I know my compilation has worked as far as it goes). This is the same error other people have reported in this thread and the Marvin XD thread:

Spoiler:
calibre, version 2.7.0
ERROR: Unhandled exception: <b>InvalidPlugin</b>:Initialisation of plug-in 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 910, in initialize
File "calibre_plugins.ios_reader_apps.__init__", line 1239, 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 910, in initialize
File "calibre_plugins.ios_reader_apps.__init__", line 1239, in _get_connected_device_info
InitialConnectionError: Unable to connect to iDevice


calibre 2.7 [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 && Modify ePub && Marvin XD && Open With
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 316, in add_plugin
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: Initialisation of plug-in 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 910, in initialize
File "calibre_plugins.ios_reader_apps.__init__", line 1239, 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 910, in initialize
File "calibre_plugins.ios_reader_apps.__init__", line 1239, in _get_connected_device_info
InitialConnectionError: Unable to connect to iDevice


What we need to do is re-port the latest Linux code to Windows, which I am currently working on; this Linux code is compatible with IOS 8. Problem is, I am currently getting 100s of compilation warnings because of the differences between Linux and Windows C++ compilers, so it is going to take some time to sort out. I am thinking of a different approach now - look at the version history for the Linux IOS 8 changes and just port those.
ShellShock is offline   Reply With Quote