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

Error on posting #15

Open
gbmor opened this issue Dec 31, 2018 · 4 comments
Open

Error on posting #15

gbmor opened this issue Dec 31, 2018 · 4 comments

Comments

@gbmor
Copy link

gbmor commented Dec 31, 2018

One of my users is getting this error when posting using the urwid client on OpenBSD. I was able to replicate.
env: Python 3.6.6

\226Traceback (most recent call last):
File "/home/ahriman/tildefun/bbj/clients/urwid/main.py", line 2591, in
main()
File "/home/ahriman/tildefun/bbj/clients/urwid/main.py", line 2585, in main
app.loop.run()
File "/usr/local/lib/python3.6/site-packages/urwid/main_loop.py", line 286, in run
self._run()
File "/usr/local/lib/python3.6/site-packages/urwid/main_loop.py", line 384, in _run
self.event_loop.run()
File "/usr/local/lib/python3.6/site-packages/urwid/main_loop.py", line 788, in run
self._loop()
File "/usr/local/lib/python3.6/site-packages/urwid/main_loop.py", line 825, in _loop
self._watch_filesfd
File "/usr/local/lib/python3.6/site-packages/urwid/raw_display.py", line 404, in
event_loop, callback, self.get_available_raw_input())
File "/usr/local/lib/python3.6/site-packages/urwid/raw_display.py", line 502, in parse_input
callback(processed, processed_codes)
File "/usr/local/lib/python3.6/site-packages/urwid/main_loop.py", line 411, in _update
self.process_input(keys)
File "/usr/local/lib/python3.6/site-packages/urwid/main_loop.py", line 511, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
File "/usr/local/lib/python3.6/site-packages/urwid/container.py", line 595, in keypress
*self.calculate_padding_filler(size, True)), key)
File "/usr/local/lib/python3.6/site-packages/urwid/container.py", line 1590, in keypress
key = self.focus.keypress(tsize, key)
File "/usr/local/lib/python3.6/site-packages/urwid/container.py", line 2271, in keypress
key = w.keypress((mc,) + size[1:], key)
File "/home/ahriman/tildefun/bbj/clients/urwid/main.py", line 2109, in keypress
os.write(self.master, key.encode("utf8"))
OSError: [Errno 5] Input/output error

@MineRobber9000
Copy link
Contributor

@desvox any ideas?

@benharri
Copy link
Member

posting hangs on freebsd as well

@No-one-afk
Copy link

Hello!
I have this exact same issue!
Only difference is the last "line 2194, in keypress" instead of "line 2109, in keypress"
python version Python 3.9.13
OpenBSD 7.1 amd64
No other users on the server have this issue

@No-one-afk
Copy link

Hello! I didn't fix the issue BUT, you can edit .bbjrc
and change the line from:
"integrate_external_editor": true,
to
"integrate_external_editor": false,

It seems there is an integration issue (my editor is Nano, the best in the world) and when we updated our sever, something broke on MY end because i was the onlyone with this issue. Changing .profile didn't help so no idea what could be the culprit.

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

4 participants