Page 1 of 1

Problems getting Flexget to work with Deluge (Win7 x64)

Posted: Sun May 06, 2012 7:47 pm
by Laucien
Hello!. A friend recommended Deluge and Flexget to me for my HTPC and now I'm trying to get it to work correctly but I'm running into different problems >.<. I managed to fix some of them, like Flexget looking for Deluge in the wrong directory, but there's one that I haven't managed to fix and so was hoping to get a hand with this.

Here is the debug output:

Code: Select all

2012-05-06 16:31 DEBUG    plugin                        Ignoring non-existing plugin directory C:\Users\XBMC\.flexget\plugins
2012-05-06 16:31 DEBUG    plugin                        Looking for plugins in C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins
2012-05-06 16:31 DEBUG    deluge                        Looking for deluge install in C:\Program Files\Deluge
2012-05-06 16:31 DEBUG    deluge                        Found deluge install in C:\Program Files\Deluge adding to sys.path
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\cli'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\download'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\exit'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\filter'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\generic'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\input'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\local'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\metainfo'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\modify'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\operate'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\output'
2012-05-06 16:31 DEBUG    plugin                        Plugin `memusage` requires `ext lib `guppy`` to load.
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\services'
2012-05-06 16:31 DEBUG    plugin                        Looking for sub-plugins in 'C:\Python26\lib\site-packages\flexget-1.0-py2.6.egg\flexget\plugins\start'
2012-05-06 16:31 DEBUG    plugin                        Plugins took 1.88 seconds to load
2012-05-06 16:31 DEBUG    manager                       Figuring out config load paths
2012-05-06 16:31 DEBUG    manager                       Found config: C:\Users\XBMC\flexget\config.yml
2012-05-06 16:31 DEBUG    manager                       config_name: config
2012-05-06 16:31 DEBUG    manager                       config_base: C:\Users\XBMC\flexget
2012-05-06 16:31 DEBUG    manager                       Connecting to: sqlite:///C:\\Users\\XBMC\\flexget\\db-config.sqlite
2012-05-06 16:31 DEBUG    feed                          resetting eztvfeeds
2012-05-06 16:31 DEBUG    manager                       sys.defaultencoding: ascii
2012-05-06 16:31 DEBUG    manager                       sys.getfilesystemencoding: mbcs
2012-05-06 16:31 DEBUG    manager                       os.path.supports_unicode_filenames: True
2012-05-06 16:31 DEBUG    manager                       Not running db cleanup, last run 2012-05-06 16:07:26.562000
2012-05-06 16:31 DEBUG    archive                       reset ArchiveInject state
2012-05-06 16:31 DEBUG    input_cache                   clearing cache
2012-05-06 16:31 DEBUG    deluge                        Looking for deluge 1.1 API
2012-05-06 16:31 DEBUG    deluge                        Looking for deluge 1.2 API
2012-05-06 16:31 DEBUG    deluge                        Error importing deluge: DLL load failed: %1 is not a valid Win32 application.
2012-05-06 16:31 CRITICAL feed                          Plugin `deluge` cannot be used because dependency `deluge` is missing.
2012-05-06 16:31 DEBUG    feed                          Deluge module and it's dependencies required. ImportError: DLL load failed: %1 is not a valid Win32 application.
2012-05-06 16:31 INFO     feed                          Aborting feed (plugin: deluge)
2012-05-06 16:31 DEBUG    manager                       Shutting down
2012-05-06 16:31 DEBUG    manager                       Shutdown completed
2012-05-06 16:31 DEBUG    manager                       Removed C:\Users\XBMC\flexget\.config-lock
These are the lines with the errors:
2012-05-06 16:31 DEBUG deluge Looking for deluge 1.1 API
2012-05-06 16:31 DEBUG deluge Looking for deluge 1.2 API
2012-05-06 16:31 DEBUG deluge Error importing deluge: DLL load failed: %1 is not a valid Win32 application.
2012-05-06 16:31 CRITICAL feed Plugin `deluge` cannot be used because dependency `deluge` is missing.
2012-05-06 16:31 DEBUG feed Deluge module and it's dependencies required. ImportError: DLL load failed: %1 is not a valid Win32 application.


Basically it says that a DLL is failing to open. I guess because of the x86 and x64 versions but I have the latest Deluge version installed and from what I could see there's not a native x64 version.

Any idea about how I could fix this?. Thanks.

Re: Problems getting Flexget to work with Deluge (Win7 x64)

Posted: Sun May 06, 2012 8:37 pm
by gazpachoking
Resolved in IRC. This was due to FlexGet being installed on 64 bit python. See requirements here.