01-13-2013, 04:31 PM | #1 |
MrsUndertaker
Posts: 17
Karma: 10
Join Date: Sep 2011
Device: Galaxy Tab S2 9.7
|
problem opening files and paths that contain spaces
I'm running Calibre 0.9.14 on Linux Mint 13. I'm not exactly sure when this stopped working correctly, but I can no longer open files or paths from the panel on the right because of the spaces in the names. Opening a path triggers an error message for every word in the path. Opening a text file opens a new file in my text editor for each word in the file name. If I perform the same operations in my file manager or via an Open File dialog, the action is successful.
It seems to me that whatever part of Linux that is responsible for URL encoding/escaping isn't doing its job. Trouble is, I don't know what to look for. Any suggestions would be greatly appreciated. |
01-13-2013, 05:29 PM | #2 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
There are (at least) four ways to handle spaces in paths and file names.
Use qoutes: "~/my path/my file.epub" Escape the spaces: ~/my\ path/my\ file.epub Encode the spaces: ~/my\040path/my\x20file.epub Quote the spaces: ~/my" "path/my" "file.epub Sometimes, when connecting over ssh for instance, you may have to combine these methods. For instance double-escape the spaces. Edit: Rereading your question I realise that I don't actually answer your question. Sorry about that. Last edited by Adoby; 01-13-2013 at 05:34 PM. |
01-13-2013, 05:47 PM | #3 |
MrsUndertaker
Posts: 17
Karma: 10
Join Date: Sep 2011
Device: Galaxy Tab S2 9.7
|
|
01-13-2013, 06:57 PM | #4 |
Omnivorous
Posts: 3,281
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
|
Hmm..? That's interesting. I run Ubuntu 10.04 and calibre 0.9.14 and it works fine (with spaces in filenames). Something that Mint changed? Sorry... Still no real help.
|
01-13-2013, 07:58 PM | #5 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
It could be some unintentional profile setting.
Try rebooting and see if things are the same. Create another user and see if it works better that way. |
01-13-2013, 09:38 PM | #6 |
MrsUndertaker
Posts: 17
Karma: 10
Join Date: Sep 2011
Device: Galaxy Tab S2 9.7
|
Well, the whole thing is worse than I thought, and I'm sure it is all related to the horrible mess Linux makes of file associations and the like. Since I upgraded Calibre and my plugins yesterday, I can no longer open some file types, like tar or zip, from within Chrome - it launches Calibre. Open the same file from nautilus, no problem.
I think I'm just gonna reinstall my OS and everything this weekend. Thanks to all for suggestions, I did try them without success. |
01-13-2013, 10:20 PM | #7 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
Well, I am a long time Linux user, mainly Ubuntu, and I have never had any similar problems with file types. Most likely something happened to your user profile. A reinstall, as you plan, should fix it. Slight overkill, but easy enough.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I have a problem opening SOME large .mobi files in Calibre | cageybee | Calibre | 5 | 10-09-2012 08:36 PM |
txt files have lots of spaces | roquet | Bookeen | 8 | 10-14-2009 02:52 AM |
Uploading files from the web with spaces in their names | Jellby | Feedback | 3 | 08-11-2009 01:43 PM |
Anyway to remove paragraph spaces in pdb files? | twister | Other formats | 3 | 03-12-2009 09:36 PM |
problem opening pdf files from books.google.com | arunava77 | iRex | 11 | 02-20-2009 01:30 AM |