×
שולמית מירל
Hello,
We have python 2.6 & 3.2 installed on Sun solaris.
When running py utility, we get the below error:
"NameError: global name 'execfile' is not defined"
Traceback (most recent call last):
File "p4convert-cvs.py", line 134, in <module>
cvstop4lib.readconfig(configfile=args.config)
File "/bzqchome/bzq/ccbzq/mb_ccbzq/Perforce/p4convert/cvstop4lib.py", line 61, in readconfig
execfile(configfile,globals()) # read in the config file - must be valid Python, evaluated in the context of this file
NameError: global name 'execfile' is not defined
How to solve this problem?
Thank you!
We have python 2.6 & 3.2 installed on Sun solaris.
When running py utility, we get the below error:
"NameError: global name 'execfile' is not defined"
EXCEPTION: [Errno 17] File exists: './LOGS'p4convert-cvs.py
Traceback (most recent call last):
File "p4convert-cvs.py", line 134, in <module>
cvstop4lib.readconfig(configfile=args.config)
File "/bzqchome/bzq/ccbzq/mb_ccbzq/Perforce/p4convert/cvstop4lib.py", line 61, in readconfig
execfile(configfile,globals()) # read in the config file - must be valid Python, evaluated in the context of this file
NameError: global name 'execfile' is not defined
How to solve this problem?
Thank you!