View Single Post
Old 01-08-2019, 08:13 PM   #28
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,893
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I Added a Scope Note to Princeton Press, then I did this:

Click image for larger version

Name:	2.jpg
Views:	486
Size:	110.0 KB
ID:	168931

I got this:

Code:
calibre, version 3.37.0
ERROR: Unhandled exception: <b>AttributeError</b>:'unicode' object has no attribute 'template'

calibre 3.37 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.17134-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17134')
Python 2.7.12+
Windows: ('10', '10.0.17134', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Entities Manager (1, 0, 4) && Job Spy (1, 0, 137) && Count Pages (1, 8, 2) && EpubSplit (2, 6, 0) && Extract ISBN (1, 4, 4) && View Manager (1, 3, 2) && Reading List (1, 6, 6) && Beam Ebooks (1, 0, 0) && Generate Cover (1, 5, 21) && CalibreSpy (1, 0, 66) && User Category (1, 5, 3) && Barnes & Noble (1, 2, 15) && Quality Check (1, 9, 11) && GetFileName (0, 0, 13) && Drop Search Results (1, 0, 8) && Favourites Menu (1, 0, 4) && Resize Cover (1, 0, 3) && Goodreads (1, 4, 0) && Modify ePub (1, 3, 13) && Find Duplicates (1, 6, 3)
Traceback (most recent call last):
  File "calibre_plugins.entities_manager.ui", line 1289, in add_column_icon_with_text_rules
  File "calibre_plugins.entities_manager.ui", line 1302, in maintain_column_icon_with_text_rules
  File "calibre_plugins.entities_manager.ui", line 1421, in add_new_entity_column_rules
AttributeError: 'unicode' object has no attribute 'template'
This is what I have for Entities

Quote:
Entity: Publisher Princeton press
Link:
Note: Scope

Princeton press scope note


Association:
__________________________________________________ ______________________
Entity: Title À la recherche du temps perdu
Link:
Note:
Association: ~Search_for-lost_time ➕

__________________________________________________ ______________________
Entity: ~Association (Title �� À la recherche du temps perdu ⇄ ~Search_for-lost_time �� ➕)
Link:
Note:
Association:
__________________________________________________ ______________________
Entity: ~Search_for-lost_time ➕
Link:
Note:
Association: Title À la recherche du temps perdu

__________________________________________________ ______________________
I cleared the Entities database using the option in EM->Utilities and Checked the database, and re-added the Scope note, and got the same error when I used the same option.

I should add after adding the Note and exiting the EM dialogue I expected to see the entity_reserved.png icon alongside Princeton press in the book list - when I didn't I tried the Add/refresh ... option. But, there is no icon rule in L&F for the Publisher column - maybe I am misunderstanding something.


Might be useful to put a copy to clipboard and/or Save to file button(s) on the List Entities popup. Its' surprising how few think of doing a ctrl/+a, ctrl+c etc, when faced with something like that popup.

BR

Last edited by BetterRed; 01-08-2019 at 08:35 PM.
BetterRed is offline   Reply With Quote