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

[Bug]: #116

Open
AltanderMetaban opened this issue Jan 14, 2025 · 0 comments
Open

[Bug]: #116

AltanderMetaban opened this issue Jan 14, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@AltanderMetaban
Copy link

evernote-backup version

evernote-backup, version 1.9.3

What OS are you using?

Windows

OS Version / Linux distribution

Windows 10

Bug description

Really appreciate this program and would love to use it. but unfortunately probably making a noob eror, i have double checked my username and password many times but nothing. when i evernote-backup init-db

Log excerpt

evernote-backup init-db --user XXXXXXXXX --password XXXXXXXXX
Logging in to Evernote...
Traceback (most recent call last):
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\cli.py", line 305, in main
    cli()
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\click\core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\click\core.py", line 1082, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\click\core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\click\core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\click\core.py", line 788, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\cli.py", line 158, in init_db
    cli_app.init_db(
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\cli_app.py", line 38, in init_db
    auth_token = get_auth_token(
                 ^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\cli_app_auth.py", line 56, in get_auth_token
    return evernote_login_password(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\cli_app_auth_password.py", line 56, in evernote_login_password
    auth_res = auth_client.login(auth_user, auth_password)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\evernote_client_auth.py", line 27, in login
    return self.user_store.authenticateLongSessionV2(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\evernote_client.py", line 138, in wrapper
    return target_method_retry(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\evernote_client_util.py", line 28, in wrapper
    return fun(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\evernote_client_classes.py", line 283, in authenticateLongSessionV2
    self.send_authenticateLongSessionV2(
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\evernote_client_classes.py", line 326, in send_authenticateLongSessionV2
    request.write(self._oprot)
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\evernote_client_classes.py", line 254, in write
    self.auth_args.write(oprot)
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\evernote_backup\evernote_client_classes.py", line 141, in write
    oprot.writeString(self.usernameOrEmail.encode("utf-8"))
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\thrift\protocol\TProtocol.py", line 122, in writeString
    self.writeBinary(str_to_binary(str_val))
                     ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Being\pyproj\learnin_log_env\Lib\site-packages\thrift\compat.py", line 43, in str_to_binary
    return bytes(str_val, 'utf8')
           ^^^^^^^^^^^^^^^^^^^^^^
TypeError: encoding without a string argument
@AltanderMetaban AltanderMetaban added the bug Something isn't working label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant