Open MLutt opened 4 years ago
It works flawlessly on Windows, by reading over the log section again it seems to try a bogus wine operation...?
Here's the problem: 0009:err:module:__wine_process_init L"C:\windows\system32\python.exe" not found
You do need to have Python and PyCrypto installed under Wine. But people still seem to have trouble anyway. Some have had success running the key script from the command line manually and importing the key into the plugin themselves. Something similar to what you see in the log:
Command line: 'wine python.exe "/home/markus/.config/calibre/plugins/DeDRM/libraryfiles/adobekey.py" "/home/markus/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir"'
I got it working by installing python 3.7.9 for 32 bit windows. Only install for the current user (not all users) and select the option to add path.
I couldn't get pycrypto to install, so I installed openssl (Win32OpenSSL-1_1_1L.exe) from https://slproweb.com/products/Win32OpenSSL.html
I had to manually update the windows PATH in order for the dedrm tools to be able to use openssl. I ran "wine regedit" and added "C:\Program Files\OpenSSL-Win32\bin\;" to the front of HKEY_CURRENT_USER\Environment\PATH
Relevant log section: