Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2023, 12:30 AM   #8581
ronnie0602
Junior Member
ronnie0602 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2023
Location: USA
Device: none
Quote:
Originally Posted by JimmXinu View Post
Okay, I think I've figured out what caused mine, at least.

Which was explore.exe--the basic Windows File Explorer.

And one of the unusual things I had done was run a file search in File Explorer.

Closing all the File Explorer windows (I'd left the search some time ago) closed the process after a short delay and I could rename that book again without error.

I knew that an open File Explorer window into a dir could cause issues, but not that a search done hours ago could...

Jimm, I'll try closing my open Windows Explorer and see what happens. I know for a fact that I have two Explorer session open and I did search for stuff more than once in the last few days. It's not unusual for me to look for files every now and again, but I don't think it caused this kind of issue before...

Now I know why I have been hanging out reading the threads here all this time. I don't always understand what I read, but still I do learn a lot, I find ideas on improving my modest setup and I truly am in awe of your and your teammates here persistence in figuring out our issues even when they don't necessarily affect your setup/functionality, and your determination to constantly improve this tool.

Like I said before, I'm grateful for the FFF plugin, for the shared knowledge and experience and no, I'm not just blowing smoke...

Thank you for not letting go!
ronnie0602 is offline   Reply With Quote
Old 07-01-2023, 04:12 AM   #8582
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
Okay, this is weird.

I just got a similar error to ronnie0602, occurring a couple lines earlier while setting most of the other book metadata.

Except I'm on Win10 with Calibre 6.22.
Code:
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\USER\\Documents\\Library\\Andrew Joshua Talon\\Paint and Powder (10896)'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1798, in update_books_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 2268, in update_metadata
  File "calibre\db\legacy.py", line 588, in set_metadata
  File "calibre\db\cache.py", line 85, in call_func_with_lock
  File "calibre\db\cache.py", line 1691, in set_metadata
  File "calibre\db\cache.py", line 1686, in set_field
  File "calibre\db\cache.py", line 1481, in set_field
  File "calibre\db\backend.py", line 1726, in windows_check_if_files_in_use
  File "calibre\utils\copy_files.py", line 250, in windows_check_if_files_in_use
  File "calibre\utils\copy_files.py", line 136, in __enter__
  File "calibre\utils\copy_files.py", line 132, in open_all_handles
  File "calibre\utils\copy_files.py", line 123, in _open_file
  File "calibre\utils\copy_files.py", line 112, in _open_file
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\USER\\Documents\\Library\\Andrew Joshua Talon\\Paint and Powder (10896)'
And trying to change the title of that book with Calibre's Edit dialog gives the same error, so it's not just FFF. But it doesn't happen for other books, so it's not the whole library, either.

Rebooting the OS seems to have cleared it. Unfortunately, I didn't find a good way to determine which processes have a file open until after I rebooted. Really wish I'd found that first.

I'd chalk it up to weirdness from installing a JDK and an IDE this morning, but the similarity of ronnie0602's issue is concerning...
There were some changes to file-locking starting with 6.20 (and additional changes in 6.21 to fix a data-loss bug), so maybe ask Kovid. Obviously this wouldn't affect someone using 3.48 though.

Last edited by ownedbycats; 07-01-2023 at 08:25 AM.
ownedbycats is online now   Reply With Quote
Advert
Old 07-01-2023, 10:36 AM   #8583
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
FYI, I'm seeing issues with ffnet not updating metadata immediately even while showing new chapters. I was going to link an example, but it's updated now. The update notification email for it was ~6 hours previous.

It's not the first time lately that I've seen this happen, unfortunately.

I can't think of anything we can do in FFF about it--maybe set FFF's Calculate Word Count to 'Yes Always' instead of 'Yes, unless found on site' to get a Word Count.
JimmXinu is offline   Reply With Quote
Old 07-01-2023, 10:47 AM   #8584
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Would it be possible to set Calculate Word Count on a per-site basis?
ownedbycats is online now   Reply With Quote
Old 07-01-2023, 11:08 AM   #8585
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I'm a bit reluctant to do that.

It would have to be a personal.ini setting--I'm not adding another sites list to the GUI settings. And it wouldn't be available in CLI.

There's also a problem with the built-in word count that it counts the entire epub, including titlepage, logpage, tocpage, etc. I've seen 'stories' where the title page ended up longer than the story text.
JimmXinu is offline   Reply With Quote
Advert
Old 07-01-2023, 11:18 AM   #8586
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
The title page issue is what I was thinking of. Especially with AO3 stories that have a few thousand freeformtags. (Thankfully, they've since limited it to, I think, 75 or so, but that's still a pretty good chunk of text.)

Ideally, the setting would just disable word-count fetching for specific sections so that Count Pages could take over.

Last edited by ownedbycats; 07-01-2023 at 11:30 AM.
ownedbycats is online now   Reply With Quote
Old 07-02-2023, 03:09 PM   #8587
FandomWitch
Member
FandomWitch began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2023
Device: none
FanFictionDownloader and BrowserCache

Hi so I was looking into the use of FanFictionDownloader as a browser cache source. On the browser cache wiki page it says as of 4.2 that is no longer supported. But on the FanFictionDownloader FanFicFare Batch wiki page the instructions there say the writer is using FFF 4.5? Is it still possible to use FFD to populate the browser cache?
FandomWitch is offline   Reply With Quote
Old 07-02-2023, 03:25 PM   #8588
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
To the best of my knowledge, as of v4.20 (not v4.2), this FFF feature does not work with the FanFictionDownloader program. I tested when I made that change using FFDL 0.9.5 which is still the current version.

I believe ownedbycats(aka chocolatechipcats)'s wiki page "FanFictionDownloader FanFicFare Batch" is out of date. It should probably be amended or removed.
JimmXinu is offline   Reply With Quote
Old 07-02-2023, 03:33 PM   #8589
FandomWitch
Member
FandomWitch began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2023
Device: none
Could I use an earlier version of FFF to utilize FFD browser cache?
FandomWitch is offline   Reply With Quote
Old 07-02-2023, 03:44 PM   #8590
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
I believe ownedbycats(aka chocolatechipcats)'s wiki page "FanFictionDownloader FanFicFare Batch" is out of date. It should probably be amended or removed.
I didn't write that page; LoisGNS did. (I did fix a typo on it though.)

I wrote the FFF and eReaders page.

Quote:
Originally Posted by FandomWitch View Post
Could I use an earlier version of FFF to utilize FFD browser cache?
I believe another user on MR did that, but I'm having trouble finding the post.

I wouldn't advise it. The adapters will be out-of-date so other sites won't work as expected (or just not work at all). AO3 is one of those.

Last edited by ownedbycats; 07-02-2023 at 04:22 PM.
ownedbycats is online now   Reply With Quote
Old 07-02-2023, 04:24 PM   #8591
FandomWitch
Member
FandomWitch began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2023
Device: none
Quote:
Originally Posted by ownedbycats View Post
I believe another user on MR did that, but I'm having trouble finding the post.

I wouldn't advise it. The adapters will be out-of-date so other sites won't work as expected (or just not work at all). AO3 had some recent changes.
Sorry I didn't clarify. Run the earlier version just for the archival of my favorites from ff.net. Continuing to use the up to date version of FFF for everything else.

I would run a portable calibre library with the earlier FFF and, after downloading all the fics, transfer them to my original library. Would that work?
FandomWitch is offline   Reply With Quote
Old 07-02-2023, 04:31 PM   #8592
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Here's the ffnet adapter history.

I don't know the date of the old version, but unless there's any updates for breaking changes released afterwards, it should work. The January change to the URL normalization might cause some weird issues with story detection.

Last edited by ownedbycats; 07-03-2023 at 06:11 AM.
ownedbycats is online now   Reply With Quote
Old 07-02-2023, 04:45 PM   #8593
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by FandomWitch View Post
Could I use an earlier version of FFF to utilize FFD browser cache?
It's open source, you can do what you want.

Just be aware that you aren't going to get much support when deliberately using outdated versions.

Quote:
Originally Posted by ownedbycats View Post
I didn't write that page; LoisGNS did. (I did fix a typo on it though.)
My mistake--I just looked at the last edit and assumed.
JimmXinu is offline   Reply With Quote
Old 07-02-2023, 04:49 PM   #8594
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
That's what I assumed happened
ownedbycats is online now   Reply With Quote
Old 07-02-2023, 05:02 PM   #8595
Handers
Junior Member
Handers began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2023
Device: kobo
Ah very good points, I guess I have a bit of copy paste in my future then haha
Handers is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


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


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