-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: No user directories found #202
Comments
This is using Kaggle? How are you setting it up to run? It seems to be having trouble when it's trying to find the user directory.. do you have instructions on how you got ComfyUI working with Kaggle? If you can send me those, I can try and re-create. |
is weird i execute and i run comfyui the first time and i have this error, later i stop and later i run again and griptape work |
hmm.. are you able to reproduce the error? |
well i install with this !pip install "griptape[all]" -U |
does Kagle not allow you to install via the comfyUI manager? |
yes i can install with the manager but when i reboot again don't appear, and I have to delete the folder and install manually and work, many steps |
Okay - do you have an example of how to get ComfyUI working in Kagle without Griptape? I'd be happy to follow a tutorial to get it up and running and see if I can re-create the issue. |
try with this base_path = "/kaggle/working" os.chdir(base_path) !pip uninstall torch torchvision torchaudio xformers -y from multiprocessing import Process def run_app(): def print_url(): p_app = Process(target=run_app) !python main.py |
can you re-send that with indented code? you can wrap it in ``` :) |
I tried this:
but it seems to be failing here:
|
I just pushed a new release that will try and create the user directory if it doesn't exist - maybe that will resolve it? |
Is strange here clone well the repo inside zzz, only clone the content of comfyui |
yeah, I don't know why I can't get it to work - but can you give the latest update a try and see if it solves your other problem? |
i try again in a clean space and i tell you thank you so much for this and i don't know if you can add some utilities to griptape for comfyui |
my pleasure - and always happy to add more to the nodes. what kind of utilities do you have in mind? |
wait i made a preview to this, and i can write you in private for be more fast, discord, wts or something |
discord is easy - or just create a ticket so we can track it. :) So basically a switch node that will take multiple inputs and then allow you to choose a specific one as an output? I think I could do that pretty easily.. but in your mockup, you've got "groups" of switch nodes, right? so a model & two prompts? Not sure if I could make something like that.. but the first one, yeah - that'd be easy enough to do |
yes the point is for group of values and can switch with this the example is model and conditions but is for whatever group of nodes with the same content of course |
ahh.. that's not super easy to do.. as far as I know we can't do dynamic output count. the outputs are defined in python. One thing I could do is a series of switch nodes.. one with one output, one with two, one with three, one with four.. then you would just choose which count you need.. and you just need to make sure you enter the right number of input groups.. that might work? a bit complicated to figure out, but not impossible |
Well if you can do this it will be of great help because I didn't find anything like that. |
Okay, I've added it as a feature request: #218 :) in the meantime, I did just publish the single-dimensional switch node in the latest update. also, back to the topic of this issue - did the latest update fix the problem? |
Thank you for all well I install again in a clean version and sometimes even if I install with the manager the first time have problem but I run again and works, maybe the problem is the register for the first time, but in general work fine so, thank you so much, the fix is only stop and run again and work |
okay, thank you! we'll keep trying to make it work the first time. :) |
hi i have this problem when begin comfyui um running this in kagle i clone the rep of comfyui griptape and i installed the requirements and !pip install "griptape[all]" -U
Total VRAM 15095 MB, total RAM 32103 MB
pytorch version: 2.4.1+cu121
xformers version: 0.0.28.post1
Set vram state to: NORMAL_VRAM
Device: cuda:0 Tesla T4 : cudaMallocAsync
Traceback (most recent call last):
File "/kaggle/working/SDZC/nodes.py", line 2092, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/kaggle/working/SDZC/custom_nodes/ComfyUI-Griptape/init.py", line 59, in
from .nodes.config.gtUILMStudioDriversConfig import gtUILMStudioDriversConfig
File "/kaggle/working/SDZC/custom_nodes/ComfyUI-Griptape/nodes/config/gtUILMStudioDriversConfig.py", line 17, in
from ..drivers.gtUILMStudioChatPromptDriver import gtUILMStudioChatPromptDriver
File "/kaggle/working/SDZC/custom_nodes/ComfyUI-Griptape/nodes/drivers/gtUILMStudioChatPromptDriver.py", line 4, in
from .gtUIOpenAiCompatibleChatPromptDriver import gtUIOpenAiCompatibleChatPromptDriver
File "/kaggle/working/SDZC/custom_nodes/ComfyUI-Griptape/nodes/drivers/gtUIOpenAiCompatibleChatPromptDriver.py", line 3, in
from .gtUIOpenAiChatPromptDriver import gtUIOpenAiChatPromptDriver
File "/kaggle/working/SDZC/custom_nodes/ComfyUI-Griptape/nodes/drivers/gtUIOpenAiChatPromptDriver.py", line 6, in
models = get_available_models("ChatModel")
File "/kaggle/working/SDZC/custom_nodes/ComfyUI-Griptape/nodes/utils/openai_utils.py", line 34, in get_available_models
settings = GriptapeSettings()
File "/kaggle/working/SDZC/custom_nodes/ComfyUI-Griptape/py/griptape_settings.py", line 25, in init
self.setup()
File "/kaggle/working/SDZC/custom_nodes/ComfyUI-Griptape/py/griptape_settings.py", line 124, in setup
self.get_settings_file()
File "/kaggle/working/SDZC/custom_nodes/ComfyUI-Griptape/py/griptape_settings.py", line 41, in get_settings_file
raise ValueError("No user directories found")
ValueError: No user directories found
Cannot import /kaggle/working/SDZC/custom_nodes/ComfyUI-Griptape module for custom nodes: No user directories found
The text was updated successfully, but these errors were encountered: