xbmcbackup icon indicating copy to clipboard operation
xbmcbackup copied to clipboard

Error 'ModuleNotFoundError'

Open Cris-- opened this issue 4 years ago • 1 comments

Hi, get an error and backup aborts:

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

  • NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'ModuleNotFoundError'> Error Contents: No module named 'pyqrcode' Traceback (most recent call last):

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

Cris-- avatar Sep 08 '21 13:09 Cris--

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.

robweber avatar Sep 08 '21 19:09 robweber