[Bug 475811] Re: crashes when a filename uses ":"
Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: https://bugzilla.gnome.org/show_bug.cgi?id=603028 ** Bug watch added: GNOME Bug Tracker #603028 https://bugzilla.gnome.org/show_bug.cgi?id=603028 ** Changed in: f-spot (Ubuntu) Importance: Undecided => Medium ** Changed in: f-spot (Ubuntu) Status: New => Triaged ** Changed in: f-spot (Ubuntu) Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs) ** Also affects: f-spot via https://bugzilla.gnome.org/show_bug.cgi?id=603028 Importance: Unknown Status: Unknown -- crashes when a filename uses ":" https://bugs.launchpad.net/bugs/475811 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 475811] Re: crashes when a filename uses ":"
Could somebody having the bug add .config/f-spot/photos.db there or explain how to import a buggy image? -- crashes when a filename uses ":" https://bugs.launchpad.net/bugs/475811 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 475811] Re: crashes when a filename uses ":"
Sebastien: the easiest way to import a 'buggy' image (?) is to remove the colon from the name... or is that not what you meant? To get f-spot to run as it is (without any patches) I'd suggest changing the name of the picture on the filesystem and in the database. Even though you could %-encode colons in the database this currently does not seem to work well as they get written back as ordinary colons by f-spot. To change the name in the database I'd suggest dumping it, editing the dump and importing it again: sqlite3 .config/f-spot/photos.db .dump > photos.dump edit the resulting dump (change the offending colons into periods or underscores or whatnot) change the filenames on the filesystem in a similar way import the database: cat photos.dump|sqlite3 photos.db If sqlite3 does not give any errors and the database has a sane size (slightly smaller than the original photos.db) you can try to start f-spot with it: mv .config/f-spot/photos.db .config/f-spot/photos.db.org mv photos.db config/f-spot/photos.db f-spot --debug If it starts and the offending pictures are visible you're good to go. If it crashes you might have forgotten a colon or two or messed up the database in another way. If the offending pictures are missing you might have forgotten to rename them in the filesystem. -- crashes when a filename uses ":" https://bugs.launchpad.net/bugs/475811 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 475811] Re: crashes when a filename uses ":"
the question is to know how you managed to get f-spot crashing due such files since it refuses to import files using a ':' -- crashes when a filename uses ":" https://bugs.launchpad.net/bugs/475811 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 475811] Re: crashes when a filename uses ":"
Well, I can confirm this issue. I'm using f-spot for years (with some files containing colons in their name) and recently (after update) only that made the application crash. I can provide you with a little python script I wrote to rename files and database entries, but that would not solve the real problem, though... I can confirm that after renaming, f-spot works like a charm again! -- crashes when a filename uses ":" https://bugs.launchpad.net/bugs/475811 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 475811] Re: crashes when a filename uses ":"
There is a notice in Mono's Uri.cs that there is a difference between Mono 1.2 and Mono 2.0 in how scheme name characters are checked: // Check scheme name characters as specified in RFC2396. // Note: different checks in 1.x and 2.0 (mcs/class/System/System/Uri.cs:1380) Maybe that is what triggered this bug? -- crashes when a filename uses ":" https://bugs.launchpad.net/bugs/475811 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 475811] Re: crashes when a filename uses ":"
Upstream bug has been marked as duplicate of bug https://bugzilla.gnome.org/show_bug.cgi?id=559093. ** Bug watch added: GNOME Bug Tracker #559093 https://bugzilla.gnome.org/show_bug.cgi?id=559093 ** Changed in: f-spot Remote watch: GNOME Bug Tracker #603028 => GNOME Bug Tracker #559093 -- crashes when a filename uses ":" https://bugs.launchpad.net/bugs/475811 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs