[p4] Need help with Perforce-Bugzilla integration
Nick Barnes
Nick.Barnes at pobox.com
Wed Jun 28 04:47:33 PDT 2006
At 2006-06-28 08:58:46+0000, Sushree Tripathy writes:
> Then thinking that some modules are missing in
> Python2.0.1, I downloaded the Python with win32
> modules and installed it as well.
>
> 2)-Now when I run the command python run.py, I get the
> following errors.
>
> Traceback (most recent call last):
> File "C:\P4DTI-2.3.2\run.py", line 20, in ?
> from init import r
> File "C:\P4DTI-2.3.2\init.py", line 36, in ?
> import p4
> File "C:\P4DTI-2.3.2\p4.py", line 69, in ?
> class p4:
> File "C:\P4DTI-2.3.2\p4.py", line 77, in p4
> unicode = False
> NameError: There is no variable named 'False'
> ----------------------------------------------
>
> Since I am completely new to this field, and am not
> aware of Python programming, can someone alredy done
> the integration help me out?
You need a more recent Python. The P4DTI documentation states that
Python 2.0 is sufficient, but apparently this is in error. The True
and False constants were introduced in Python 2.2.1 (in April 2002).
I recommend Python 2.4.2 or 2.4.3.
Nick Barnes
P4DTI Project
Ravenbrook Limited
More information about the perforce-user
mailing list