Closed brdiep113 closed 11 months ago
I'm unable to reproduce this. @brdiep113 was there any special context to the issue? The only way for users to choose the value of the setting self.settings['display']['entryid_digits']
is to use a numeric spinbox... I'm curious as to how it ended up with a string value.
I'm not sure, I just kept encountering this error whenever I was working on other tickets. But it showed up especially when working on #78 as I was not able to add a new sign at all
Describe the bug When trying to create a new sign, nothing happens because there is an error because the way that we create the unique entry ID string has a type error.
Sample corpus file I used this one for testing: https://drive.google.com/file/d/1gK-sUniAabP4QDKOI79HTFNHijhMy2dW/view?usp=drive_link
To Reproduce Steps to reproduce the behavior:
Expected behavior A new dialog should pop up to prompt the user to create a new sign
Error messages TypeError: unsupported operand type(s) for -: 'str' and 'int'
Screenshots
Type of the ID is actually a string and not an integer as expected
Operating system and PCT version