robweber / xbmcbackup

Backup Addon for Kodi
MIT License
107 stars 48 forks source link

Error 'ModuleNotFoundError' #204

Open Cris-- opened 2 years ago

Cris-- commented 2 years ago

Hi, get an error and backup aborts:

`EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

File "/storage/.kodi/addons/script.xbmcbackup/service.py", line 1, in from resources.lib.scheduler import BackupScheduler

File "/storage/.kodi/addons/script.xbmcbackup/resources/lib/scheduler.py", line 8, in from resources.lib.backup import XbmcBackup

File "/storage/.kodi/addons/script.xbmcbackup/resources/lib/backup.py", line 10, in from . vfs import XBMCFileSystem, DropboxFileSystem, ZipFileSystem

File "/storage/.kodi/addons/script.xbmcbackup/resources/lib/vfs.py", line 10, in from . authorizers import DropboxAuthorizer

File "/storage/.kodi/addons/script.xbmcbackup/resources/lib/authorizers.py", line 3, in import pyqrcode ModuleNotFoundError: No module named 'pyqrcode'

-->End of Python script error report<--`

RPi4 / LibreElec 10

robweber commented 2 years ago

I've seen this error happen before but not sure what causes it. It's like the dependency isn't being installed correctly even though it's part of the addon.xml file. Have you tried uninstalling the addon and then re-installing it? That might kick Kodi into downloading the dependency.