Я решил научиться разрабатывать надстройки Firefox с помощью SDK Add-on, и я следил за tutorial с веб-сайта Mozilla. Когда я добрался до точки запуска cfx run
я получил следующее исключение (Что чёрта):Начало работы с Firefox Add-on SDK
Примечание: Firefox версии 23,0, надстройки на SDK 1.14, Python 2.6.6, OS Windows XP SP3
(D:\addon-sdk-1.14) D:\my_addon>cfx run
Traceback (most recent call last):
File "D:\addon-sdk-1.14\bin\cfx", line 33, in <module>
cuddlefish.run()
File "D:\addon-sdk-1.14\python-lib\cuddlefish\__init__.py", line 928, in run
bundle_sdk=options.bundle_sdk)
File "D:\addon-sdk-1.14\python-lib\cuddlefish\runner.py", line 640, in run_app
print >>sys.stderr, "Using binary at '%s'." % runner.binary
LookupError: unknown encoding: cp720
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "D:\Python26\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "D:\addon-sdk-1.14\python-lib\cuddlefish\runner.py", line 534, in maybe_r
emove_outfile
os.remove(outfile)
WindowsError: [Error 32] The process cannot access the file because it is being
used by another process: 'c:\\docume~1\\ab\\locals~1\\temp\\harness-stdout-p7spr
q'
Error in sys.exitfunc:
Traceback (most recent call last):
File "D:\Python26\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "D:\addon-sdk-1.14\python-lib\cuddlefish\runner.py", line 534, in maybe_r
emove_outfile
os.remove(outfile)
WindowsError: [Error 32] The process cannot access the file because it is being
used by another process: 'c:\\docume~1\\ab\\locals~1\\temp\\harness-stdout-p7spr
q'
Большое спасибо, я Googled, но ничего не нашел. Обновление до 'Python 2.7.5' решило мою проблему. –
-argh, этого нельзя удалить – Bulwersator
Установил Python 2.7.6 и получил ошибку, понижен до 2.6.6 и исправил ее :) –