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 04-10-2025, 03:51 AM   #1
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
error during tag rename

Hi , when i rename my tag i have this error :
Have you an idea please?

calibre 8.2.1 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: fr
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Action Chains (1, 20, 10) && Comments Cleaner (1, 15, 0) && Ebook Translator (2, 4, 0) && Extract People Other Metadata (1, 0, 0) && Find Duplicates (1, 10, 9) && Kobo Utilities (2, 21, 1) && Mass Search-Replace (1, 8, 2) && Modify ePub (1, 8, 6) && Quality Check (1, 14, 1) && Resize Cover (1, 2, 1) && View Manager (1, 10, 3)
Traceback (most recent call last):
File "calibre\gui2\tag_browser\model.py", line 1601, in setData
File "calibre\gui2\tag_browser\model.py", line 1649, in rename_item
File "calibre\gui2\tag_browser\model.py", line 1742, in clean_items_from_user_categories
File "calibre\db\cache.py", line 85, in call_func_with_lock
File "calibre\db\cache.py", line 961, in get_item_id
File "calibre\db\fields.py", line 551, in item_ids_for_names
File "calibre\db\tables.py", line 273, in item_ids_for_names
File "calibre\db\backend.py", line 1194, in get
File "calibre\db\backend.py", line 1171, in execute
File "C:\t\t\apsw-42s16m2x\src\cursor.c", line 1088, in APSWCursor_execute.sqlite3_prepare_v3
apsw.SQLError: SQLError: no such table: None


But , if i restart calibre, i have my new tab ... strange

Last edited by Doum; 04-10-2025 at 03:58 AM.
Doum is offline   Reply With Quote
Old 04-10-2025, 06:24 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,327
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
That looks like a bug involving user categories. It is possible that it is caused by you having deleted a custom column that was used in user categories. Is that possible?

Regardless, I can't repeat it so the only way to debug it is to have a copy of your metadata.db and the name of the tag to delete to generate the error. If you don't want to post your metadata.db here then you can email a zip file of the metadata.db to cal-bugs at charleshaley dot org.
chaley is offline   Reply With Quote
Advert
Old 04-10-2025, 07:24 AM   #3
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,613
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Doum View Post
Hi , when i rename my tag i have this error :

. . .

But , if i restart calibre, i have my new tab ... strange
Which is it - Tag or Tab?

If it's a Tag, where are you renaming it - in the Tag browser or Manage Tags?

BR
BetterRed is offline   Reply With Quote
Old 04-11-2025, 06:15 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,327
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I found one way this could happen. The fix will soon be in calibre source and will be in the next release/preview. NB: It is not in preview 8.2.100.
chaley is offline   Reply With Quote
Old 04-11-2025, 06:24 AM   #5
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,592
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by chaley View Post
I found one way this could happen. The fix will soon be in calibre source and will be in the next release/preview. NB: It is not in preview 8.2.100.
Is it a preview? Today, my calibre was telling me that there was a new release: 8.2.100.
Terisa de morgan is offline   Reply With Quote
Advert
Old 04-11-2025, 06:38 AM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,327
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Terisa de morgan View Post
Is it a preview? Today, my calibre was telling me that there was a new release: 8.2.100.
Yes, it is a preview. Preview releases have a third-level version number >= 100.
chaley is offline   Reply With Quote
Old 04-11-2025, 06:39 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,327
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@Doum: you might be able to work around the problem by opening the "Manage user categories" dialog then immediately closing it. This cleans the items from deleted columns from the user categories, which prevents the bug I found and fixed.
chaley is offline   Reply With Quote
Old 04-11-2025, 07:17 AM   #8
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,592
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by chaley View Post
Yes, it is a preview. Preview releases have a third-level version number >= 100.
Yes, the surprise has been seeing it in the notice inside calibre.
Terisa de morgan is offline   Reply With Quote
Old 04-11-2025, 07:21 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,327
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Terisa de morgan View Post
Yes, the surprise has been seeing it in the notice inside calibre.
I don't see it when using Portable 8.2.1. I do see it when running anything less than 8.2, seeing 8.2.100 instead of 8.2.1. I don't know if this is new behavior.
chaley is offline   Reply With Quote
Old 04-11-2025, 07:55 AM   #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,171
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by chaley View Post
I don't see it when using Portable 8.2.1. I do see it when running anything less than 8.2, seeing 8.2.100 instead of 8.2.1. I don't know if this is new behavior.
That was my mistake, I accidentally released it as a normal release rather than a preview release. It's too late to change it now...

Need to put some checks in to make sure this doesnt happen again.
kovidgoyal is offline   Reply With Quote
Old 04-11-2025, 09:08 AM   #11
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,592
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by kovidgoyal View Post
That was my mistake, I accidentally released it as a normal release rather than a preview release. It's too late to change it now...

Need to put some checks in to make sure this doesnt happen again.
Thank you for clarifying it, it was a surprise at 6:30 AM
Terisa de morgan is offline   Reply With Quote
Old 04-12-2025, 07:00 AM   #12
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Quote:
Originally Posted by chaley View Post
That looks like a bug involving user categories. It is possible that it is caused by you having deleted a custom column that was used in user categories. Is that possible?

Regardless, I can't repeat it so the only way to debug it is to have a copy of your metadata.db and the name of the tag to delete to generate the error. If you don't want to post your metadata.db here then you can email a zip file of the metadata.db to cal-bugs at charleshaley dot org.
Hi thanks all for yours answer .
Yes is when using my TAG (étiquette in french)
So i think you are wright , i copy my librarie from another whith custom column
On this primary library i don't have this problem

I am waiting for new release , thank's all
Doum is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tag links break with library rename :-( jecilop Library Management 6 07-22-2023 01:29 PM
Problem when using tag browser to rename series JohnnyBook Library Management 3 06-24-2018 04:22 PM
Bulk Tag Rename Bokononist Library Management 3 04-10-2015 08:30 PM
'Tag & Rename' For Metatags???? antd Reading and Management 0 06-10-2012 12:28 PM
Permanent Tag Rename on Import dumalkin Library Management 0 05-28-2011 04:23 PM


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


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