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

io.UnsupportedOperation: File or stream is not seekable. with python 3.6 #3

Open
theooze opened this issue Jan 3, 2022 · 0 comments

Comments

@theooze
Copy link

theooze commented Jan 3, 2022

On almalinux 8.x w/ the python36-3.6.8-38.module_el8.5.0+2569+5c5719bc.x86_64 package i get this error:

/usr/local/bin/negotiator-guest -vvv -d
2022-01-03 15:09:38 server.example.com negotiator_guest[18032] DEBUG Automatically selecting appropriate character device based on /sys/class/virtio-ports ..
2022-01-03 15:09:38 server.example.com negotiator_guest[18032] DEBUG Selected character device: /dev/vport1p3
2022-01-03 15:09:38 server.example.com negotiator_guest.cli[18032] ERROR Caught a fatal exception! Terminating ..
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/negotiator_guest/cli.py", line 123, in main
agent = GuestAgent(character_device=character_device, retry=False)
File "/usr/local/lib/python3.6/site-packages/negotiator_guest/init.py", line 61, in init
handle=custom_open(character_device, 'r+'),
io.UnsupportedOperation: File or stream is not seekable.

this looks like maybe related to a python bug:
https://bugs.python.org/issue20074

if i use python 2.7 on the same guest, i can start the daemon w/o issue and the negotiator-guest daemon and use the client w/o issue.

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

1 participant