_bat_pack_filesystem should use bpathlib for project_path #104186

Closed
opened 2023-02-18 17:05:04 +01:00 by sentharn · 1 comment

System Information
Operating System(s): Windows 11

Flamenco Version
Is Broken: 3.1

Short description of error

flamenco should use bpathlib instead of bpy.pathpath in this line in operators.py

operators.py:328 _bat_pack_filesystem()

        project_path = Path(bpy.path.abspath(str(project_path))).resolve()
**System Information** Operating System(s): Windows 11 **Flamenco Version** Is Broken: 3.1 **Short description of error** flamenco should use bpathlib instead of bpy.pathpath in this line in operators.py operators.py:328 `_bat_pack_filesystem()` project_path = Path(bpy.path.abspath(str(project_path))).resolve()
sentharn added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2023-02-18 17:05:04 +01:00

Calling bpy.path.abspath() is necessary to convert the Blender-specific notation for blendfile-relative paths (//blabla.file) to an absolute path that the rest of the world can understand. However, the call to .resolve() was problematic, and that has been removed in Flamenco v3.4.

Calling `bpy.path.abspath()` is necessary to convert the Blender-specific notation for blendfile-relative paths (`//blabla.file`) to an absolute path that the rest of the world can understand. However, the call to `.resolve()` was problematic, and that has been removed in Flamenco v3.4.
Sign in to join this conversation.
No Milestone
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/flamenco#104186
No description provided.