Click and change the filter name in the completion list prevents it to be added to the pipeline

Bug #399767 reported by Mario Ceresa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TITK
Fix Committed
Low
Mario Ceresa

Bug Description

Editing a filter name in the completion list, converts it to unicode and prevents the proper creation of the wrapping class with error:

templates_dict[f] = type(titk_name+"Data", (FilterData, ), traits_dict)
TypeError: type() argument 1 must be string, not unicode

It could be fixed with a call to str() for the first argument of type() but editing the completion list does not make any sense as the list is directly taken from WrapITK. So probably the correct fix is turn the list to read only

Related branches

Mario Ceresa (mrceresa)
Changed in titk:
assignee: nobody → ceres83 (ceres83)
status: New → Confirmed
Mario Ceresa (mrceresa)
Changed in titk:
importance: Undecided → Low
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.