summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoDRM <[email protected]>2022-03-19 09:17:29 +0100
committerNoDRM <[email protected]>2022-03-19 09:17:29 +0100
commit263cc1d2cffd46ac9e822c944a493f16f463db44 (patch)
treeefe39ea0e033d79ed53610e85afe7ef070d40107
parenta4689f6ac0af8494c622c8bee3f8866ec028755f (diff)
Improve error message
-rw-r--r--DeDRM_plugin/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/DeDRM_plugin/__init__.py b/DeDRM_plugin/__init__.py
index 9f0fc34..7559b99 100644
--- a/DeDRM_plugin/__init__.py
+++ b/DeDRM_plugin/__init__.py
@@ -98,6 +98,12 @@ try:
import __version
except ModuleNotFoundError:
print("#############################")
+ print("Failed to load the DeDRM plugin")
+ print("Did you bundle this from source code yourself? If so, you'll need to run make_release.py instead to generate a valid plugin file.")
+ print("If you have no idea what the above means, please redownload the most recent version of the plugin from the Github Releases page.")
+ print("If you still receive this error with the released version, please open a bug report and attach the following information:")
+ print("#############################")
+ print("Debug information:")
print("__version not found, path is:")
print(sys.path)
print("I'm at:")