Fix Shot_Builder fails to invoke with correct project root directory #8

Merged
Nick Alberelli merged 6 commits from :fix/shot-builder-path-error into master 2023-04-13 16:07:29 +02:00
Member

Closes: TinyNick/blender-studio-tools#30

Todo

  • Currently expecting /media/data/pets/pro we need to accept this instead /media/data/pets/
  • Add Error message for similar errors

Changes

  • ensure_loaded_production() function now expects correct project root directory
  • Meaningful error messages have been added to make the issue more clear in the future

Why?

Shot_Builder is dependant on a filepath that is hard-coded into the project. If Blender-Kitsu already knows the project id than this shouldn't be the case. I would like to address issues like this in my PR #6

Demo

demo.gif

Closes: https://projects.blender.org/TinyNick/blender-studio-tools/issues/30 # Todo - [x] Currently expecting `/media/data/pets/pro` we need to accept this instead `/media/data/pets/` - [x] Add Error message for similar errors # Changes - `ensure_loaded_production()` function now expects correct project root directory - Meaningful error messages have been added to make the issue more clear in the future # Why? Shot_Builder is dependant on a filepath that is hard-coded into the project. If Blender-Kitsu already knows the project id than this shouldn't be the case. I would like to address issues like this in my PR https://projects.blender.org/studio/blender-studio-tools/pulls/6 # Demo ![demo.gif](/attachments/aed7878b-944a-40f7-8ed5-1123b4c5e44a)
475 KiB
Nick Alberelli added 6 commits 2023-04-13 15:51:27 +02:00
Sebastian Parborg approved these changes 2023-04-13 16:03:29 +02:00
Nick Alberelli merged commit 5139fa77e9 into master 2023-04-13 16:07:29 +02:00
Nick Alberelli deleted branch fix/shot-builder-path-error 2023-04-13 16:07:29 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio-tools#8
No description provided.