Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-13-2013, 04:31 PM   #1
mmholt
Member
mmholt began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2011
Device: Kindle 2
Question 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.
mmholt is offline   Reply With Quote
Old 01-13-2013, 05:29 PM   #2
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,017
Karma: 3679628
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Ubuntu Linux, Cybook Opus, Motorola Xoom with Mantano Premium
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.
Adoby is offline   Reply With Quote
 
Enthusiast
Old 01-13-2013, 05:47 PM   #3
mmholt
Member
mmholt began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2011
Device: Kindle 2
Quote:
Originally Posted by Adoby View Post
Rereading your question I realise that I don't actually answer your question. Sorry about that.
No worries. I appreciate the response, and it is still quite useful information, just not for this question
mmholt is offline   Reply With Quote
Old 01-13-2013, 06:57 PM   #4
jgaiser
Omnivorous
jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.
 
jgaiser's Avatar
 
Posts: 2,954
Karma: 20449881
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Fire HD, Kindle GDX, Kindle 3, KPW, Nook HD+
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.
jgaiser is offline   Reply With Quote
Old 01-13-2013, 07:58 PM   #5
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,017
Karma: 3679628
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Ubuntu Linux, Cybook Opus, Motorola Xoom with Mantano Premium
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.
Adoby is offline   Reply With Quote
Old 01-13-2013, 09:38 PM   #6
mmholt
Member
mmholt began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2011
Device: Kindle 2
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.
mmholt is offline   Reply With Quote
Old 01-13-2013, 10:20 PM   #7
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,017
Karma: 3679628
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Ubuntu Linux, Cybook Opus, Motorola Xoom with Mantano Premium
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.
Adoby is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:56 AM.


MobileRead.com is a privately owned, operated and funded community.