View Single Post
Old 09-07-2014, 02:54 PM   #1
rd4407
Junior Member
rd4407 knows what is on the back of the AURYN.rd4407 knows what is on the back of the AURYN.rd4407 knows what is on the back of the AURYN.rd4407 knows what is on the back of the AURYN.rd4407 knows what is on the back of the AURYN.rd4407 knows what is on the back of the AURYN.rd4407 knows what is on the back of the AURYN.rd4407 knows what is on the back of the AURYN.rd4407 knows what is on the back of the AURYN.rd4407 knows what is on the back of the AURYN.rd4407 knows what is on the back of the AURYN.
 
Posts: 4
Karma: 9768
Join Date: Dec 2013
Device: none
Trying to set a custom tag got error message in 2.2

In versions prior to 2.2, I was able to set a custom column tag via its drop down selection.

Now I get an error message:

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?

Edited: This problem affects the last item only, which I rarely use, so I don't know how long the problem may have been there.

Last edited by rd4407; 09-07-2014 at 05:25 PM.
rd4407 is offline   Reply With Quote