View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003748 | ardour | bugs | public | 2011-01-31 15:41 | 2020-04-19 20:15 |
| Reporter | realhangman | Assigned To | realhangman | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Target Version | 3.0 | ||||
| Summary | 0003748: A3 can't open read-only A2 sessions | ||||
| Description | When I try to open a read-only session with A3 rev 8622 it says that session cannot be loaded. Console output: "There are no dangling shared ptrs" | ||||
| Tags | No tags attached. | ||||
|
|
this should be fixed as of rev 8633. thanks for testing it. |
|
|
Thanks for the quick answer, but unfortunately it isn't working for me with rev 8633, it's still the same. |
|
|
Can you post the whole console output? |
|
|
I've just talked to cth103 on irc. Loading a read-only A3 session works fine with rev 8633. The problem is a read-only session created with A2 (2.8.11 here). Sorry for not pointing that out. |
|
|
is this still an issue? |
|
|
Yes, A3 rev 12756 tells me: [...] Copying old session file /projects/test-live-mix/test-live-mix.ardour to /projects/test-live-mix/test-live-mix-2000.ardour Use /projects/test-live-mix/test-live-mix-2000.ardour with Ardour versions before 2.0 from now on [ERROR]: Unable to make backup of state file /projects/test-live-mix/test-live-mix.ardour (Could not open files /projects/test-live-mix/test-live-mix.ardour and /projects/test-live-mix/test-live-mix-2000.ardour for copying) |
|
|
But I don't know if this really needs to work. It's a rare case. I don't need it, I reported the issue because I thought A3 could not open any read-only sessions. |
|
|
should be fixed in rev 12823. let me know. |
|
|
Thanks! It works if the folder itself is writable. The file SESSION-2000.ardour must be createable. If the whole folder is read only, the same error as above ("Unable to make backup file...") shows up. For me that's fine and you can close the bug, but it's not 100% "A3 opens A2 sessions from a read-only medium" if that is what should work. |
|
|
Works for me. What do you mean by "read only" here? Is this in terms of permissions, or is the folder on a read-only filesystem? |
|
|
Permissions. If the folder itself is read only, then this error message appears. If the folder is writable, but the files aren't, it works. Surprisingly, Ardour3 does not create any additional files then (no -2000 file). |
|
|
when the error appears, i suspect that you have this situation: foo/foo.ardour <= writable foo <= read-only this is not what we would consider a "read only" session. a read-only session is identified by the write permissions of foo/foo.ardour, and is generally assumed to be the result of either: chmod -R a-w foo or placing the entire session folder on a read-only filesystem. simply changing just the top folder to read-only isn't enough. the "fail" is intentional in this case, because ... if the entire folder is read only, then nothing ardour can do will make a difference, and so not creating a backup of the v2 session file is not important. but ... if the session file itself is writable and we fail to make a backup of the v2 version, then we could damage the session for the user by saving it as a v3 file. its therefore appropriate that we fail to open. i think however, that the error message needs to be more clear. |
|
|
Yes, you're totally right! Sorry, I confused the write permissions. Thanks for spending so much time on this! |
|
|
I think this was addressed in 2012. |
|
|
Issue has been closed automatically, by Trigger Close Plugin. Feel free to re-open with additional information if you think the issue is not resolved. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-01-31 15:41 | realhangman | New Issue | |
| 2011-01-31 16:12 | cth103 | cost | => 0.00 |
| 2011-01-31 16:12 | cth103 | Target Version | => 3.0-beta1 |
| 2011-01-31 19:02 | paul | Note Added: 0010009 | |
| 2011-01-31 19:02 | paul | Status | new => feedback |
| 2011-01-31 19:47 | realhangman | Note Added: 0010010 | |
| 2011-01-31 21:40 | cth103 | Note Added: 0010011 | |
| 2011-01-31 22:01 | realhangman | Note Added: 0010012 | |
| 2011-02-02 03:57 | paul | Summary | A3 can't open read-only sessions => A3 can't open read-only A2 sessions |
| 2011-11-15 17:21 | cth103 | Target Version | 3.0-beta1 => 3.0-beta2 |
| 2012-01-10 20:46 | cth103 | Target Version | 3.0-beta2 => 3.0-beta3 |
| 2012-02-14 17:20 | paul | Target Version | 3.0-beta3 => 3.0 beta4 |
| 2012-04-23 22:07 | cth103 | Status | feedback => acknowledged |
| 2012-05-23 15:07 | cth103 | Target Version | 3.0 beta4 => 3.0 |
| 2012-06-22 17:15 | paul | Note Added: 0013667 | |
| 2012-06-22 17:17 | paul | Status | acknowledged => feedback |
| 2012-06-22 17:46 | realhangman | Note Added: 0013671 | |
| 2012-06-22 17:47 | realhangman | Note Edited: 0013671 | |
| 2012-06-22 17:49 | realhangman | Note Added: 0013672 | |
| 2012-06-22 19:44 | paul | Note Added: 0013673 | |
| 2012-06-23 03:12 | realhangman | Note Added: 0013676 | |
| 2012-06-24 23:27 | cth103 | Note Added: 0013688 | |
| 2012-06-25 13:25 | realhangman | Note Added: 0013694 | |
| 2012-06-25 13:58 | paul | Note Added: 0013695 | |
| 2012-06-25 15:26 | realhangman | Note Added: 0013699 | |
| 2015-03-12 22:34 | realhangman | Note Added: 0016423 | |
| 2015-03-12 22:34 | realhangman | Status | feedback => resolved |
| 2015-03-12 22:34 | realhangman | Resolution | open => fixed |
| 2015-03-12 22:34 | realhangman | Assigned To | => realhangman |
| 2020-04-19 20:15 | system | Note Added: 0022391 | |
| 2020-04-19 20:15 | system | Status | resolved => closed |