Replacement table edit caused lock up

The Community Project is a free wargame construction set to existing owners of DC: Barbarossa

Moderators: Vic, lancer

Post Reply
elmo3
Posts: 5797
Joined: Tue Jan 22, 2002 10:00 am

Replacement table edit caused lock up

Post 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.
We don't stop playing because we grow old, we grow old because we stop playing. - George Bernard Shaw

WitE alpha/beta tester
Sanctus Reach beta tester
Desert War 1940-42 beta tester
User avatar
Vic
Posts: 9715
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Replacement table edit caused lock up

Post 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
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
elmo3
Posts: 5797
Joined: Tue Jan 22, 2002 10:00 am

RE: Replacement table edit caused lock up

Post 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! [:'(]
We don't stop playing because we grow old, we grow old because we stop playing. - George Bernard Shaw

WitE alpha/beta tester
Sanctus Reach beta tester
Desert War 1940-42 beta tester
Post Reply

Return to “Scenario Design with the Community Project”