khal error message
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 233
- Avg merge
- 1h 44m
- Merged PRs (30d)
- 1
Description
I keep getting this when I try to open the interactive UI:
Traceback (most recent call last):
File "/usr/local/Cellar/khal/0.13.0/libexec/lib/python3.14/site-packages/khal/ui/__init__.py", line 1494, in start_pane
loop.run()
~~~~~~~~^^
File "/usr/local/Cellar/khal/0.13.0/libexec/lib/python3.14/site-packages/urwid/event_loop/main_loop.py", line 337, in run
self._run()
~~~~~~~~~^^
File "/usr/local/Cellar/khal/0.13.0/libexec/lib/python3.14/site-packages/urwid/event_loop/main_loop.py", line 439, in _run
self.event_loop.run()
~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/Cellar/khal/0.13.0/libexec/lib/python3.14/site-packages/urwid/event_loop/select_loop.py", line 182, in run
self._loop()
~~~~~~~~~~^^
File "/usr/local/Cellar/khal/0.13.0/libexec/lib/python3.14/site-packages/urwid/event_loop/select_loop.py", line 224, in _loop
alarm_callback()
~~~~~~~~~~~~~~^^
File "/usr/local/Cellar/khal/0.13.0/libexec/lib/python3.14/site-packages/urwid/event_loop/main_loop.py", line 650, in entering_idle
self.draw_screen()
~~~~~~~~~~~~~~~~^^
File "/usr/local/Cellar/khal/0.13.0/libexec/lib/python3.14/site-packages/urwid/event_loop/main_loop.py", line 664, in draw_screen
self.screen_size = self.screen.get_cols_rows()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/Cellar/khal/0.13.0/libexec/lib/python3.14/site-packages/urwid/display/_posix_raw_display.py", line 406, in get_cols_rows
buf = fcntl.ioctl(self._term_output_file.fileno(), termios.TIOCGWINSZ, b" " * 4)
SystemError: buffer overflow
Anyone else getting this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by opening khal's interactive UI, then start at khal/ui/init.py around start_pane and follow the traceback into urwid's display code. Confirm the terminal conditions that trigger SystemError: buffer overflow and add a regression test or documented verification that the UI opens without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100