Linux error in new trash management
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I try to delete things, for instance a specific format of a book, I get a "same file error". It appears to be a parameter passing issue?
calibre, version 6.20.0
ERROR: Unhandled exception: <b>SameFileErro
calibre 6.20 embedded-python: True
Linux-5.
('Linux', '5.19.0-
Python 3.10.1
Interface language: None
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Kindle Collections (1, 7, 29) && Kindle hi-res covers (0, 5, 0)
Traceback (most recent call last):
File "calibre/
File "calibre/
File "calibre/
File "calibre/
File "calibre/
File "calibre/
File "calibre/
File "shutil.py", line 434, in copy2
File "shutil.py", line 234, in copyfile
shutil.
That indicates you somehow have hard links to the book file in your trash folder already.
You can simply empty the trash to fix the issue, but I would be
interested to know how the issue happened in the first place.
Did calibre crash during a previous delete attempt? Or is there
something unusual about the filesystem you have your calibre library on?
Can you come up with steps to reproduce the problem, after emptying the
trash folder?