Coder Social home page Coder Social logo

keep-cli's People

Contributors

aristide-n avatar erikboesen avatar kiwiz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

keep-cli's Issues

NameError: name 'fcntl' is not defined

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.

Missing commands?

I've just set this up and I'm not sure why, but it seems like there is no keep sync or keep tui commands?

image

If I do keep --quick, then it will prompt me to enter my Google account details and it will proceed to show a list of my notes, but then eventually it'll error out:

image

Import errors: python 3.10 in Windows

C:\Windows\System32\drivers\etc>keep-cli --help
Traceback (most recent call last):
  File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Python310\Scripts\keep-cli.exe\__main__.py", line 4, in <module>
  File "C:\Python310\lib\site-packages\keep\keep.py", line 19, in <module>
    from PyInquirer import prompt
  File "C:\Python310\lib\site-packages\PyInquirer\__init__.py", line 6, in <module>
    from prompt_toolkit.token import Token
  File "C:\Python310\lib\site-packages\prompt_toolkit\__init__.py", line 16, in <module>
    from .interface import CommandLineInterface
  File "C:\Python310\lib\site-packages\prompt_toolkit\interface.py", line 19, in <module>
    from .application import Application, AbortAction
  File "C:\Python310\lib\site-packages\prompt_toolkit\application.py", line 8, in <module>
    from .key_binding.bindings.basic import load_basic_bindings
  File "C:\Python310\lib\site-packages\prompt_toolkit\key_binding\bindings\basic.py", line 9, in <module>
    from prompt_toolkit.renderer import HeightIsUnknownError
  File "C:\Python310\lib\site-packages\prompt_toolkit\renderer.py", line 11, in <module>
    from prompt_toolkit.styles import Style
  File "C:\Python310\lib\site-packages\prompt_toolkit\styles\__init__.py", line 8, in <module>
    from .from_dict import *
  File "C:\Python310\lib\site-packages\prompt_toolkit\styles\from_dict.py", line 9, in <module>
    from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Python310\lib\collections\__init__.py)

Does this look like a lack of dependencies?

I will try to find a container, seems like this happens a lot with things I install using pip.

Store configuration in home dotfile

This is something that would be especially useful to implement. If users want to be able to run keep as a command from any working directory, or to store their configuration in a dotfiles repository, they'd have a much easier time if the configuration for this tool were in a constant location in the filesystem rather than just in whichever directory they cloned keep-cli to.

TUI Sort order - date added

Hi,

I love this tool.
When there are many notes its difficult to find them without sort order of date added.
Would be a nice feature...

OS: Linux Manjaro
Kernel: 5.4.150-1-MANJARO

not sure howto retrieve keep-cli version, though it was pulled on 5th of dezember 2021

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.