Hi @DStirling , I’m still following the CPA tutorial and I think I might found an other issue in CPA 3.0.1:
The error occurs when you double click on asterisk in the first column which is supposed to open the selected image (Image 17 in this example)
An error occurred in the program: KeyError: (17, 'plate_1', 'E09', 167, 157, 10, 0.8576915542931923, 0.14230844575914095, 0.7801004582789878, 0, 0, 0) Traceback (most recent call last): File "cpa/tableviewer.py", line 872, in on_dclick_label File "cpa/tableviewer.py", line 210, in get_object_keys_at_row File "cpa/datamodel.py", line 192, in GetObjectCountFromImage
Tell me if I can help you…or if I did something wrong
An other “cosmetic issue” with Hit Tables:
When trying to save the Hit Table in the Database: The default Table Name contains invalid characters.
But, you don’t know that until you click to save it and throws the warning:
Maybe just replacing wrong characters by default with “_” should be OK?
An other problem (or the same I don’t know):
If you set up correct name to the Hit Table to be saved in the database (permanently):
CPA throws this error:
An error occurred in the program: AttributeError: 'list' object has no attribute 'replace' Traceback (most recent call last): File "cpa/tableviewer.py", line 968, in on_save_table_to_db File "cpa/dbconnect.py", line 1792, in CreateTableFromData File "cpa/dbconnect.py", line 104, in clean_up_colnames File "cpa/dbconnect.py", line 104, in <listcomp>
This last error doesn’t show up you save it as CSV file.