lsellens / script.service.audo

Audo (Automatic Downloader) is a fork of SABnzbd-Suite. SABnzbd-Suite Metapackage which combines SABnzbd, SickBeard, Couchpotato and Headphones in one Addon.
http://lsellens.openelec.tv/addons/repo/repository.lsellens/repository.lsellens.zip
GNU General Public License v3.0
10 stars 3 forks source link

nzbToMedia - ImportError: No module named six.moves #22

Closed tcamargo closed 8 years ago

tcamargo commented 8 years ago

Hi,

Since last update (1.26), nzbToMedia does not work anymore. It seems we are missing a lot of dependencies for nzbToMedia-V11.01. At least, six, requestes, rebulk, babelfish, and setuptools python modules need to be installed. I tried to add all manually but had trouble with setuptools.

Running LibreELEC (community) - Version: 7.90.008.

Thanks! Tiago

lsellens commented 8 years ago

Thanks for letting me know. I don't use nzbtomedia and there was nothing in changelogs about needing extra dependencies. I'll get it fixed soon.

lsellens commented 8 years ago

Could you post me the log with the exact error?

lsellens commented 8 years ago

Looking through the code changes since the previous version I'm not seeing any dependency changes. Six for instance should already be installed on your system as per line 9 in https://github.com/lsellens/script.service.audo/blob/master/script.service.audo/addon.xml Maybe reboot and see if problem still exists? I know it's silly but might just be a namespace path issue. Either way send me some logs. Thanks!

tcamargo commented 8 years ago
Traceback` (most recent call last):
  File "/storage/.kodi/userdata/addon_data/script.service.audo/scripts/nzbToSickBeard.py", line 251, in <module>
    import nzbToMedia
  File "/storage/.kodi/addons/script.service.audo/resources/nzbToMedia/nzbToMedia.py", line 514, in <module>
    import core
  File "/storage/.kodi/addons/script.service.audo/resources/nzbToMedia/core/__init__.py", line 33, in <module>
    from six.moves import reload_module
ImportError: No module named six.moves
tcamargo commented 8 years ago

Just rebooted. Same problem. You're right, six is installed in my system. Set PYTHONPATH to the six directory, but, then, got a import error for the requests module

PYTHONPATH=/storage/.kodi/addons/script.module.six/lib python nzbToMedia.py
Traceback (most recent call last):
  File "nzbToMedia.py", line 514, in <module>
    import core
  File "/storage/.kodi/addons/script.service.audo/resources/nzbToMedia/core/__init__.py", line 35, in <module>
    from core.autoProcess.autoProcessComics import autoProcessComics
  File "/storage/.kodi/addons/script.service.audo/resources/nzbToMedia/core/autoProcess/autoProcessComics.py", line 5, in <module>
    import requests
ImportError: No module named requests

Not sure why this problem appeared only after the last upgrade. It was working fine... BTW, what do you use for post-processing?

Thanks!

Jbekker commented 8 years ago

I'm getting the same error, hopefully we find a fix for this soon!

TySkby commented 8 years ago

Same issue here following the last upgrade.

lsellens commented 8 years ago

I'm going to just roll back versions real quick until I have some time to look into it.

lsellens commented 8 years ago

Rolled back to older working version. Please update me on if it works ok or not. new version is 1.2.7

tcamargo commented 8 years ago

Working!!

 # python /storage/.kodi/userdata/addon_data/script.service.audo/scripts/nzbToSickBeard.py

[19:11:45] [INFO]::MAIN: Loading config from [/storage/.kodi/userdata/addon_data/script.service.audo/scripts/autoProcessMedia.cfg]
[19:11:45] [INFO]::MAIN: Checking database structure...
[19:11:45] [INFO]::MAIN: Checking if source needs an update

Thanks!

lsellens commented 8 years ago

Thanks for your testing. I'll find some time to bump it back to the newer version with fixes soon hopefully.