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

Kitsu Addon: auto re-authorize #66

Open
2 tasks done
martastain opened this issue Jul 18, 2024 · 0 comments
Open
2 tasks done

Kitsu Addon: auto re-authorize #66

martastain opened this issue Jul 18, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@martastain
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior:

when service fails with the following exception:
Traceback (most recent call last): File "/service/processor/processor.py", line 128, in start_processing full_sync(self, kitsu_project_id, ayon_project_name) File "/service/processor/fullsync.py", line 40, in full_sync asset_types = get_asset_types(kitsu_project_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/service/processor/fullsync.py", line 14, in get_asset_types raw_asset_types = gazu.asset.all_asset_types_for_project(kitsu_project_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gazu/cache.py", line 204, in wrapper return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gazu/asset.py", line 275, in all_asset_types_for_project return sort_by_name(raw.fetch_all(path, client=client)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gazu/client.py", line 339, in fetch_all return get(url_path_join("data", path), params=params, client=client) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gazu/client.py", line 206, in get check_status(response, path) File "/usr/local/lib/python3.11/site-packages/gazu/client.py", line 312, in check_status raise NotAuthenticatedException(path) gazu.exception.NotAuthenticatedException: data/projects/fe07d5b9-8492-4071-bf0b-63033743009e/asset-types (edited)

Expected Behavior:

enforce re-login and try to process the event again

Version

1.0.0

What platform you are running on?

Linux / Ubuntu

Steps To Reproduce:

just wait

Are there any labels you wish to add?

  • I have added the relevant labels to the bug report.

Relevant log output:

No response

Additional context:

No response

@martastain martastain added the type: bug Something isn't working label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant