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

NameError: name 'fcntl' is not defined #11

Closed
ooker777 opened this issue Aug 26, 2023 · 1 comment
Closed

NameError: name 'fcntl' is not defined #11

ooker777 opened this issue Aug 26, 2023 · 1 comment

Comments

@ooker777
Copy link

Here is the log I get when running keep tui:

Username: [email protected]
[INFO] Authenticating with token
WARNING:root:Unable to find state file: C:\Users\ganuo/.keep\[email protected]
[INFO] Success
INFO:keep-cli:Success
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Scripts\keep.exe\__main__.py", line 7, in <module>
  File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Lib\site-packages\keep_cli\__main__.py", line 190, in main
    args.func(args, keep, config)
  File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Lib\site-packages\keep_cli\commands.py", line 44, in tui
    app.run()
  File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Lib\site-packages\keep_cli\application.py", line 132, in run
    loop = urwid.MainLoop(self, constants.Palette)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Lib\site-packages\urwid\main_loop.py", line 115, in __init__
    screen = raw_display.Screen()
             ^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Lib\site-packages\urwid\raw_display.py", line 92, in __init__
    fcntl.fcntl(self._resize_pipe_rd, fcntl.F_SETFL, os.O_NONBLOCK)
    ^^^^^
NameError: name 'fcntl' is not defined

Python 3.11.3 on Windows 11.

@ooker777
Copy link
Author

duplicated of #10

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