ShotgunPublishError: Path must be a valid file,

From the error and code it seems the resources folder and file in it are missing. First question that comes to mind is should it come this far if configuration was installed correctly. I don’t know. Now, what should one do to deal with this error. Do i need to run a tank update command.?


File “Z:\Shared drives\Shotgun test\basic_configuration\config\install\core\python\tank\util\shotgun\”, line 353, in register_publish
raise ShotgunPublishError(error_message=“%s” % e, entity=entity)
tank.util.errors.ShotgunPublishError: Unable to complete publishing because of the following error: Path must be a valid file, got ‘Z:\Shared drives\Shotgun test\basic_configuration\config\install\core\python\tank\util\resources\no_preview.jpg’, although PublishedFile seq001_shot_001_CMP_v004.nk (id: 531) was created.


            # no thumbnail found - instead use the default one
            this_folder = os.path.abspath(os.path.dirname(__file__))
            no_thumb = os.path.join(
                this_folder, os.path.pardir, "resources", "no_preview.jpg"
                published_file_entity_type, entity.get("id"), no_thumb

Seems like a bug, are you using the latest tk-core?