Impossible to run quantum-server from testing/archives packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
quantum (Ubuntu) |
Fix Released
|
High
|
Chuck Short | ||
Quantal |
Fix Released
|
High
|
Chuck Short |
Bug Description
Using Folsom Testing Packages [1], I can't run Quantum-Server.
apt-get install quantum-server
When I try to run the bin "quantum-server" :
Traceback (most recent call last):
File "/usr/sbin/
from quantum.server import main as server
File "/usr/lib/
from quantum import service
File "/usr/lib/
from quantum.common import config
File "/usr/lib/
from quantum.api.v2 import attributes
File "/usr/lib/
from quantum.common import exceptions as q_exc
File "/usr/lib/
class QuantumExceptio
File "/usr/lib/
message = _("An unknown exception occurred.")
NameError: name '_' is not defined
[1] https:/
summary: |
- Impossible to run Quantum Server with testing packages + Impossible to run Quantum Server from testing packages |
affects: | ubuntu → quantum (Ubuntu) |
no longer affects: | quantum |
Changed in quantum (Ubuntu Quantal): | |
status: | Confirmed → Fix Released |
This error is usually the result of gettext.install() was not called, but it should be called any time something in the quantum package is loaded, based on this grep:
./__init_ _.py:import gettext _.py:gettext. install( 'quantum' , unicode=1)
./__init_
My guess is that this is packaging related, since we don't see it in devstack, but it needs more investigation.