C:\Users\Administrator\cocos2d-x-3.1.1\tools\cocos2d-console\bin>
python cocos.py new test -p com.test.game -l cpp -d .
Runing command: new
Traceback (most recent call last):
File "cocos.py", line 482, in <module>
run_plugin(command, argv, plugins)
File "cocos.py", line 449, in run_plugin
plugin.run(argv, dependencies_objects)
File "..\plugins\project_new\project_new.py", line 169, in run
self.parse_args(argv);
File "..\plugins\project_new\project_new.py", line 103, in parse_args
self.init(args)
File "..\plugins\project_new\project_new.py", line 58, in init
self._cocosroot, self._templates_root = self._parse_cfg(self._lang)
File "..\plugins\project_new\project_new.py", line 153, in _parse_cfg
langcfg['COCOS_ROOT'] = os.path.abspath(os.path.join(self.script_dir,langcfg["COCOS_ROOT"]))
File "C:\Python27\lib\ntpath.py", line 84, in join
result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc8 in position 29: ordinal not in range(128)
this error on python or my env or cocos2dx
in this error,
if env path not english -> Error on ascii
change the name of folder number or english that can be comprised in ascii
댓글 없음:
댓글 쓰기