From: Jonatan L. <li...@ky...> - 2007-02-27 23:09:47
|
Tony Houghton wrote: > Oops, I posted this to the wrong list before. > > 1. Failure to create device icons in Ubuntu Edgy > > Today I investigated why DeviceHandler doesn't create icons on my Ubuntu > Edgy laptop. It's not DeviceHandler's fault, but it's something that > could be fixed by changing DeviceHandler. The problem is that Ubuntu's > sh is dash which is broken. When DeviceHandler tries to run a rox > command with heredoc notation, dash includes the 'EOF' string at the > end, causing rox to reject it as invalid XML. It's not the only problem > I've had with dash, but I can't remember what the other thing was; > something to do with IFS IIRC. But anyway, this heredoc problem could be > avoided by changing DeviceHandler I think, because there's no need for > it to use heredoc. The command could be one long line (but still be > split up in the python source to keep it neat). > > 2. Incorrect mount point > > I think this bug may have been introduced in 0.2.10, looking at the > ChangeLog. When I insert a CD ROM the pseudo-app is initially created > pointing to /media/cdrom but pmount mounts it to /media/hdc. Clicking on > it does mount the disc correctly, but it opens the wrong directory or > produces an error unless I symlink to /media/cdrom. Subsequent clicks > open the correct directory. I think to fix this DeviceHandler will have > to scan /etc/fstab to make sure it's consistent with pmount. If one doesn't use fstab-sync, there will be no entries in fstab for the devices. I don't think that's the right fix. I get the problems here too sometimes... Another example is that it doesn't handle spaces in mountpoints right. If the inserted media gets mounted as "My USB stick" DeviceHandler fails.. -- /Jonatan -=( http://kymatica.com )=- |