View Issue Details

IDProjectCategoryView StatusLast Update
0009317ardourbugspublic2023-05-17 16:30
Reporterkatana1232 Assigned Tox42  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformMicrosoftOSWindowsOS Version11
Product Version7.3 
Summary0009317: Ardour refuses to open projects with the PS-20 VST/VST3 in them
DescriptionEvery time I save a project with the PS-20 VST or VST3 in it the file doesn't show up in the recent sessions menu and if I try too load it from the file browser it gives me these errors

ERROR: Cannot get existing session information from E:\Ardour7\test\test.ardour
ERROR: XML error: PCDATA invalid Char value 16 in file:/E:/Ardour7/test/test.ardour at line 593:52
ERROR: XML error: Couldn't find end of Start Tag Controllable line 593 in file:/E:/Ardour7/test/test.ardour at line 593:52
ERROR: XML error: attributes construct error in file:/E:/Ardour7/test/test.ardour at line 593:52
ERROR: XML error: invalid character in attribute value in file:/E:/Ardour7/test/test.ardour at line 593:52
ERROR: XML error: PCDATA invalid Char value 16 in file:/E:/Ardour7/test/test.ardour at line 592:52
ERROR: XML error: Couldn't find end of Start Tag Controllable line 592 in file:/E:/Ardour7/test/test.ardour at line 592:52
ERROR: XML error: attributes construct error in file:/E:/Ardour7/test/test.ardour at line 592:52
ERROR: XML error: invalid character in attribute value in file:/E:/Ardour7/test/test.ardour at line 592:52
ERROR: XML error: PCDATA invalid Char value 16 in file:/E:/Ardour7/test/test.ardour at line 593:52
...

the name of the save file here was test since I was trying to reproduce the bug. It also gives the same errors inside Ardour if I have a glitched file on my hard drive when I stat a new session.
Steps To Reproduce1. Create a session
2. Add PS-20 VST or VST3
3. Save session
4. Try to reload the saved project
Tags7.3, VST3

Relationships

related to 0009337 new filenames with german umlaute 

Activities

katana1232

2023-04-25 15:18

reporter  

test.zip (21,961 bytes)

x42

2023-04-25 15:24

administrator   ~0027619

Last edited: 2023-04-25 15:25

Thanks the .zip was helpful. Issue understood: This is caused by invalid parameter name provided by the plugin

Controllable name="Envelope Generator 1 - Velocity Amount" id="485" flags="" value="0" parameter="106"

x42

2023-04-25 15:27

administrator   ~0027620

invalid-utf8-char.png (34,935 bytes)   
invalid-utf8-char.png (34,935 bytes)   

katana1232

2023-04-25 15:34

reporter   ~0027621

Is there something I can do to fix this? Sorry this is my first time reporting a bug for ardour so I don't know how support works for ardour normally . Thanks for the cause of the issue in any case :)

x42

2023-04-26 22:03

administrator   ~0027624

On order to load the session, you could edit the the .ardour session file in a text editor and remove any chars that are not UTF-8

> ERROR: XML error: PCDATA invalid Char value 16 in file:/E:/Ardour7/test/test.ardour at line 593:52

here line 593 in the file, char 52 on that line.

Since Ardour 7.4.2 (or later, available from https://nightly.ardour.org/ a few hours from now) ,Ardour does no longer write invalid UTF-8 from plugins.
Sadly the 7.4 release process was already underway, and this fix was a bit too late.

> Is there something I can do to fix this?

Depends, if you can write C++ source code, if so you might have come up with a solution like
https://github.com/Ardour/ardour/commit/4b77ecbe8303cb2102dd77a04b92be0103bd008b
https://github.com/Ardour/ardour/commit/df298c6046d4a3fd4f8b4ba81845d4623804eb46

Issue History

Date Modified Username Field Change
2023-04-25 15:18 katana1232 New Issue
2023-04-25 15:18 katana1232 Tag Attached: 7.3
2023-04-25 15:18 katana1232 Tag Attached: VST3
2023-04-25 15:18 katana1232 File Added: test.zip
2023-04-25 15:24 x42 Note Added: 0027619
2023-04-25 15:25 x42 Status new => confirmed
2023-04-25 15:25 x42 Note Edited: 0027619
2023-04-25 15:27 x42 Note Added: 0027620
2023-04-25 15:27 x42 File Added: invalid-utf8-char.png
2023-04-25 15:34 katana1232 Note Added: 0027621
2023-04-26 22:03 x42 Note Added: 0027624
2023-04-26 22:04 x42 Assigned To => x42
2023-04-26 22:04 x42 Status confirmed => resolved
2023-04-26 22:04 x42 Resolution open => fixed
2023-05-17 16:30 x42 Relationship added related to 0009337