View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000772 | ardour | bugs | public | 2004-11-15 22:56 | 2008-11-20 23:43 |
| Reporter | manu | Assigned To | paul | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0000772: Gain automation loads incorrectly for some locale terminal settings | ||||
| Description | When using a locale which uses the comma (,) as decimal separator (fr_FR@euro for example), then the gain automation graph is flat when reloading a session from the hard drive. | ||||
| Additional Information | After changing the Locale setting to another one (en_US) the session loads correctly. after looking into the source code, it seems due to the behaviour of scanf function in libs/ardour/io.cc method IO::load_automation (const string& path) : sscanf (line, "%c %lu %lf", &type, &when, &value) in this this case nothing is read after the point delimiter for the value parameter (ie the value 0.315273 is read 0) As a newbee in C++, i don't have any alternative call yet. Emmanuel Verhee | ||||
| Tags | No tags attached. | ||||
|
|
this is a known bug, and i thank you for tracking it down. but you should also notice that surrounding that call is a setenv of LOCALE. we don't understand why it doesn't have any effect when it its called here rather than in the parent shell. |
|
|
thanks for the reply, i will search a bit further in case i find any clue |
|
|
I have checked it on my system with locale pl_PL and when I switch to en_US and create a session on ardour with some gain automation, save and reopen everything is fine, but when I switch to pl_PL it is not ok again. |
|
|
what version of ardour? this was fixed within the last month, as far we know. |
|
|
I use ardour-0.9beta22 from thac rpm's, it was updated on 2005-01-23. |
|
|
its fixed in beta23, released january 6th 2005. |
|
|
see bugnotes for history. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-11-15 22:56 | manu | New Issue | |
| 2004-11-16 00:41 | paul | Note Added: 0001600 | |
| 2004-11-18 19:07 | manu | Note Added: 0001620 | |
| 2005-01-27 23:30 | piotr | Note Added: 0001941 | |
| 2005-02-03 13:42 | paul | Note Added: 0001958 | |
| 2005-02-03 14:37 | piotr | Note Added: 0001959 | |
| 2005-02-03 14:48 | paul | Note Added: 0001960 | |
| 2005-02-06 16:34 | paul | Status | new => resolved |
| 2005-02-06 16:34 | paul | Resolution | open => fixed |
| 2005-02-06 16:34 | paul | Assigned To | => paul |
| 2005-02-06 16:34 | paul | Note Added: 0001965 | |
| 2008-11-20 23:43 | seablade | Status | resolved => closed |