Move the "from openquake import job" line to the bottom
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Medium
|
Muharem Hrnjadovic |
Bug Description
.. of /usr/bin/openquake in order to avoid ugly stack traces when the user just wants to see the version or the help:
ubuntu@
Traceback (most recent call last):
File "/usr/bin/
from openquake import job
File "/usr/lib/
from django.db import transaction
File "/usr/lib/
if not settings.DATABASES:
File "/usr/lib/
self._setup()
File "/usr/lib/
raise ImportError(
ImportError: Settings cannot be imported, because environment variable DJANGO_
Changed in openquake: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Muharem Hrnjadovic (al-maisan) |
milestone: | none → 0.4.3 |
tags: | added: packaging |
tags: | added: sys-quality |
Changed in openquake: | |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |