We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 056980e commit 76117d5Copy full SHA for 76117d5
src/rez/plugin_managers.py
@@ -317,7 +317,12 @@ def rezplugins_module_paths(self):
317
module_path = os.path.join(importer.archive, name)
318
319
else:
320
- module_path = os.path.join(importer.path, name)
+ try:
321
+ module_path = os.path.join(importer.path, name)
322
+ # Ignore execution failures due to missing `importer.path`,
323
+ # when rez is packaged as a single application via Pyinstaller or PyOxidizer.
324
+ except AttributeError:
325
+ continue
326
init_path = os.path.join(module_path, "rezplugins", "__init__.py")
327
if not os.path.isfile(init_path):
328
continue
0 commit comments