Collada/FBX Presets save the file path #50924

Closed
opened 2017-03-12 10:21:46 +01:00 by mathieu menuet · 9 comments

System Information
all vendors

Blender Version
Broken: latest master

Short description of error
Although it is not used, the file path is saved in the preset file. If a non-Ascii character is present in path, it crashes.

Exact steps for others to reproduce the error
add this preset to your collada preset folder: Bugy_preset.py and try to load it when calling the collada importer.
Best solution would be to not save the filepath in the preset file as it's not used (and it's good so) anyway.

**System Information** all vendors **Blender Version** Broken: latest master **Short description of error** Although it is not used, the file path is saved in the preset file. If a non-Ascii character is present in path, it crashes. **Exact steps for others to reproduce the error** add this preset to your collada preset folder: [Bugy_preset.py](https://archive.blender.org/developer/F507625/Bugy_preset.py) and try to load it when calling the collada importer. Best solution would be to not save the filepath in the preset file as it's not used (and it's good so) anyway.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @bliblubli

Added subscriber: @bliblubli
Campbell Barton changed title from collada presets save the file path, leading to crashes to collada presets save the file path 2017-03-12 13:22:32 +01:00
Gaia Clary changed title from collada presets save the file path to Collada/FBX Presets save the file path 2017-03-12 16:01:30 +01:00

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2017-03-14 15:25:44 +01:00

Exact same issue as in #50926 actually…

Exact same issue as in #50926 actually…

Closed as duplicate of #50926

Closed as duplicate of #50926
Author

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Author

@mont29 well actually, @ideasman42 asked me to split the task in 2 on IRC. The point was that path shouldn't be saved in presets, at least not in every case. I have no strong opinion here now that the encoding bug is fixed. It just works, even if one can find it a bit "dirty". So maybe you can speak about this together?

@mont29 well actually, @ideasman42 asked me to split the task in 2 on IRC. The point was that path shouldn't be saved in presets, at least not in every case. I have no strong opinion here now that the encoding bug is fixed. It just works, even if one can find it a bit "dirty". So maybe you can speak about this together?

Agree that, ideally, path should not be written. But since this is not affecting blender behavior, would consider this a TODO (our whole preset system needs a serious rework anyway…).

Agree that, ideally, path should not be written. But since this is not affecting blender behavior, would consider this a TODO (our whole preset system needs a serious rework anyway…).
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
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: blender/blender#50924
No description provided.