NukeServerSocket v1.7
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Virgil Sisoe
A Nuke plugin to run code from external applications.
Requirements:
14.0, 13.2, 13.1, 12.2, 11.3 or later
Linux, Mac, Windows
14.0, 13.2, 13.1, 12.2, 11.3 or later
Linux, Mac, Windows
25 Nov 2023
314
NukeServerSocket README
For the full readme and installation instructions, check the GitHub repository.
Changelog
v0.6.2 2023-11-19
- Fixed a bug that would cause the extension to not properly use the Script Editor engine.
v0.6.1 2023-10-04
- Fixed a bug where Nuke's execution button was not found under certain circumstances.
v0.6.0 2023-03-12
- Fixed Nuke 14 compatibility issues by removing WebSocket connection.
- Switchable log panels.
- Under the hood refactoring.
A Nuke plugin to run code from external applications.
Features
- Receive Python or BlinkScript code from any client in your local network.
- Connect more than one client to the same Nuke instance.
- Receive/Send nodes from another Nuke instance in your local network.
- WebSocket-ready for browser-based text editors.
Note: WebSocket connection does not work in Nuke 14/15.
Note: Nukepedia versions don't reflect the actual version of the plugin.
MIT License
Copyright (c) 2021 Virgil Sisoe
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the 'Software'), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Please login in order to download these files.
Comments
note: you have a misspell a bit github link (colon missing)
Traceback (most recent call last):
File "C:/Users/[Hidd en]/.nuke/menu. py", line 2, in
import NukeServerSocke t
File "C:\Program Files\Nuke14.0v 1\pythonextensi ons\site-packag es\shiboken2\fi les.dir\shiboke nsupport\__feat ure__.py", line 142, in _import
return original_import (name, *args, **kwargs)
File "C:\Users/[Hidden]/.nuke\NukeServerSocke t\__init__.py", line 2, in
from . import src
File "C:\Program Files\Nuke14.0v 1\pythonextensi ons\site-packag es\shiboken2\fi les.dir\shiboke nsupport\__feat ure__.py", line 142, in _import
return original_import (name, *args, **kwargs)
File "C:\Users/[Hidden]/.nuke\NukeServerSocke t\src\__init__.py", line 15, in
from . import main
File "C:\Program Files\Nuke14.0v 1\pythonextensi ons\site-packag es\shiboken2\fi les.dir\shiboke nsupport\__feat ure__.py", line 142, in _import
return original_import (name, *args, **kwargs)
File "C:\Users/[Hidden]/.nuke\NukeServerSocke t\src\main.py", line 16, in
from .connection import QServer, SendTestClient, SendNodesClient
File "C:\Program Files\Nuke14.0v 1\pythonextensi ons\site-packag es\shiboken2\fi les.dir\shiboke nsupport\__feat ure__.py", line 142, in _import
return original_import (name, *args, **kwargs)
File "C:\Users/[Hidden]/.nuke\NukeServerSocke t\src\connection\__init__.py", line 3, in
from .nss_server import QServer
File "C:\Program Files\Nuke14.0v 1\pythonextensi ons\site-packag es\shiboken2\fi les.dir\shiboke nsupport\__feat ure__.py", line 142, in _import
return original_import (name, *args, **kwargs)
File "C:\Users/[Hidden]/.nuke\NukeServerSocke t\src\connection\nss_server.py", line 8, in
from PySide2.QtWebSo ckets import QWebSocketServe r
File "C:\Program Files\Nuke14.0v 1\pythonextensi ons\site-packag es\shiboken2\fi les.dir\shiboke nsupport\__feat ure__.py", line 142, in _import
return original_import (name, *args, **kwargs)
ModuleNotFoundError: No module named 'PySide2.QtWebSo ckets'
Or is there a way to bypass this?
Thanks!
It looks like it's trying to load the QtWebSockets module, which for some reason, doesn't exist in Nuke 14's PySide.
If you don't need a websocket, which I am guessing you don't if you aren't interacting through a browser based text editor (you are using either VSCode or Sublime), you can simply turn all those parts off.
It looks like websockets is just used in 3 files : nss_client, nss_server, nss_socket
Just go in there and comment out or delete the import at the top of all three files since QtWebSockets doesn't exist to import.
from PySide2.QtWebSo ckets import QWebSocket
and then you have to make sure to deal with QWebSocket everywhere it's mentioned.
Twice it's returned so just return None instead
return QWebSocket()
and
return QWebSocketServe r('NukeServerSo cket', QWebSocketServer.NonSecureMode)
to
return None
and set the possibility of it trying to use a websocket to False
in nss_socket.py
self.is_websock et = isinstance(self .socket, QWebSocket)
to this
self.is_websock et = False
Save up your files and you should be back in business. That is as long as you aren't using web based editing.
Cheers!
Michael, thanks for taking out the time to help others. You are more than welcome to open a pull request next time you find a solution to a problem.
RSS feed for comments to this post