{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/870d613430249e453343efc9667ef636?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"870d613430249e453343efc9667ef636","url":"https://api.github.com/users/encukou","login":"encukou","id":302922},"milestone":null,"assignee":null,"labels":[{"name":"api","color":"FFFFFF","url":"https://api.github.com/repos/encukou/test-1/labels/api"},{"name":"feature","color":"FFFFFF","url":"https://api.github.com/repos/encukou/test-1/labels/feature"},{"name":"high-priority","color":"FFFFFF","url":"https://api.github.com/repos/encukou/test-1/labels/high-priority"},{"name":"involved","color":"FFFFFF","url":"https://api.github.com/repos/encukou/test-1/labels/involved"}],"updated_at":"2011-11-03T19:26:39Z","comments":0,"closed_at":null,"url":"https://api.github.com/repos/encukou/test-1/issues/31","body":"**Reported by [Eevee](http://bugs.veekun.com/users/1) on 2010/04/24 15:31:40 +0000 · Migrated from [Redmine issue 217](http://bugs.veekun.com/issues/217)**\n\n---\n\nOff the top of my head, the following can happen:\n\n-   Engine URI has a bogus scheme.\n-   Engine URI is just bogus.\n-   Engine is an RDBMS that needs a certain Python module.\n-   Engine is file-based and doesn’t have write permission to the given file.\n-   Engine is not file-based, but the requested database doesn’t exist.\n-   Engine has bad credentials.\n-   Index directory is not readable.\n-   Index directory is not writable.\n-   Index is not populated, and this is a lookup/status/whatever command.\n-   `dump` tries to dump from an obsolete schema.\n-   `load` is given an incomplete subtree of dependent tables.\n-   `load` tries to load into existing tables without `-D` passed.\n-   Ctrl-C is pressed.\n\nShowing a backtrace is ugly and, for many of these, not very helpful.\n\n\n\n    Redmine metadata:\n    Updated on: 2010/10/08 08:00:28 +0000\n    Start date: 2010/04/24\n\n---\n\n**Comment by [Eevee](http://bugs.veekun.com/users/1) from 2010/10/08 08:00:28 +0000**\n\n\n\n\n\n    Assignee ⇨ —","html_url":"https://github.com/encukou/test-1/issues/31","number":31,"title":"Handle CLI errors more gracefully","id":2136482,"created_at":"2011-11-03T19:26:39Z"},"action":"opened"}