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

TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' #102

Open
kqvanity opened this issue Feb 14, 2025 · 0 comments

Comments

@kqvanity
Copy link

I've obtained the consumer key, then the access key. Saved the two of them in a cfg file with the format key = 'consumer-key-123'. Attempted to login in using > poku -c auth.cfg but getting the following error

  poku -c .config/poku/auth.cfg
Traceback (most recent call last):
  File "/nix/store/nhwh78d3kmbhbhbrbkp5imhzsm1pj86y-python3.12-poku-0.1.3/bin/.poku-wrapped", line 9, in <module>
    sys.exit(main())
             ^^^^^^
  File "/nix/store/nhwh78d3kmbhbhbrbkp5imhzsm1pj86y-python3.12-poku-0.1.3/lib/python3.12/site-packages/poku/poku.py", line 48, in main
    pocket_items = [poku.pocket.item_to_dict(i)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/nhwh78d3kmbhbhbrbkp5imhzsm1pj86y-python3.12-poku-0.1.3/lib/python3.12/site-packages/poku/pocket.py", line 76, in item_to_dict
    'timestamp': int(p_item.get('time_updated'))
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
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