|  02-12-2013, 06:40 AM | #1 | 
| Member  Posts: 10 Karma: 10 Join Date: Jun 2011 Device: kindle 3 | 
				
				Long path issue when opening library in Win8
			 
			
			I created my books' library in Ubuntu 12.10. I switched to Win 8 recently however. I thus copied my whole library folder to my new machine. I then switched to this library in my uptodate Calibre. Many books don't open ("No file available") and when I right-click and "Go to folder", I see two folders: one with the metadata and the cover. And one with the ebook. However, I cannot open that file, because I just get an "File path too long"-error. I guess the file length limitation within Windows is the problem. But how to solve it? I may open the library in a Ubuntu VM, but how to get the filenames shorter permanently? Find attached two example screenshots:    | 
|   |   | 
|  02-12-2013, 06:48 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			shorten the titles, move to windows and lengthen them again.
		 | 
|   |   | 
|  02-12-2013, 07:23 AM | #3 | 
| Member  Posts: 10 Karma: 10 Join Date: Jun 2011 Device: kindle 3 | 
			
			Ok, does it mean I have to shorten them in Ubuntu manually? Isn't there any way to get this done automatically, i.e. plugin or search mechanism. I don't even know which of my books are affected. I just get the problem when trying to open. Ain't there a possibility to prevent that problem when entering the data? | 
|   |   | 
|  02-12-2013, 07:26 AM | #4 | 
| Wizard            Posts: 4,553 Karma: 950151 Join Date: Nov 2008 Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader) | 
			
			What path are you using for your library in Windows?    You might just need to move the library to a new location to get a shorter path name.
		 | 
|   |   | 
|  02-12-2013, 08:39 AM | #5 | 
| Member  Posts: 10 Karma: 10 Join Date: Jun 2011 Device: kindle 3 | 
			
			Well, I zipped it in Ubuntu and extracted to top-level, i.e. C:\PDF\ - still, it holds too long filenames. I may find them manually and rename them, but I wonder how to prevent further problems. | 
|   |   | 
|  02-12-2013, 11:11 AM | #6 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | |
|   |   | 
|  02-12-2013, 11:32 PM | #7 | |
| null operator (he/him)            Posts: 22,012 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | Quote: 
 
 Did you 'clean up' the library before you migrated it with the Check Library features ? BR | |
|   |   | 
|  02-12-2013, 11:42 PM | #8 | |
| US Navy, Retired            Posts: 9,897 Karma: 13806776 Join Date: Feb 2009 Location: North Carolina Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen | Quote: 
 He needs to go back to the original plalform. Find the books in calibre with long titles and shorten them. Then move the library to Windows 8 at which point he can go ahead and change the titles back to what they were before. | |
|   |   | 
|  02-13-2013, 04:43 AM | #9 | 
| Member  Posts: 10 Karma: 10 Join Date: Jun 2011 Device: kindle 3 | 
			
			Ok, as my library was not too big, I searched for potential problems manually. I opened the two folders, renamed the file that was too long with 7 Zips file manager (what a nice tool for that problem!) and imported the shorter files again. Problem solved, but when importing my papers and getting metadata automatically again, I will be a lot more sensitive concerning length of title... Thanks everyone! | 
|   |   | 
|  02-13-2013, 06:56 AM | #10 | 
| Handy Elephant            Posts: 1,737 Karma: 26785684 Join Date: Dec 2009 Location: Southern Sweden, far out in the quiet woods Device: Samsung Galaxy Tab S8 Ultra | 
			
			Is this a case where differences beween different platforms becomes visible? On Windows, does Calibre automatically create shorter names for folders and files in the library? And use longer names on Linux? | 
|   |   | 
|  02-13-2013, 07:35 AM | #11 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | |
|   |   | 
|  | 
| Tags | 
| file access, library error | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Kindle and Overdrive - how to use? Opening windows issue | netrate | Amazon Kindle | 8 | 01-04-2012 10:27 PM | 
| Path to library too long. Must be less than 75 characters. | FizzyWater | Library Management | 6 | 07-02-2011 07:59 PM | 
| Library using UNC path, PDF's not opening | JvdW | Calibre | 3 | 06-16-2010 10:54 AM | 
| Change library path? | Slite | Calibre | 2 | 09-30-2008 10:52 AM |