Error with incomplete core with distributed config

Starting today I can’t open my distributed config.
when I compare the files in the pipeline config folder its missing a bunch of files when I compare it to my centralized config.

2020-08-03 11:07:20,984 [   ERROR] Error

No module named errors

Traceback (most recent call last):
  File "C:\Users\JHultgren\AppData\Roaming\Shotgun\bundle_cache\app_store\tk-desktop\v2.5.4\python\utils\bootstrap_utilities.py", line 232, in start_engine
    return manager.bootstrap_engine("tk-desktop", self._project)
  File "C:\Users\JHultgren\AppData\Roaming\Shotgun\my_site\site.basic.desktop\cfg\install\core\python\tank\bootstrap\manager.py", line 490, in bootstrap_engine
    tk = self._bootstrap_sgtk(engine_name, entity)
  File "C:\Users\JHultgren\AppData\Roaming\Shotgun\my_site\site.basic.desktop\cfg\install\core\python\tank\bootstrap\manager.py", line 1104, in _bootstrap_sgtk
    tk, user = config.get_tk_instance(self._sg_user)
  File "C:\Users\JHultgren\AppData\Roaming\Shotgun\my_site\site.basic.desktop\cfg\install\core\python\tank\bootstrap\configuration.py", line 127, in get_tk_instance
    if self._swap_core_if_needed(python_core_path):
  File "C:\Users\JHultgren\AppData\Roaming\Shotgun\my_site\site.basic.desktop\cfg\install\core\python\tank\bootstrap\configuration.py", line 220, in _swap_core_if_needed
    CoreImportHandler.swap_core(target_python_core_path)
  File "C:\Users\JHultgren\AppData\Roaming\Shotgun\my_site\site.basic.desktop\cfg\install\core\python\tank\bootstrap\import_handler.py", line 95, in swap_core
    import tank
  File "C:\Users\JHultgren\AppData\Roaming\Shotgun\my_site\site.basic.desktop\cfg\install\core\python\tank\bootstrap\import_handler.py", line 344, in load_module
    module = imp.load_module(module_fullname, file_obj, filename, desc)
  File "C:\Users\JHultgren\AppData\Roaming\Shotgun\my_site\p119c89.basic.desktop\cfg\install\core\python\tank\__init__.py", line 110, in 
    from . import authentication
  File "C:\Users\JHultgren\AppData\Roaming\Shotgun\my_site\site.basic.desktop\cfg\install\core\python\tank\bootstrap\import_handler.py", line 344, in load_module
    module = imp.load_module(module_fullname, file_obj, filename, desc)
  File "C:\Users\JHultgren\AppData\Roaming\Shotgun\my_site\p119c89.basic.desktop\cfg\install\core\python\tank\authentication\__init__.py", line 21, in 
    from .errors import (  # noqa
ImportError: No module named errors

image

2 Likes

hmm, that certainly looks corrupt.
Does clearing the cached config fix the issue?

1 Like

I had to delete the entire folder for that config, but it worked after that.
I’m not sure what happened it was a weird error.

2 Likes