./bin/py -c 'from lp.registry.model import person' fails due to circular import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Launchpad itself |
High
|
Curtis Hovey |
Bug Description
Like this:
mwh@grond:
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/home/
from canonical.
File "/home/
from lp.registry.
AttributeError: 'module' object has no attribute 'generate_nick'
A good fix for this, I think, would be to remove the "from lp.registry.
Related branches
- Aaron Bentley (community): Approve on 2009-09-21
-
Diff: 234 lines4 files modifiedlib/canonical/launchpad/database/__init__.py (+0/-2)
lib/canonical/launchpad/doc/hwdb-device-tables.txt (+1/-1)
lib/canonical/launchpad/zcml/hwdb.zcml (+23/-23)
lib/canonical/launchpad/zcml/launchpadstatistic.zcml (+3/-3)
Changed in launchpad-registry: | |
status: | New → Triaged |
Curtis Hovey (sinzui) wrote : | #1 |
Changed in launchpad-registry: | |
assignee: | nobody → Guilherme Salgado (salgado) |
importance: | Undecided → High |
milestone: | none → 2.2.9 |
Guilherme Salgado (salgado) wrote : | #2 |
I did remove all the lines of the form
from lp.registry.
From canonical/
Changed in launchpad-registry: | |
assignee: | Guilherme Salgado (salgado) → nobody |
milestone: | 2.2.9 → none |
Changed in launchpad-registry: | |
status: | Triaged → In Progress |
assignee: | nobody → Curtis Hovey (sinzui) |
milestone: | none → 3.0 |
Changed in launchpad-registry: | |
milestone: | 3.0 → 3.1.10 |
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
tags: | added: tech-debt |
Fixed released in launchpad-project 3.1.10.
Changed in launchpad-registry: | |
status: | Fix Committed → Fix Released |
salgado. rs=me to remove every * import from c/l/{database. interfaces. browser} /__init_ _.py