Standalone Publisher not opening

Hi there,

The tray Publisher is not opening in one specific user. I also tried opening it using the ayon console, but I didn’t get any log information of that.

Is there a way to get the log of this tool? Is this a knowing issue?
regards, Gabriel

There has been a certain release of dependency package a long time ago that would fail on a certain dependency, I think it was OIIO or OTIO. Anyway, can you try updating the dependency package?

A potential way to get more info would be to launch tray publisher from the command-line. @mustafa_jafar do you perhaps know the command line arguments needed to do so?

Yes, you can open the launch via CLI.

ayon_console.exe addon traypublisher launch

It’s actually mentioned here in docs: Tray Publisher for TDs

1 Like

I’m going to test it. Thanks!

Hey there,

I tried run and something really odd is happening…
Just to this specific user, when I try to open the publisher to the project “100_Days”, this error is raised:

Traceback (most recent call last):
  File "C:\Program Files\Ynput\AYON 1.3.2\dependencies\ayon_api\server_api.py", line 272, in raise_for_status
    self._response.raise_for_status()
  File "C:\Program Files\Ynput\AYON 1.3.2\dependencies\requests\models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://192.168.11.200:5000/api/addons/sitesync/1.2.5/settings/CORRIDA_DOS_BICHOS_2022?site=peach-hamster-of-culture&variant=production

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\traypublisher_0.3.6\ayon_traypublisher\api\main.py", line 63, in _on_timer
    install_host(host)
  File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\core_1.5.3\ayon_core\pipeline\context_tools.py", line 168, in install_host
    install_ayon_plugins(project_name, host_name)
  File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\core_1.5.3\ayon_core\pipeline\context_tools.py", line 220, in install_ayon_plugins
    anatomy = Anatomy(project_name)
  File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\core_1.5.3\ayon_core\pipeline\anatomy\anatomy.py", line 425, in __init__
    root_overrides = self._get_site_root_overrides(
  File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\core_1.5.3\ayon_core\pipeline\anatomy\anatomy.py", line 492, in _get_site_root_overrides
    sitesync_addon.get_active_site_type(project_name)
  File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\sitesync_1.2.5\ayon_sitesync\addon.py", line 723, in get_active_site_type
    sync_project_settings = self.get_sync_project_setting(project_name)
  File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\sitesync_1.2.5\ayon_sitesync\addon.py", line 1225, in get_sync_project_setting
    not self.sync_project_settings
  File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\sitesync_1.2.5\ayon_sitesync\addon.py", line 1158, in sync_project_settings
    self.set_sync_project_settings()
  File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\sitesync_1.2.5\ayon_sitesync\addon.py", line 1169, in set_sync_project_settings
    sync_project_settings = self._prepare_sync_project_settings(
  File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\sitesync_1.2.5\ayon_sitesync\addon.py", line 1183, in _prepare_sync_project_settings
    project_settings = get_addon_project_settings(
  File "C:\Program Files\Ynput\AYON 1.3.2\dependencies\ayon_api\_api.py", line 2854, in get_addon_project_settings
    return con.get_addon_project_settings(
  File "C:\Program Files\Ynput\AYON 1.3.2\dependencies\ayon_api\server_api.py", line 4006, in get_addon_project_settings
    result.raise_for_status()
  File "C:\Program Files\Ynput\AYON 1.3.2\dependencies\ayon_api\server_api.py", line 276, in raise_for_status
    raise HTTPRequestError(message, exc.response)
ayon_api.exceptions.HTTPRequestError: 403 Client Error: Forbidden for url: http://192.168.11.200:5000/api/addons/sitesync/1.2.5/settings/AyonProjectTest?site=peach-hamster-of-culture&variant=production

Detail: This project “AyonProjectTest” was just a first project that I created when I started doing the Ayon’s configuration, this user doesn’t have access to it.
Just to test, I did the access to this project, then the error showed in another project.

I’m going to backup the server and update it because it still at version 1.10.2+202507021153…but do you think would something else? Let me know if you already saw this before.

 File "C:\Users\o2\AppData\Local\Ynput\AYON\addons\sitesync_1.2.5\ayon_sitesync\addon.py", line 723, in get_active_site_type
   sync_project_settings = self.get_sync_project_setting(project_name)

It was sitesync, it was trying to access the project settings of a project that user didn’t have access to.


When opening the tray publisher, does it open a window to select a project or it just crashes?

I think we may have better log if the user doesn’t have permissions, maybe a pop up window that says, you don’t have permissions to access this project…

Also, I wonder if sitesync runs by default over all of the projects without skipping those that user doesn’t have access to.

That opens the window with the project list and then when I click on the project and click in open it crashes.

Then this windows should filter the project based on the permssions.
It shouldn’t show users a project they can’t access.

Yeah exactly. It not showing projects that they don’t have access. But when they click on the project that they have access, the sitesync is looking to another ones.
I think it’s not happening with me because I have access to all projects.

Hey there,

Another update:
I put this user as artist and sup in all projects and it worked. Previously, she was just artist and sup in one project (100_Dias)…I think the sitesync are looking for all active projects anyway, not only the project that we are accessing. I think it’s worth to investigate.

Thanks!