View Single Post
Old 09-07-2014, 04:45 PM   #2
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,829
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by rd4407 View Post
In versions prior to 2.2, I was able to set a custom tag via its drop down selection.

Now I get an error message:

Spoiler:
calibre, version 2.2.0
ERROR: Failed to set data: Could not set data, click Show Details to see why.

Traceback (most recent call last):
File "site-packages\calibre\gui2\library\models.py", line 1031, in setData
File "site-packages\calibre\gui2\library\models.py", line 1057, in _set_data
File "site-packages\calibre\gui2\library\models.py", line 1023, in set_custom_column_data
File "site-packages\calibre\db\legacy.py", line 653, in set_custom
File "site-packages\calibre\db\cache.py", line 1024, in set_field
File "site-packages\calibre\db\write.py", line 513, in set_books
File "site-packages\calibre\db\write.py", line 523, in set_books_for_enum
File "site-packages\calibre\db\write.py", line 290, in many_one
File "site-packages\calibre\db\write.py", line 246, in get_db_id
File "site-packages\calibre\db\backend.py", line 793, in execute
File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\cursor.c", line 231, in resetcursor
ConstraintError: ConstraintError: UNIQUE constraint failed: custom_column_4.value

Is there anything I need to do to, or is this a bug?
@rd4407 - do you mean a custom column as per attachment

The one you see is working for me.

BR
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	186
Size:	37.2 KB
ID:	128043  

Last edited by BetterRed; 09-07-2014 at 04:49 PM.
BetterRed is offline   Reply With Quote