Page 1 of 1

Replacement table edit caused lock up

Posted: Mon Jan 18, 2016 9:04 am
by elmo3
Just had the editor lock up with an unhandled exception error while trying to edit a date field in the Replacements table. It said "Conversion from string 15/7/1941 to an Integer failed".

I was adding a row but deleted a row by mistake. So I reloaded the table from my save .csv file. When I added a row and got to the first date field it locked up when I tried to save the date.

Edit - Just had a crash of the editor while editing the Replacement table again. Happened right after I saved the table to my .csv backup and then tried to edit another date field. Same error message as above.

RE: Replacement table edit caused lock up

Posted: Mon Jan 18, 2016 9:23 am
by Vic
Hi elmo,

Will be fixed next version. Not very nice of my code to crash like that.

In the meantime read properly the text in the input window. It first asks the 'day' only. Then the month number and then the year.

If you answer the first question with '15/7/1941' it indeed locks up.

sorry there.

best wishes,
Vic

RE: Replacement table edit caused lock up

Posted: Mon Jan 18, 2016 9:30 am
by elmo3
OK, I must have put in the "/" characters out of habit from my editing in the .csv file. I need more coffee before working on my scenario when it's around 0630 hours! [:'(]