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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-05-2013, 01:26 PM   #1
Lanson
Junior Member
Lanson began at the beginning.
 
Posts: 5
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, 01:37 PM   #2
theducks
Grand Sorcerer
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: 15,268
Karma: 6022733
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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 offline   Reply With Quote
Old 09-05-2013, 03: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,124
Karma: 5735944
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Ubuntu Linux, Cybook Opus, Motorola Xoom with Mantano Premium
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, 11:19 AM   #4
Lanson
Junior Member
Lanson began at the beginning.
 
Posts: 5
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 12:14 PM.
Lanson 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
Moving between linux and windows. cbeerse Library Management 9 06-23-2011 11:12 AM
ereader for windows, linux and OSX lookin Reading and Management 3 06-23-2011 05:25 AM
Using Calibre on Windows and Linux lookin Devices 1 06-21-2011 07:52 PM
Calibre library migration kiat Calibre 4 10-22-2010 04:47 AM


All times are GMT -4. The time now is 06:26 AM.


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