fropych / mine-diffusion

MIT License
17 stars 0 forks source link

Script broken #1

Closed 1busyguy closed 1 year ago

1busyguy commented 1 year ago

Error loading script: main.py Traceback (most recent call last): File "D:\For Profit Businesses\Artifical Inteligence Artwork\BackUp old version\stable-diffusion-webui\modules\scripts.py", line 218, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "D:\For Profit Businesses\Artifical Inteligence Artwork\BackUp old version\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module exec(compiled, module.dict) File "D:\For Profit Businesses\Artifical Inteligence Artwork\BackUp old version\stable-diffusion-webui\extensions\mine-diffusion\scripts\main.py", line 9, in EXT_DIR = Path(file).parent NameError: name 'file' is not defined

fropych commented 1 year ago

try updating the extension

fropych commented 1 year ago

why don't you have EXT_DIR = Path(__file__).parent.parent ?

1busyguy commented 1 year ago

mine_diffusion no tab is created when installed - why don't you have EXT_DIR = Path(file).parent.parent ? - where do I configure this?

fropych commented 1 year ago

this should be the default. try to click "check for updates" or see what you have on line 9 in the file D:\For Profit Businesses\Artificial Intelligence Artwork\Backup old version\stable-diffusion-webui\extensions\mine-diffusion\scripts\main.py and replace with EXT_DIR = Path(__file__).parent.parent

1busyguy commented 1 year ago

I updated it - and it still doesn't work ;(

fropych commented 1 year ago

I changed the way to get extension path, try now