Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1918 - 1920 of 2152)

Ticket Resolution Summary Owner Reporter
#511 worksforme Better warnings and errors when using API dread
#1290 fixed Better error when blank database dread dread

Reported by dread, 3 years ago.

Description

When installing CKAN, when doing "paster serve development.ini", lots of users encounter the error for every request:

ProgrammingError: (ProgrammingError) relation "user" does not exist

This is because the database tables have not been created - they have forgotten or missed the "paster db init" step.

Can we provide a better error to say that the database is not initialised yet?

Implementation options

  1. At the start of every request we reflect the database tables and check they are there. This is rather expensive!
  1. Uncached requests to the home page start with a cheap database query. If there is an exception then return this error about database setup. I really like Drupal's page for this that has in large letters that the site is currently off-line. Below a line, in small letters, there are developer suggestions on what is wrong and where to look to fix it.
#2319 wontfix Better auto-complete for groups on dataset edit page rgrp

Reported by rgrp, 2 years ago.

Description

Use jquery chosen?

Note: See TracQuery for help on using queries.