Skip to content
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

issue importing the maya script editor #43

Open
Nabouria opened this issue Jul 13, 2024 · 0 comments
Open

issue importing the maya script editor #43

Nabouria opened this issue Jul 13, 2024 · 0 comments

Comments

@Nabouria
Copy link

I was trying to us the MEL command
commandPort -name "localhost:7001" -sourceType "mel" -echoOutput;
.IT seems to work except when I try to use the send to maya in visual studio it gives me this error message. I am still new to this stuff so I'm not sure if its something I did

----------------------------------------

Exception occurred during processing of request from ('127.0.0.1', 51457)

Traceback (most recent call last):

# File "C:\Program Files\Autodesk\Maya2025\Python\Lib\socketserver.py", line 317, in _handle_request_noblock

self.process_request(request, client_address)

# File "C:\Program Files\Autodesk\Maya2025\Python\Lib\socketserver.py", line 348, in process_request

self.finish_request(request, client_address)

# File "C:\Program Files\Autodesk\Maya2025\Python\Lib\socketserver.py", line 361, in finish_request

self.RequestHandlerClass(request, client_address, self)

# File "C:\Program Files\Autodesk\Maya2025\Python\Lib\socketserver.py", line 755, in init

self.handle()

# File "C:\Program Files\Autodesk\Maya2025\Python\Lib\site-packages\maya\app\general\CommandPort.py", line 134, in handle

self.wfile.write(self.server.commandMessageQueue.get() + self.resp_term)

# File "C:\Program Files\Autodesk\Maya2025\Python\Lib\socketserver.py", line 834, in write

self._sock.sendall(b)

TypeError: a bytes-like object is required, not 'str'

----------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant