Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-05-2013, 12:26 PM   #1
Lanson
Member
Lanson began at the beginning.
 
Posts: 11
Karma: 10
Join Date: May 2013
Device: Cybook Odyssey
Linux=>Windows Library migration

Hello,
sorry my english knowledge is not very good. so i did not find the thread i think may already exist.
I ask you to tell me the tread to solve the problem:

I am using calibre on Linux/Ubuntu...on my computer.
My Wife does not want to use Ubuntu and still uses WindowsXP.

Still now there was no problem to just copy my Calibre-Folder to her computer.

Since yesterday we have a group of books in the library such as:

Code:
AUTHOR: Humboldt, Alexander von
TITLE : 
Reise in die Aequinoctial-Gegenden des neuen Continents v. 4 / In deutscher Bearbeitung von Hermann Hauff

www.gutenberg.org/ebooks/38638
So when copying my folder to her laptop, WindowsXP is reporting error "too long filename" and cannot write and then exists the whole copy process.
What can i do to solve the problem, or i must enter every book again.?

Thank you for help..
Lanson is offline   Reply With Quote
Old 09-05-2013, 12:37 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,025
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
If she just wants to READ your books, run the content server on Ubuntu and give her a browser shortcut in Firefox (a little bias here ).

She can download selected titles from your system.

BTW are you running Calibre 1.x (not the outdated Ubuntu Repository version)?

I thought there was a Library pathname cleanup (shorten) tool to avoid this issue.

Also:
If you do copy, keep the Library name very short and at Root level:
eg. c:\Lib1

Copy the CONTENTS of your folder into that folder.
theducks is online now   Reply With Quote
Advert
Old 09-05-2013, 02:02 PM   #3
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,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
I don't know how to solve this problem, but I may perhaps have a small clue that may help. Don't know. Could be barking up the wrong tree...

It is possible to ask Windows to use "unicode" paths. These paths may be up to 32767 chars long.

You do this by using the prefix \\?\

So it should be possible to use Windows and copy files to a destination that use a very long path.

'\\?\C:\very long path\soo looooong\Calibre Library'

or

\\?\UNC\server\share

Perhaps this could be used somehow? Perhaps you can even use the prefix in calibre, when you open the library? Or you may have to shorten the path somehow, and after that use the library maintenace tools to restore the library.

http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
Adoby is offline   Reply With Quote
Old 09-09-2013, 10:19 AM   #4
Lanson
Member
Lanson began at the beginning.
 
Posts: 11
Karma: 10
Join Date: May 2013
Device: Cybook Odyssey
Thank you for these hints.
Unfortunately nothing really worked.
In some cases it seemed to be not just long file+ pathnames, in some cases there were special charakters which windows did not accept.
As one example this "thing" was rejected
Code:
when being part of the pathname.

My "workaround":
I moved a backupcopy of my calibrelibrary to a network folder.
Inside a WindowsXP-virtual machine (running on ubuntu) i chose this library inside of calibre as active.
Then i moved it via calibre to the virtual NTFS-drive inside the machine.
So calibre aborted error on each book with unaccepted filepaths/names.
I removed these books from the library and moved the library without these books sucessfully to the virtual machine.
After shortening/correcting the paths and long filenames i manually added these books back to the library.
Til 2014 i have to watch the path/filenames and length for possible problems between ubuntu and winxp.

In 2014 the problem will be gone cause wife accepted to migrated her laptop to linux... thanks god she hates Win8 gui.

Last edited by Lanson; 09-09-2013 at 11:14 AM.
Lanson is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving between linux and windows. cbeerse Library Management 9 06-23-2011 10:12 AM
ereader for windows, linux and OSX lookin Reading and Management 3 06-23-2011 04:25 AM
Using Calibre on Windows and Linux lookin Devices 1 06-21-2011 06:52 PM
Calibre library migration kiat Calibre 4 10-22-2010 03:47 AM


All times are GMT -4. The time now is 10:02 PM.


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