VSE Reports sounds as missing after filepath is fixed #114547
Labels
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#114547
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-6.2.0-36-generic-x86_64-with-glibc2.37 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 525.147.05
Blender Version
Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-11-06 14:51, hash:
9956ef4622d9
Short description of error
When fixing paths for sound strips, either via python or via the GUI, sound strips in the VSE will always report a missing file when executing
File>External Data>Report Missing Files
even after the strip filepath has been fixedTest Files
vse_sound_datablocks.zip
Exact steps for others to reproduce the error using provided files
01_missing_sound.blend
from vse_sound_datablocks.zip//audio_folder_02/testtone_50Hz.mp3
File>External Data>Report Missing Files
reports sound as missing, while sound file is actually valid02_fixed_missing_sound.blend
Exact steps for others to reproduce the error from scratch
File>External Data>Report Missing Files
reports sound as missingVSE Reports sounds as missing when filepath is fixedto VSE Reports sounds as missing after filepath is fixedHi, thanks for the report. I can confirm.
D.sounds['music_name'].filepath
returns correct filepath. But VSE outliner shows the old pathLooks like a long standing bug (3.0 fails too)
Bisecting some other bug right now so can not check/debug the code 😅
Shouldnt this also actually reload the Sound (after changing the filepath)?
The fact that you have to save and reload the .blend file to see a change also seems quite wrong to me...
Ah, it does reload the sound, it is just the corresponding StripElem(s) that dont receive an immediate update
@lichtwerk In my testing, you can just change the file path and the sound will be audible in the VSE.
The Save and Reload step isn't necessary to get the sound to play via the VSE, (although it is required to get the waveform of the sound strip to populate) so we can disregard that step in fact.
bpy.ops.sequencer.change_path()
gives you an update on the waveform (still no good update in the Outliner for the StripElem)This would work for the raw setting of the filepath (python or UI -- but same as above still no good update in the Outliner for the StripElem):
@lichtwerk Thanks you that is good to know!
The filepaths reporting as missing is really the piece of this that is causeing some blockages at the Blender Studio currently.
We just did some mass remapping of filepaths, and it would be nice to be able to tell if paths are genuienly broken or miss reported because of this bug.
This should be made cleaner, but to unblock you, you can try this:
(once the correct filepath is on the strip as well,
File>External Data>Report Missing Files
should go smoothly)@lichtwerk thank you! I will give it a test on a production file ASAP
In my testing the latest patch you commented didn't appear to work 😞 I still get the missing files reported both in the test file I attached to the issue and the production file I have the issue on.
Also I would need this in main so that the users who are on the production (mainly the editor) doesn't have these files report as missing anymore.
Have you run the python code in the patch comment?
@lichtwerk I had not, after running the python code in the patch comment I did get the expected result! Thank you, I will use a custom build with that patch and similar python code to cleanup the error messages in the meantime.