You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this tool!
Sadly, as soon as it refreshes, it crashes.
Here is the stack trace:
Traceback (most recent call last):
File "/private/home/josselin/.local/lib/python3.10/site-packages/stui/views/jobs.py", line 480, in refresh
w = self.job_widgets_dict[job.job_id]
KeyError: '29831211'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/private/home/josselin/.local/bin/stui", line 8, in <module>
sys.exit(cli())
File "/private/home/josselin/.local/lib/python3.10/site-packages/stui/cli.py", line 41, in cli
StuiApp(args).run()
File "/private/home/josselin/.local/lib/python3.10/site-packages/stui/stui.py", line 192, in run
self.loop.run()
File "/private/home/josselin/.local/lib/python3.10/site-packages/urwid/event_loop/main_loop.py", line 337, in run
self._run()
File "/private/home/josselin/.local/lib/python3.10/site-packages/urwid/event_loop/main_loop.py", line 439, in _run
self.event_loop.run()
File "/private/home/josselin/.local/lib/python3.10/site-packages/urwid/event_loop/asyncio_loop.py", line 235, in run
raise exc.with_traceback(exc.__traceback__)
File "/large_experiments/dinov2/huyvvo/envs/fairvit+py310-cu121-pt22-nightly/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/private/home/josselin/.local/lib/python3.10/site-packages/urwid/event_loop/asyncio_loop.py", line 104, in wrapper
return callback(*args, **kwargs)
File "/private/home/josselin/.local/lib/python3.10/site-packages/urwid/event_loop/main_loop.py", line 218, in cb
callback(self, user_data)
File "/private/home/josselin/.local/lib/python3.10/site-packages/stui/stui.py", line 204, in refresh_time
self.topmost_widget.refresh_jobs()
File "/private/home/josselin/.local/lib/python3.10/site-packages/stui/stui.py", line 69, in refresh_jobs
self.jobs_tab.refresh()
File "/private/home/josselin/.local/lib/python3.10/site-packages/stui/views/jobs.py", line 485, in refresh
w = JobWidget(job)
File "/private/home/josselin/.local/lib/python3.10/site-packages/stui/views/jobs.py", line 51, in __init__
self.update_values(job)
File "/private/home/josselin/.local/lib/python3.10/site-packages/stui/views/jobs.py", line 79, in update_values
self.columns["state"].set_attr_map(self.STATE_ATTR_MAPPING[job.state])
KeyError: 'REQUEUE_HOLD'
Environment:
Python 3.10.9
stui 0.3.6
SLURM 23.11.6
I had no job running
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for this tool!
Sadly, as soon as it refreshes, it crashes.
Here is the stack trace:
Environment:
Thanks!
The text was updated successfully, but these errors were encountered: