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

local server node problem #81

Open
eliecer696 opened this issue Jul 2, 2023 · 1 comment
Open

local server node problem #81

eliecer696 opened this issue Jul 2, 2023 · 1 comment

Comments

@eliecer696
Copy link

eliecer696 commented Jul 2, 2023

server start with out any problem but when a client connects it shoots an error here is my node set up
logic nodes vs 2.3
blender 3.3
image

Exception in thread Thread-15 (update):
Traceback (most recent call last):
File "D:\Release\3.3\python\lib\site-packages\uplogic\network\server.py", line 123, in update
print(f"Connected to: {add}")
File "D:\Release\3.3\python\lib\site-packages\uplogic\logging_init_.py", line 42, in write
log(s)
File "D:\Release\3.3\python\lib\site-packages\uplogic\logging_init
.py", line 146, in log
logger.add_message(f'{msg}', type, time=show_time)
File "D:\Release\3.3\python\lib\site-packages\uplogic\logging_init
.py", line 115, in add_message
self.layout.add_widget(Label(text=f'>{current_time} {msg}', pos=[5, 10], font_color=self.colors[type]))
File "D:\Release\3.3\python\lib\site-packages\uplogic\ui\widget.py", line 364, in add_widget
widget.parent = self
File "D:\Release\3.3\python\lib\site-packages\uplogic\ui\widget.py", line 129, in parent
self.build_shader()
File "D:\Release\3.3\python\lib\site-packages\uplogic\ui\widget.py", line 330, in build_shader
self._batch = batch_for_shader(self._shader, 'TRIS', {"pos": vertices}, indices=indices)
File "D:\Release\3.3\scripts\modules\gpu_extras\batch.py", line 39, in batch_for_shader
vbo.attr_fill(id, data)
ValueError: Unknown attribute name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Release\3.3\python\lib\threading.py", line 1009, in _bootstrap_inner
self.run()
File "D:\Release\3.3\python\lib\threading.py", line 946, in run
self._target(*self._args, **self.kwargs)
File "D:\Release\3.3\python\lib\site-packages\uplogic\network\server.py", line 138, in update
print(e, 'Exception')
File "D:\Release\3.3\python\lib\site-packages\uplogic\logging_init
.py", line 42, in write
log(s)
File "D:\Release\3.3\python\lib\site-packages\uplogic\logging_init
.py", line 146, in log
logger.add_message(f'{msg}', type, time=show_time)
File "D:\Release\3.3\python\lib\site-packages\uplogic\logging_init
.py", line 115, in add_message
self.layout.add_widget(Label(text=f'>{current_time} {msg}', pos=[5, 10], font_color=self.colors[type]))
File "D:\Release\3.3\python\lib\site-packages\uplogic\ui\widget.py", line 364, in add_widget
widget.parent = self
File "D:\Release\3.3\python\lib\site-packages\uplogic\ui\widget.py", line 129, in parent
self.build_shader()
File "D:\Release\3.3\python\lib\site-packages\uplogic\ui\widget.py", line 330, in build_shader
self._batch = batch_for_shader(self._shader, 'TRIS', {"pos": vertices}, indices=indices)
File "D:\Release\3.3\scripts\modules\gpu_extras\batch.py", line 39, in batch_for_shader
vbo.attr_fill(id, data)
ValueError: Unknown attribute name

@IzaZed
Copy link
Collaborator

IzaZed commented Jul 11, 2023

this is a problem with printing, so the same thing should happen if you use the print node
you can try updating to 0.36 stable release of UPBGE, it seems to work there

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

2 participants