Skip to content

LUIInputField does not work anymore when pressing a button #53

@nerdnils

Description

@nerdnils

This is the error I get on Keydown:

Traceback (most recent call last):
File "luibuiltin/LUIInputField.py", line 139, in on_keydown
self.trigger_event("changed", self._value)
TypeError: Arguments must match:
trigger_event(const LUIBaseElement self, str event_name, unicode message, const LPoint2f coords)
trigger_event(const LUIBaseElement self, LUIEventData data)

:util(error): Exception occurred in PythonCallbackObject
Traceback (most recent call last):
File "luibuiltin/LUIInputField.py", line 105, in on_tick
frame_time = globalClock.get_frame_time() - self._tickstart
File "luibuiltin/LUIInputField.py", line 139, in on_keydown
self.trigger_event("changed", self._value)
TypeError: Arguments must match:
trigger_event(const LUIBaseElement self, str event_name, unicode message, const LPoint2f coords)
trigger_event(const LUIBaseElement self, LUIEventData data)

:util(error): Exception occurred in PythonCallbackObject
Traceback (most recent call last):
File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 1987, in __igLoop
self.graphicsEngine.renderFrame()
File "luibuiltin/LUIInputField.py", line 105, in on_tick
frame_time = globalClock.get_frame_time() - self._tickstart
File "luibuiltin/LUIInputField.py", line 139, in on_keydown
self.trigger_event("changed", self._value)
TypeError: Arguments must match:
trigger_event(const LUIBaseElement self, str event_name, unicode message, const LPoint2f coords)
trigger_event(const LUIBaseElement self, LUIEventData data)

:task(error): Exception occurred in PythonTask igLoop
Traceback (most recent call last):
File "main.py", line 338, in
spiel.run()
File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 3109, in run
self.taskMgr.run()
File "/usr/share/panda3d/direct/task/Task.py", line 531, in run
self.step()
File "/usr/share/panda3d/direct/task/Task.py", line 485, in step
self.mgr.poll()
File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 1987, in __igLoop
self.graphicsEngine.renderFrame()
File "luibuiltin/LUIInputField.py", line 105, in on_tick
frame_time = globalClock.get_frame_time() - self._tickstart
File "luibuiltin/LUIInputField.py", line 139, in on_keydown
self.trigger_event("changed", self._value)
TypeError: Arguments must match:
trigger_event(const LUIBaseElement self, str event_name, unicode message, const LPoint2f coords)
trigger_event(const LUIBaseElement self, LUIEventData data)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions