Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-02-2023, 06:04 AM   #1
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Permission Denied

I updated to v6.22 today from v6.17.

I tried adding a book and received the following error...
I was not having this problem yesterday in v6.17.

Has this issue been covered before?
I've read other threads but one was using google drive and another seemed to be an anti-virus issue. I am not using google drive, and I don't think the anti-virus is the problem here.
Attached Thumbnails
Click image for larger version

Name:	cannotopenfile.jpg
Views:	187
Size:	150.9 KB
ID:	202410  

Last edited by Karellen; 07-02-2023 at 06:07 AM.
Karellen is offline   Reply With Quote
Old 07-02-2023, 06:27 AM   #2
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,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I can see you copied the error message, yet you post an image - why?

Anyways - the problem appears to be something to do with Calibre wanting to create a 'data' sub-directory in the C:\Program Files\Calibre2 directory - I have no idea why it would be wanting to do that at startup (or at any other time).

Calibre 'data' directories are normally found within calibre library book folders.

BR

Last edited by BetterRed; 07-02-2023 at 06:29 AM.
BetterRed is offline   Reply With Quote
Advert
Old 07-02-2023, 10:21 AM   #3
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's not while adding a book, it's while editing metadata. First try running calibre without any third-party plugins, like this

calibre.exe --ignore-plugins
kovidgoyal is offline   Reply With Quote
Old 07-02-2023, 07:56 PM   #4
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
That's not while adding a book, it's while editing metadata.
Yes, that is correct. I added a book, then went back to edit some incorrect metadata. Changed "Children of Men" to "The Children of Men" and also fixed the author from "P. D. James" to "P.D. James" and some other corrections.

I added another book just now, (I did not start without plugins) and saved it. I then went back and edited the metadata and saved again. The error did not occur. Instead I ended up with an empty folder named "data" on my desktop. But I don't know if it happened on the first or second save. I wasn't expecting it so I wasn't paying attention.

I deleted that "data" folder and went back and edited the library metadata for the new book, and all worked without any issue. There was no "data" folder recreated.

Then I added a second book and all worked as expected.

I guess I'll just keep monitoring, unless you need me to do something else?
Karellen is offline   Reply With Quote
Old 07-02-2023, 10:09 PM   #5
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That sounds like the folder path for those books in the db is empty for some reason, causing the data folder to be created in the current folder. I will add some checks for that condition.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-03-2023, 02:27 AM   #6
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
That sounds like the folder path for those books in the db is empty for some reason.
Could it be because the two books I added today I used "Add Empty Book" first, then "Edit Metadata" to add the metadata and cover and "Add format to this book" to import the epub file?

The book in my first post I am sure I used "Add book from a single folder".

Just to confirm, I was not trying to add any "data files" to the entries, so it is strange that it is creating the data folder.
Karellen is offline   Reply With Quote
Old 07-03-2023, 05:20 AM   #7
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Could be I'd appreciate it if you can isolate a set of steps to reproduce, I am currently rather busy so want have a chance to investigate immediately.
kovidgoyal is offline   Reply With Quote
Old 07-03-2023, 05:25 AM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Sure. Let me fiddle around and see if I can get it to fault again.
Karellen is offline   Reply With Quote
Old 07-03-2023, 06:00 PM   #9
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
@kovidgoyal

Ok, I was able to replicate the creation of the "data" folder on my desktop when adding a new library entry. I can't seem to replicate the error message from my first post.

I captured the process in a video. That will show the exact steps I have taken. You can probably skip forward while I modify the metadata fields but it shows exactly what I am changing.
It also seems that it happens right after starting Calibre and adding the first new library entry. It doesn't happen when adding a second library entry.

Note at the start on the left margin of the desktop there is no \data\ folder, then at the end there is.

mkv files aren't accepted for upload to the site, so I have uploaded it here...
https://easyupload.io/ggh2ka
Karellen is offline   Reply With Quote
Old 07-03-2023, 07:32 PM   #10
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Thanks, I will take a look at it when I have a moment.
kovidgoyal is offline   Reply With Quote
Old 07-05-2023, 02:44 AM   #11
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...0deac57851e0a6
kovidgoyal is offline   Reply With Quote
Old 07-05-2023, 05:08 PM   #12
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
Thank you @kovidgoyal

One question regarding the description...

Windows: Fix empty data folder getting created in directory calibre is launched from when changing title/author for a book with an existing data folder

I was adding/editing new library entry/books. There was no "existing data folder".
Karellen is offline   Reply With Quote
Old 07-05-2023, 10:49 PM   #13
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There must have been probably it was created by one of your plugins.
kovidgoyal is offline   Reply With Quote
Old 07-05-2023, 11:25 PM   #14
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
There must have been probably it was created by one of your plugins.
Hmm, you are correct. There is a data folder there.
It does not show in the Calibre GUI, but when I click on "Book Files" and Explorer opens, there is a data folder.

I wonder what is creating it.

--Edit--
Checking my recently added books. All the books I added since upgrading to v6.22 have a hidden \data\ folder. Books I added while still using v6.17 do not have the folder.

Last edited by Karellen; 07-05-2023 at 11:29 PM.
Karellen is offline   Reply With Quote
Old 07-06-2023, 12:35 AM   #15
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,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Karellen View Post
Hmm, you are correct. There is a data folder there.
It does not show in the Calibre GUI, but when I click on "Book Files" and Explorer opens, there is a data folder.

I wonder what is creating it.

--Edit--
Checking my recently added books. All the books I added since upgrading to v6.22 have a hidden \data\ folder. Books I added while still using v6.17 do not have the folder.
Empty 'data' folders won't appear in the Book Details folder as a Data Files link.

FTR: This morning I had an empty 'data' sub-folder appear in a freshly installed Version 6.22 Calibre Portable folder (i.e. the folder with the *-portable.exes, Calibre, Calibre Library and Calibre Settings sub-folder).

Added: there were no optional plugins installed and all preferences were at default settings.

BR

Last edited by BetterRed; 07-06-2023 at 12:43 AM.
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Errno 13 Permission denied richorlin Library Management 6 05-20-2016 06:29 AM
Error: Permission Denied megthered Calibre 3 09-26-2015 11:51 AM
[Errno 13] Permission denied imans314 Devices 2 04-22-2014 03:23 PM
permission denied rodolfo Calibre 5 10-16-2010 11:58 PM
Permission denied? desertgrandma Kindle Formats 16 01-26-2009 06:06 AM


All times are GMT -4. The time now is 09:00 AM.


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