Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#193 closed defect (released)

Unhandled exception in dictionary?

Reported by: Henri Owned by: ibboard
Priority: major Milestone: WarFoundry 0.1
Component: WarFoundry-API Version:
Keywords: gamesystem statset default Cc:
Blocked By: Blocking:

Description

I get an error when creating a new army in a new system. No idea why really, the race and systemfiles "compile" ok. Cehck the debugfile attached for details.

Attachments (2)

crash10.txt (5.3 KB) - added by Henri 10 years ago.
debug text
crash11.txt (4.3 KB) - added by Henri 10 years ago.
debug text

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by Henri

Attachment: crash10.txt added

debug text

Changed 10 years ago by Henri

Attachment: crash11.txt added

debug text

comment:1 Changed 10 years ago by Henri

Ok, checking this further it seems I forgot to define a "default" statset, I left out a letter when I copy/pasted the sample system.

Also I noticed that the stats are case-sensitive, again a fairly obtuse message there.
Debug on that attached as well.

comment:2 Changed 10 years ago by ibboard

Keywords: gamesystem statset default added
Milestone: WarFoundry 0.1
released: no
Status: newconfirmed

I've broken the second crash log out in to #200.

As for the original issue, we should probably error well before that and fail to load the game system if it doesn't have a default stats set (which I thought it did anyway, but obviously not).

comment:3 Changed 10 years ago by ibboard

Owner: set to ibboard
Status: confirmedaccepted

comment:4 Changed 10 years ago by ibboard

(In r335) Re #193: Unhandled exception in dictionary?

  • Make defaultStats attribute required by schema

Also:

  • Remove some references to log notifier

comment:5 Changed 10 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

comment:6 Changed 10 years ago by ibboard

released: noyes

Released on 31st October as part of v0.1b4

comment:7 Changed 10 years ago by ibboard

Resolution: fixedreleased

Mark fix as released under a previous version

Note: See TracTickets for help on using tickets.