Opened 15 years ago

Closed 15 years ago

#980 closed defect (fixed)

Missing useful server error message when Coordinate system cannot be found

Reported by: uvlite Owned by: brucedechant
Priority: medium Milestone: 2.1
Component: General Version: 2.0.2
Severity: trivial Keywords: error reporting
Cc: External ID:

Description

When starting the server without the env variable set the error message is simply "cannot init coordinate system". Although this is correct it is quite useless for any novice user. So the error message could be a lot more useful.

I include a patch which adds a DEBUG level message to the output of the server when the Mentor dictionary variable is not set. This is just another message but an extremely useful one for a very important use case: start the server as a novice.....

Attachments (1)

MGCoordSystemMessages2.patch (2.8 KB ) - added by uvlite 15 years ago.

Download all attachments as: .zip

Change History (4)

by uvlite, 15 years ago

comment:1 by brucedechant, 15 years ago

Owner: set to brucedechant
Status: newassigned

Thanks for attaching a patch file that addresses this ticket. I'll test it out and submit it when finished.

comment:2 by brucedechant, 15 years ago

Version: 2.1.02.0.2

comment:3 by brucedechant, 15 years ago

Resolution: fixed
Status: assignedclosed

I had to update your patch with a few changes before I submitted it. They are as follows:

  • Removed source code lines that were commented out in your patch and not part of the original source code.
  • Cleaned up debug statements.

Fixed r3854

Note: See TracTickets for help on using tickets.