carson-katri / dream-textures

Stable Diffusion built-in to Blender
GNU General Public License v3.0
7.78k stars 418 forks source link

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

Closed ajarcon closed 7 months ago

ajarcon commented 10 months ago

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

ajarcon commented 10 months ago

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'

WalidAliAlfaid commented 10 months ago

Same issue, did you find a solution?

ajarcon commented 10 months ago

Nope

github-actions[bot] commented 8 months ago

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

github-actions[bot] commented 7 months ago

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