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 07-10-2023, 06:59 AM   #1
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,609
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Error trying to add New Category

When I'm trying to add a new user cathegory from the left bar I get the following error:

Spoiler:
calibre, version 6.22.0
ERROR: Excepción no considerada: <b>TypeError</b>:'NoneType' object is not iterable

calibre 6.22 embedded-python: True
Windows-10-10.0.19041-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.10.1
Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free')
Interface language: es
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 1, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (2, 1, 0) && Action Chains (1, 18, 8) && Annotations (1, 17, 13) && Barnes & Noble (1, 5, 2) && Clean Comments (0, 2, 1) && Comments Cleaner (1, 10, 0) && Count Pages (2, 11, 2) && Diaps Editing Toolbag (0, 4, 0) && Edit Columns (0, 1, 0) && Editor Chains (0, 8, 7) && EpubMerge (2, 15, 0) && EpubSplit (3, 6, 0) && Ex Libris (1, 1, 20) && Extract ISBN (1, 6, 0) && Extract ToCs (1, 0, 0) && Fantastic Fiction (1, 6, 3) && Favourites Menu (1, 3, 0) && Find Duplicates (1, 10, 8) && Generate Cover (2, 3, 2) && GetFileName (0, 2, 0) && Goodreads (1, 7, 9) && Goodreads Sync (1, 16, 3) && GoodreadsAuthor (0, 0, 2) && Hyphenate This! (0, 1, 3) && Import List (1, 9, 0) && KFX metadata reader (from KFX Input) (2, 1, 0) && KFX Input (2, 1, 0) && KindleUnpack - The Plugin (0, 83, 1) && Kobo Books (1, 9, 2) && Kobo Utilities (2, 16, 9) && KoboTouchExtended (3, 6, 3) && Last Modified (0, 8, 4) && Modify ePub (1, 8, 1) && My Tools (0, 2, 1) && Obok DeDRM (10, 0, 3) && Overdrive Link (2, 55, 0) && Owned Books Goodreads (0, 1, 0) && Quality Check (1, 13, 4) && Reading List (1, 15, 1) && Save Composite Custom Columns (1, 1, 1) && Search The Internet (1, 10, 1) && SmartEject (2, 5, 0) && Smashwords Metadata (1, 0, 2) && Tanja's Tools (0, 1, 0) && User Category (1, 6, 0) && View Manager (1, 10, 2) && Vimstyle (0, 0, 3) && Overdrive Link Metadata Source (2, 55, 0)
Traceback (most recent call last):
File "calibre\gui2\tag_browser\ui.py", line 152, in do_add_subcategory
File "calibre\gui2\tag_browser\model.py", line 1636, in index_for_path
TypeError: 'NoneType' object is not iterable


And no cathegory is created.

Last edited by Terisa de morgan; 07-10-2023 at 07:03 AM.
Terisa de morgan is offline   Reply With Quote
Old 07-10-2023, 09:44 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,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
This happens because you have checked the preference Preferences / Look & feel / Tag browser / Hide empty categories. I found the problem a week or two ago but haven't done anything about it.

It does in fact create a new category named "New category". However, because this category is empty it can't be displayed, which means the attempt to show its editing box will fail.

The easiest fix is to refuse to allow creating new subcategories if the option is checked, telling you that you must change the option. I might do this because even if I allowed entering a name the category would be hidden and thus unusable.

You can see the "invisible" categories in "Manage categories", where you can rename them and add items to them.
chaley is offline   Reply With Quote
Advert
Old 07-10-2023, 11:43 AM   #3
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,609
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
This happens because you have checked the preference Preferences / Look & feel / Tag browser / Hide empty categories. I found the problem a week or two ago but haven't done anything about it.

It does in fact create a new category named "New category". However, because this category is empty it can't be displayed, which means the attempt to show its editing box will fail.

The easiest fix is to refuse to allow creating new subcategories if the option is checked, telling you that you must change the option. I might do this because even if I allowed entering a name the category would be hidden and thus unusable.

You can see the "invisible" categories in "Manage categories", where you can rename them and add items to them.
Thank you, I'll check tomorrow (I wasn't aware of the option, I guess I checked long time ago, when I began to use user categories.
Terisa de morgan is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to add a boolean value to a User Category? ownedbycats Library Management 13 06-13-2021 09:55 AM
Add new category to MyShelves, how? bartveld Calibre 16 04-07-2019 03:07 AM
Add iBooks Category using Calibre kphos Library Management 0 06-20-2014 01:48 AM
Download metadata - how to add category ? madmouse Library Management 0 07-20-2013 10:04 AM
Add 'Title' to Category Filter artkaye Library Management 0 09-05-2011 08:52 AM


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


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