carson-katri / dream-textures

Stable Diffusion built-in to Blender

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python: Traceback in exists : path should be string, bytes, os.PathLike or integer, not NoneType

ajarcon opened this issue · comments

Description

P
Screenshot 2023-11-15 194514
ython: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\genericpath.py", line 19, in exists
os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Steps to Reproduce

Install blender 4.0 and install dream textures

Expected Behavior

It loads and installs properly

Addon Version

Windows (CUDA)

GPU

NVIDIA

very likely to be an incompatible bug with Blender 4.0 as I got a different error when I restarted it

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 364, in enable
mod = importlib.import_module(module_name)
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in find_and_load
File "", line 1006, in find_and_load_unlocked
File "", line 688, in load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\liuli\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures_init
.py", line 39, in
from .render_pass import register_render_pass, unregister_render_pass, pass_inputs
File "C:\Users\liuli\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\render_pass.py", line 7, in
from .generator_process import Generator
File "C:\Users\liuli\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\generator_process_init
.py", line 3, in
class Generator(Actor):
File "C:\Users\liuli\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\generator_process_init.py", line 9, in Generator
from .actions.load_model import load_model
File "C:\Users\liuli\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\generator_process\actions\load_model.py", line 4, in
from ..models import Checkpoint, ModelConfig, Scheduler
File "C:\Users\liuli\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\generator_process\models_init.py", line 2, in
from .image_generation_result import *
File "C:\Users\liuli\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\generator_process\models\image_generation_result.py", line 6, in
from ...api.models.step_preview_mode import StepPreviewMode
ModuleNotFoundError: No module named 'dream_textures.api'

Same issue, did you find a solution?

Nope

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.