Ardour/yoshimi stopped saving synth parameters (debian)
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 71
- Joined: Thu Mar 21, 2019 3:54 pm
- Location: Tbilisi
- Has thanked: 16 times
- Been thanked: 12 times
- Contact:
Ardour/yoshimi stopped saving synth parameters (debian)
I'm not sure whether the issue is with Ardour or Yoshimi, so writing here looking for advice how to nail it down. After a system (debian sid) upgrade, every time i open ardour session with yoshimi instruments, all of them are reset to "simple sound". It seems like yoshimi was part of the upgrade, so i downgraded it to the previous (1.5.10) version using dpkg, but the issue did not go away. I've also backed up and removed ~/.config/yoshimi, because it kept complaining about non-xml in there, but it didn't help either. Now i'm out of ideas (besides compiling everything from source until it works, meh) what else to revert to fix the issue or at least how to nail down which package is responsible for it..
- Linuxmusician01
- Established Member
- Posts: 1542
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland
- Has thanked: 773 times
- Been thanked: 142 times
Re: Ardour/yoshimi stopped saving synth parameters (debian)
Maybe accidentally a "wrong" point or space was printed in that settings file. You say two things: your settings aren't read and the applications says that the settings file might be corrupt. Open the file w/ a text editor so see if something obvious is wrong.caryoscelus wrote:[...] I've also backed up and removed ~/.config/yoshimi, because it kept complaining about non-xml in there, but it didn't help either. [...]
-
- Established Member
- Posts: 71
- Joined: Thu Mar 21, 2019 3:54 pm
- Location: Tbilisi
- Has thanked: 16 times
- Been thanked: 12 times
- Contact:
Re: Ardour/yoshimi stopped saving synth parameters (debian)
If things are sane, per project settings shouldn't be stored in ~/.config/yoshimi (i can hardly imagine how it even would be stored there). In any case, yoshimi was saying it's not an xml and it indeed wasn't: it was a binary file. However, gunzipping it reveals it is merely a compressed xml and there doesn't seem to be anything (besides zero indent) wrong with it. And it doesn't seem to include nearly as much settings as would be enough for all my projects that ever used itLinuxmusician01 wrote:Maybe accidentally a "wrong" point or space was printed in that settings file. You say two things: your settings aren't read and the applications says that the settings file might be corrupt. Open the file w/ a text editor so see if something obvious is wrong.caryoscelus wrote:[...] I've also backed up and removed ~/.config/yoshimi, because it kept complaining about non-xml in there, but it didn't help either. [...]
- Linuxmusician01
- Established Member
- Posts: 1542
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland
- Has thanked: 773 times
- Been thanked: 142 times
Re: Ardour/yoshimi stopped saving synth parameters (debian)
Bummmer! Anyway, I don't know how Ardour works w/ settings files and projects. I'd try to start Yoshimi "stand alone" (if that's even possible) or via another application to determine if Yoshimi's settings are the culprit or Ardour is.caryoscelus wrote:If things are sane, per project settings shouldn't be stored in ~/.config/yoshimi (i can hardly imagine how it even would be stored there). In any case, yoshimi was saying it's not an xml and it indeed wasn't: it was a binary file. However, gunzipping it reveals it is merely a compressed xml and there doesn't seem to be anything (besides zero indent) wrong with it. And it doesn't seem to include nearly as much settings as would be enough for all my projects that ever used it.Linuxmusician01 wrote:Maybe accidentally a "wrong" point or space was printed in that settings file. You say two things: your settings aren't read and the applications says that the settings file might be corrupt. Open the file w/ a text editor so see if something obvious is wrong.caryoscelus wrote:[...] I've also backed up and removed ~/.config/yoshimi, because it kept complaining about non-xml in there, but it didn't help either. [...]
Good luck!
-
- Established Member
- Posts: 71
- Joined: Thu Mar 21, 2019 3:54 pm
- Location: Tbilisi
- Has thanked: 16 times
- Been thanked: 12 times
- Contact:
Re: Ardour/yoshimi stopped saving synth parameters (debian)
Thx ;) I actually just figured it out: two problems (reading global and per-track settings) were indeed related and the offending package is mxml library. Guess it's time to figure out debian bug tracker, but the great thing is that just downgrading already worksLinuxmusician01 wrote: Bummmer! Anyway, I don't know how Ardour works w/ settings files and projects. I'd try to start Yoshimi "stand alone" (if that's even possible) or via another application to determine if Yoshimi's settings are the culprit or Ardour is.
Good luck! :)
-
- Established Member
- Posts: 2080
- Joined: Mon Sep 28, 2015 8:06 pm
- Location: Here, of course!
- Has thanked: 227 times
- Been thanked: 400 times
- Contact:
Re: Ardour/yoshimi stopped saving synth parameters (debian)
This is due to a change in mxml 3.1 where they now no longer accept data that starts with a blank line (some warning would have been nice). In the latest version of Yoshimi this is fixed - V 1.6.0.1
We simply remove any bank lines, before passing it through mxml.
The irony is that it appears to be mxml that is actually creating the blank line when saving!
We simply remove any bank lines, before passing it through mxml.
The irony is that it appears to be mxml that is actually creating the blank line when saving!
The Yoshimi guy {apparently now an 'elderly'}
-
- Established Member
- Posts: 71
- Joined: Thu Mar 21, 2019 3:54 pm
- Location: Tbilisi
- Has thanked: 16 times
- Been thanked: 12 times
- Contact:
Re: Ardour/yoshimi stopped saving synth parameters (debian)
Eh, so it isn't even considered a bug in mxml?.. Anyway, i guess that makes Debian needs to update, then. Thanks for letting me knowfolderol wrote:This is due to a change in mxml 3.1 where they now no longer accept data that starts with a blank line (some warning would have been nice). In the latest version of Yoshimi this is fixed - V 1.6.0.1
We simply remove any bank lines, before passing it through mxml.
Yeah, that seems to be a problem..folderol wrote:The irony is that it appears to be mxml that is actually creating the blank line when saving!
- Linuxmusician01
- Established Member
- Posts: 1542
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland
- Has thanked: 773 times
- Been thanked: 142 times
Re: Ardour/yoshimi stopped saving synth parameters (debian)
[off topic] Wouhar! Twenty six years ago (!) I used ELM as a mail client on UNIX at the University during internship/graduation. One day I couldn't read my old mail anymore, which was stored locally. One of the students that was extremely savvy w/ computers - and actually set up said app for me - looked in the file in which contained the old mail (turned out to be simply a text file) and saw what the problem was. The file all of a sudden contained a (single) space as its first character. He removed the space and every thing was fine.folderol wrote:This is due to a change in mxml 3.1 where they now no longer accept data that starts with a blank line (some warning would have been nice). In the latest version of Yoshimi this is fixed - V 1.6.0.1
We simply remove any bank lines, before passing it through mxml.
The irony is that it appears to be mxml that is actually creating the blank line when saving!
Never thought such problems would still exist in 2019!