I'm running the example ola_simple_fade.py . Trying to understand an error I'm getting when running it with the Spyder IDE which I don't get if using the IDLE IDE. I'm using Ubuntu 22.04. Both IDE's are using the same python 3.10.12 . The console output in Spyder follows. Any thoughts why I would be getting this error? Thanks!
ypeError Traceback (most recent call last)
File ~/spyder-env/lib/python3.10/site-packages/spyder_kernels/customize/utils.py:209, in exec_encapsulate_locals(code_ast, globals, locals, exec_fun, filename)
207 if filename is None:
208 filename = "<stdin>"
--> 209 exec_fun(compile(code_ast, filename, "exec"), globals, None)
210 finally:
211 if use_locals_hack:
212 # Cleanup code
File ~/Documents/Winterfest2024/simpleFade.py:72
69 controller = SimpleFadeController(UNIVERSE, UPDATE_INTERVAL, wrapper,
70 DMX_DATA_SIZE)
71 # Call it initially
---> 72 wrapper.AddEvent(SHUTDOWN_INTERVAL, wrapper.Stop)
73 # Start the wrapper
74 wrapper.Run()
File ~/spyder-env/lib/python3.10/site-packages/ola/ClientWrapper.py:287, in ClientWrapper.AddEvent(self, time_in_ms, callback)
280 def AddEvent(self, time_in_ms, callback):
281 """Schedule an event to run in the future.
282
283 Args:
284 time_in_ms: An interval in milliseconds when this should run.
285 callback: The function to run.
286 """
--> 287 self._ss.AddEvent(time_in_ms, callback)
File ~/spyder-env/lib/python3.10/site-packages/ola/ClientWrapper.py:215, in SelectServer.AddEvent(self, time_in_ms, callback)
208 """Schedule an event to run in the future.
209
210 Args:
211 time_in_ms: An interval in milliseconds when this should run.
212 callback: The function to run.
213 """
214 event = _Event(time_in_ms, callback)
--> 215 heapq.heappush(self._events, event)
TypeError: '<' not supported between instances of '_Event' and '_Event'