]> xmof Git - DeDRM.git/commitdiff
Improve error message
authorNoDRM <no_drm123@protonmail.com>
Sat, 19 Mar 2022 08:17:29 +0000 (09:17 +0100)
committerNoDRM <no_drm123@protonmail.com>
Sat, 19 Mar 2022 08:17:29 +0000 (09:17 +0100)
DeDRM_plugin/__init__.py

index 9f0fc34f72c0e0e711348642e4d4eb31be681c4a..7559b99cf70049073e2329f7ccfe23572a798c1c 100644 (file)
@@ -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:")