Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

AttributeError: 'FileWrapper' object has no attribute 'fileno' #39

Open
papoteur-mga opened this issue Nov 12, 2023 · 0 comments
Open

Comments

@papoteur-mga
Copy link

I'm trying this basic example:

from pychroot import Chroot
with Chroot("/home/yves/mock/lib/mageia-cauldron-x86_64/root"):
    pass

But I get:

Running script: "petit_test.py"
Traceback (most recent call last):
  File "petit_test.py", line 2, in <module>
    with Chroot("/home/yves/mock/lib/mageia-cauldron-x86_64/root"):
  File "/usr/lib/python3.10/site-packages/snakeoil/contexts.py", line 165, in __exit__
    raise exc
AttributeError: 'FileWrapper' object has no attribute 'fileno'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant