P4DTI issue job000224

Title"import replicator" fails when debugging
Statusclosed
Priorityessential
Assigned userGareth Rees
Productproject
OrganizationRavenbrook
DescriptionIf 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
AnalysisThe 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 foundmanual_test
EvidenceDiscovered while testing.
Observed in1.0.0
Introduced in1.0.0
Created byGareth Rees
Created on2001-02-22 13:25:55
Last modified byGareth Rees
Last modified on2001-12-10 19:25:35
History2001-02-21 GDR Created.

Fixes

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.