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 03-22-2025, 06:22 PM   #1
jamesgl
Enthusiast
jamesgl began at the beginning.
 
Posts: 27
Karma: 32
Join Date: Dec 2014
Device: kindle
Error Message with Import Export All Calibre Data

For the last year, I have successfully transferred caliber from one of my computers to another using the export function, and then imported the same data using the import function.

I've done this FLAWLESSLY AT LEAST 70 TIMES over the last year..
Windows 10, latest version. Caliber latest version 8 as indicated below.

For the 1st time, I've attempted this after installing version 8 – NOT saying this is the problem – and I repeatedly get the following errors. (please see below under the Asterix)

It does appear as though the library has in fact been imported.
I am able to open and read any random book in the library.

Caliber companion on my android (phone and tablets) hook up flawlessly (via Wi-Fi) with the new library.
And I am able to transfer books to my android device using caliber companion.

HOWEVER… the indicated size of the original library is larger than the newly created library on the 2nd computer.

Any help would be greatly appreciated!

My email address is incoming@pobox.com.

Thank you very much for taking the time to read this and replying if you choose to do so.

James Gluckin.

************************************************** ********


Failed to import data.


calibre, version 8.0.1
ERROR: Failed: Failed to import data. Click "Show details" for more information.

Traceback (most recent call last):
File "calibre\utils\exim.py", line 493, in import_data
File "shutil.py", line 759, in rmtree
File "shutil.py", line 622, in _rmtree_unsafe
File "shutil.py", line 620, in _rmtree_unsafe
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\Puget-1\\AppData\\Roaming\\calibre\\icons-any.rcc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\dialogs\exim.py", line 156, in run_action
File "calibre\utils\exim.py", line 498, in import_data
File "shutil.py", line 759, in rmtree
File "shutil.py", line 622, in _rmtree_unsafe
File "shutil.py", line 620, in _rmtree_unsafe
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\Puget-1\\AppData\\Roaming\\calibre\\icons-any.rcc'
jamesgl is offline   Reply With Quote
Old 03-22-2025, 07:00 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,323
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You have a file permission issue with the file mentioned in that error message, see https://manual.calibre-ebook.com/faq...n-denied-error
kovidgoyal is offline   Reply With Quote
Advert
Old 03-25-2025, 05:32 PM   #3
jamesgl
Enthusiast
jamesgl began at the beginning.
 
Posts: 27
Karma: 32
Join Date: Dec 2014
Device: kindle
Thank you so much for replying!

As far as I can tell all of the directories in question have everyone = read write and execute permissions.

And these permissions are completely unchanged for the last year and a half.

These permissions also apply to all of the files within each of the respective directories.

Can you suggest HOW I go about finding out what is causing the permission error?

If you could spell out step-by-step exactly what I need to do, I will report my findings back to you in case anyone else has a similar problem.

Thanks again for your help!

James Gluckin
jamesgl is offline   Reply With Quote
Old 03-25-2025, 06:40 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,712
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
See ==>> How do I move my calibre data from one computer to another?

Quote:
This import/export functionality is only available from calibre version 2.47 onwards. If you have an older version of calibre, or if you encounter problems with the import/export, you can just copy over your calibre library folder manually, as described in the next paragraph.
You also need to copy the configuration folder i.e. : C:\Users\Puget-1\\AppData\Roaming\calibre

BR
BetterRed is offline   Reply With Quote
Old 03-28-2025, 09:53 AM   #5
jamesgl
Enthusiast
jamesgl began at the beginning.
 
Posts: 27
Karma: 32
Join Date: Dec 2014
Device: kindle
1st, thank you very, very much for the reply! I did not know about directly copying the Calibre folder itself.

Going to give that a try within the next few days, and will post my results here.

Once again, thank you so very much!

James Gluckin
jamesgl is offline   Reply With Quote
Advert
Old 04-08-2025, 12:45 PM   #6
jamesgl
Enthusiast
jamesgl began at the beginning.
 
Posts: 27
Karma: 32
Join Date: Dec 2014
Device: kindle
Quote:
Originally Posted by BetterRed View Post
See ==>> How do I move my calibre data from one computer to another?



You also need to copy the configuration folder i.e. : C:\Users\Puget-1\\AppData\Roaming\calibre

BR
Firstly, once again let me thank you for taking the time to reply!

I have been racking my brains and unable to find what is causing the permission errors between the 2 computers.

So I have a question.

If the Calibre library is ACCURATELY and EXACTLY COPIED from Computer A to computer B, and if I copy the configuration folder EXACTLY from computer A to computer B, will I have COMPLETELY copied EVERYTHING pertaining to Calibre?

Note that the directory structure is IDENTICAL between the 2 computers.

The library has the same drive path. The configuration folder has the same default drive path with the exception that the username would of course be different. (For example users\Puget on one computer would be users\Ageis, since the 2 computers have different usernames.)

Thank you once again for helping me with this problem!

James Gluckin
jamesgl is offline   Reply With Quote
Old 04-08-2025, 05:20 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,712
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Try deleting that "icons-any.rcc" file, it's a Qt resource file override for a 'theme' you installed - i.e. it's purely decorative.

BR
BetterRed is offline   Reply With Quote
Old 04-08-2025, 11:27 PM   #8
jamesgl
Enthusiast
jamesgl began at the beginning.
 
Posts: 27
Karma: 32
Join Date: Dec 2014
Device: kindle
You absolutely nailed it 1000%!

The file that was giving complications in the error message was:
'C:\\Users\\Puget-1\\AppData\\Roaming\\calibre\\icons-any.rcc'

And you were 1000% accurate when you said that it was not required.
I searched, (and found) the file in the B computer.
I eliminated the file.
And then opened Calibre.

The program ran perfectly. And as you pointed out, the only difference I noticed was the icons were artistically more conventionally vanilla.

Since it work perfectly on the B computer, I went to the A computer and renamed the file, and then restarted Calibre.

I rechristened the file (on the A computer) so that the program would not be able to find it or use it. :-)

When I restarted the program I did the normal export all data that I have done for several years.
Calibre was perfectly able to reassemble library and share all of the options of the exported program itself on the B computer.

Thank you so very much for making the suggestion!

Very sincerely,

James Gluckin

Last edited by jamesgl; 04-08-2025 at 11:29 PM.
jamesgl is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export/import all calibre data deleted_account23 Library Management 1 07-16-2024 12:38 PM
Soon SSD won't have space for Calibre data files (for import or export). What to do? droopy Calibre 25 08-20-2020 12:26 AM
Can't find the import/export all Calibre data function skyjockie Library Management 8 03-17-2019 03:49 PM
export/import all calibre data didyn't work beldin2 Library Management 14 07-06-2017 12:07 PM
Export/Import all Calibre data - import error IanKBrown Calibre 5 02-15-2017 08:32 PM


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


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