From 6c4c67a97e2782b6450893d32b0c81e6639ce4c1 Mon Sep 17 00:00:00 2001 From: Shivam Kumar Date: Thu, 22 Jun 2023 21:26:46 +0530 Subject: [PATCH] Extension Install Error Fix Extensions which have a install.py fail to install if we use a separate data directory and provide relative path like "--data-dir=../../SD-Data". Using realpath method to absolute path of installation script fixes the issue. --- installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.py b/installer.py index 42fc6c0eb..5ba5ec017 100644 --- a/installer.py +++ b/installer.py @@ -444,7 +444,7 @@ def install_repositories(): # run extension installer def run_extension_installer(folder): - path_installer = os.path.join(folder, "install.py") + path_installer = os.path.realpath(os.path.join(folder, "install.py")) if not os.path.isfile(path_installer): return try: