JiachengXuGit / ChatGPTforNuke

OpenAI’s ChatGPT for Nuke
29 stars 3 forks source link

Linux (Mint 21) - Cannot connect to server socket error #3

Closed FuzzyCactusLogic closed 1 year ago

FuzzyCactusLogic commented 1 year ago

Terminal Read :

NukeX 14.0v4, 64 bit, built Apr 3 2023. Copyright (c) 2023 The Foundry Visionmongers Ltd. All Rights Reserved. Non-commercial mode active. Licence expires on: 2023/6/29

Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock [OpenColorIO Warning]: Inactive 'Rec.1886 Rec.2020 - Display' is neither a color space nor a named transform. [OpenColorIO Warning]: Inactive 'Rec.1886 Rec.2020 - Display' is neither a color space nor a named transform. [OpenColorIO Warning]: Inactive 'Rec.1886 Rec.2020 - Display' is neither a color space nor a named transform. [OpenColorIO Warning]: Inactive 'Rec.2100-HLG - Display' is neither a color space nor a named transform. [OpenColorIO Warning]: Inactive 'P3-D60 - Display' is neither a color space nor a named transform. [OpenColorIO Warning]: Inactive 'P3-DCI - Display' is neither a color space nor a named transform. [OpenColorIO Warning]: Inactive 'P3-DCI - Display' is neither a color space nor a named transform. Traceback (most recent call last): File "/home/bob/.nuke/menu.py", line 477, in from ChatGPTforNuke import ChatGPT File "/opt/Nuke14.0v4/pythonextensions/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import return original_import(name, *args, kwargs) File "/home/bob/.nuke/nuke.python/ChatGPTforNuke.py", line 9, in import openai File "/opt/Nuke14.0v4/pythonextensions/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import return original_import(name, *args, *kwargs) File "/home/bob/.local/lib/python3.10/site-packages/openai/init.py", line 19, in from openai.api_resources import ( File "/opt/Nuke14.0v4/pythonextensions/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import return original_import(name, args, kwargs) File "/home/bob/.local/lib/python3.10/site-packages/openai/api_resources/init.py", line 1, in from openai.api_resources.audio import Audio # noqa: F401 File "/opt/Nuke14.0v4/pythonextensions/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import return original_import(name, *args, kwargs) File "/home/bob/.local/lib/python3.10/site-packages/openai/api_resources/audio.py", line 4, in from openai import api_requestor, util File "/opt/Nuke14.0v4/pythonextensions/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import return original_import(name, *args, *kwargs) File "/home/bob/.local/lib/python3.10/site-packages/openai/api_requestor.py", line 21, in import aiohttp File "/opt/Nuke14.0v4/pythonextensions/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import return original_import(name, args, kwargs) File "/home/bob/.local/lib/python3.10/site-packages/aiohttp/init.py", line 6, in from .client import ( File "/opt/Nuke14.0v4/pythonextensions/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import return original_import(name, *args, kwargs) File "/home/bob/.local/lib/python3.10/site-packages/aiohttp/client.py", line 34, in from yarl import URL File "/opt/Nuke14.0v4/pythonextensions/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import return original_import(name, *args, *kwargs) File "/home/bob/.local/lib/python3.10/site-packages/yarl/init.py", line 1, in from ._url import URL, cache_clear, cache_configure, cache_info File "/opt/Nuke14.0v4/pythonextensions/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import return original_import(name, args, kwargs) File "/home/bob/.local/lib/python3.10/site-packages/yarl/_url.py", line 9, in import idna File "/opt/Nuke14.0v4/pythonextensions/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import return original_import(name, *args, **kwargs) ModuleNotFoundError: No module named 'idna'

init.py:

import nuke import sys sys.path.append("/home/bob/.local/lib/python3.10/site-packages")

If someone can help me around this issue I'd be very grateful. Thanks!