Export to GitHub

nurpawiki - issue #59

Better error messages for diagnosing database installation/connection issues


Posted on Sep 30, 2008 by Happy Lion

What steps will reproduce the problem? 1. Don't install schema for Nurpawiki 2. Launch nurpawiki 3.

What is the expected output? What do you see instead?

I'd expect to be able to easily diagnose what's wrong with the database connection or the database schema.

At the moment I get "Database not configured or database connection down!".
The error handling can be improved to print the actual error, i.e., which one was it, database connection or schema missing..

Please use labels and text to provide additional information.

Comment #1

Posted on Sep 30, 2008 by Happy Lion

There's a test under trunk/test/postgresql that can be used to diagnose this.

It should be extended to read the database configuration from nw config file.

It should also be extended to print very easy to read error messages.

Status: Accepted

Labels:
Type-Defect Priority-Critical Milestone-Release1.2