nurpax / nurpawiki

Automatically exported from code.google.com/p/nurpawiki
GNU General Public License v2.0
0 stars 3 forks source link

Better error messages for diagnosing database installation/connection issues #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by jjhel...@gmail.com on 30 Sep 2008 at 5:24

GoogleCodeExporter commented 9 years ago
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.

Original comment by jjhel...@gmail.com on 30 Sep 2008 at 5:25