Title | "import replicator" fails when debugging |
Status | closed |
Priority | essential |
Assigned user | Gareth Rees |
Product | project |
Organization | Ravenbrook |
Description | If you enter the Python statement "import replicator" while debugging the P4DTI, you get the following error: File "p4.py", line 176, in ? class keyword_translator(replicator.translator): AttributeError: translator |
Analysis | The reason for this is that there's an import loop: replicator.py imports p4, but p4.py imports replicator (since it needs replicator.translator). It happens that this problem doesn't affect the TeamTrack integration because configure_teamtrack.py imports p4 before it imports replicator. (I don't know if the problem affects the Bugzilla integration.) |
How found | manual_test |
Evidence | Discovered while testing. |
Observed in | 1.0.0 |
Introduced in | 1.0.0 |
Created by | Gareth Rees |
Created on | 2001-02-22 13:25:55 |
Last modified by | Gareth Rees |
Last modified on | 2001-12-10 19:25:35 |
History | 2001-02-21 GDR Created. |
Change | Effect | Date | User | Description |
---|---|---|---|---|
8909 | closed | 2001-02-22 13:30:30 | Gareth Rees | Moving keyword translator to its own module (keyword.py) so that there's no import loop between p4 and replicator. |