我正在嘗試使用Android SDK附帶的JetCreator python應用程序爲Android創建聲音文件。我嘗試使用提供的Android SDK android-sdk-r12-windows.zip提供的JetCreator演示來演奏MIDI片段時發生錯誤。它使用Windows XP和Windows 7進行了試用。首先我安裝了python 2.7和wxPython2.8-win32-> unicode-2.8.12.1-py27.exe,並且能夠運行hello world wx程序。接下來,我跑JetCreator.py,GUI開始,我選擇一些MDI段播放(和命中播放按鈕),我得到這個錯誤:Android JetCreator深度拷貝錯誤
Unhandled exception in thread started by <bound method JetCreator.PlaySegs of <_
_main__.JetCreator; proxy of <Swig Object of type 'wxFrame *' at 0x1ca9378> >>
Traceback (most recent call last):
File "C:\_tools\Android\android-sdk-windows\tools\Jet\JetCreator\JetCreator.py
", line 1230, in PlaySegs
jet_file = CreateTempJetFile(self.jet_file)
File "C:\_tools\Android\android-sdk-windows\tools\Jet\JetCreator\JetUtils.py",
line 759, in CreateTempJetFile
jet_file = copy.deepcopy(org_jet_file)
File "C:\Python27\lib\copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "C:\Python27\lib\copy.py", line 344, in _reconstruct
state = deepcopy(state, memo)
File "C:\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
File "C:\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "C:\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
File "C:\Python27\lib\copy.py", line 298, in _deepcopy_inst
state = deepcopy(state, memo)
File "C:\Python27\lib\copy.py", line 163, in deepcopy
y = copier(x, memo)
File "C:\Python27\lib\copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "C:\Python27\lib\copy.py", line 174, in deepcopy
y = copier(memo)
TypeError: cannot deepcopy this pattern object
我不想一定修復JetCreator.py ,但是我的配置有問題嗎?
感謝, 保羅