View Issue Details

IDProjectCategoryView StatusLast Update
0004927ardourbugspublic2015-09-18 15:19
Reportercolinf Assigned Topaul  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Target Version3.0 
Summary0004927: Error opening session on read-only file system
DescriptionI'm not sure if this qualifies as a real bug, since I don't think A3 is doing anything technically incorrect, but it could probably be made to work more smoothly.

When opening a session on a read-only SD card, the following error appears in the 'Log' window:

[ERROR]: Error: could not write /media/02BE-7BBE/fat32-test/instant.xml

And also:

XML I/O error: Read-only file systemXML I/O error: Read-only file systemXML I/O error: Read-only file system

appears on the console output.

Although I suppose it probably is an error worth reporting if instant.xml can't be written, if I've opened a session on a read-only medium I probably know that already.

Subsequent attempts to save the session produce errors in the log window such as:

[ERROR]: Unable to create a backup copy of file /media/02BE-7BBE/fat32-test/fat32-test.ardour (Could not open files /media/02BE-7BBE/fat32-test/fat32-test.ardour and /media/02BE-7BBE/fat32-test/fat32-test.ardour.bak for copying)

It'd be nice if 'Save' were greyed-out in this case, and also other actions such as 'Add Track/Bus' that trigger a session save.
TagsNo tags attached.

Activities

paul

2012-06-12 20:21

administrator   ~0013490

these are regressions, since 2.X used to work on RDONLY media.

paul

2012-06-13 13:30

administrator   ~0013494

can you show the output of mount(1) and ls -ld /the/SD/card ?

colinf

2012-06-13 14:24

updater   ~0013495

$mount | grep /media/
/dev/mmcblk0p1 on /media/02BE-7BBE type vfat (ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)

$ls -ld /media/02BE-7BBE/
drwx------ 6 colinf colinf 4096 1970-01-01 01:00 /media/02BE-7BBE/

colinf

2012-06-13 14:26

updater   ~0013496

This is an SD card in the slot of my laptop with the 'lock' switch set on, btw.

cth103

2012-06-13 15:19

administrator   ~0013497

SVN 12701.

colinf

2015-09-18 15:19

updater   ~0017285

Closing old issues reported by me: these have long since been fixed.

Issue History

Date Modified Username Field Change
2012-06-12 17:08 colinf New Issue
2012-06-12 20:21 paul Note Added: 0013490
2012-06-12 20:22 paul Status new => assigned
2012-06-12 20:22 paul Assigned To => paul
2012-06-13 13:00 cth103 cost => 0.00
2012-06-13 13:00 cth103 Target Version => 3.0
2012-06-13 13:30 paul Note Added: 0013494
2012-06-13 14:24 colinf Note Added: 0013495
2012-06-13 14:26 colinf Note Added: 0013496
2012-06-13 15:19 cth103 Note Added: 0013497
2012-06-13 15:19 cth103 Status assigned => resolved
2012-06-13 15:19 cth103 Resolution open => fixed
2015-09-18 15:19 colinf Note Added: 0017285
2015-09-18 15:19 colinf Status resolved => closed