2012-07-13 2 views
1

매우 간단한 trigger.io 프로젝트의 src (또는 다른 하위 폴더)에 mp3를 포함시키는 경우 이상한 동작이 발생합니다.Trigger.IO : mp3 파일 포함

첫 번째 빌드가 정상적으로 작동합니다. (독일 물건 내가 추가 한 번역)

2012-07-13 12:51:38,017 [ DEBUG] Checking API response for success or error 
2012-07-13 12:51:38,131 [ DEBUG] configuration is identical to last run 
2012-07-13 12:51:38,131 [ DEBUG] already authenticated - continuing 
2012-07-13 12:51:38,131 [ DEBUG] GET https://trigger.io/api/app/69c8695eccc911e1a8c212313d1adcbe/should_rebuild 
2012-07-13 12:51:38,394 [ DEBUG] Checking API response for success or error 
2012-07-13 12:51:38,394 [ INFO] Configuration is unchanged: using existing templates 
2012-07-13 12:51:48,394 [ ERROR] Something went wrong that we didn't expect: 
2012-07-13 12:51:48,394 [ ERROR] [Error 183] Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist: 'development' 
Translation: A file cannot be created if it exists allready: 'development' 
2012-07-13 12:51:48,394 [ DEBUG] Traceback (most recent call last): 
    File "C:\Users\asic\forge-tools-3.3.2\forge-tools\forge\async.py", line 96, in run 
    result = self._target(*self._args, **self._kwargs) 
    File "C:\Users\asic\forge-tools-3.3.2\forge-tools\forge\main.py", line 369, in development_build 
    try_a_few_times(move_files_across) 
    File "C:\Users\asic\forge-tools-3.3.2\forge-tools\forge\lib.py", line 25, in try_a_few_times 
    f() 
    File "C:\Users\asic\forge-tools-3.3.2\forge-tools\forge\main.py", line 365, in move_files_across 
    shutil.copytree(defaults.TEMPLATE_DIR, 'development') 
    File "C:\Python27\lib\shutil.py", line 174, in copytree 
    os.makedirs(dst) 
    File "C:\Python27\lib\os.py", line 157, in makedirs 
    mkdir(name, mode) 
WindowsError: [Error 183] Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist: 'development' 
Translation: A file cannot be created if it exists allready: 'development' 

를 해결하는 유일한 방법은, 개발 폴더를 삭제하고 처음부터 구축하는 것입니다 ..

: 두 번째 빌드에 나는 다음과 같은 오류를받을
+1

어쩌면 뭔가가 MP3 파일에 잠금 기능이 있습니까? –

+0

--verbose 매개 변수를 포함 할 수 있습니까? 위조 빌드 - 번복 –

답변

2

'위조 빌드'를 수행하면 기존 '개발'디렉토리가 삭제되고 다시 생성됩니다. 따라서 .mp3 파일이 Windows의 다른 응용 프로그램에서 열리면 파일이 삭제되는 것을 막을 수 있으므로 두 번째 '위조 빌드'에서이 문제가 발생합니다.

+0

감사합니다! 실제로 mp3에는 읽기 전용 속성이 설정되어 있습니다. 이로 인해 빌드 프로세스가 폴더를 제대로 삭제하지 못했습니다. – AyKarsi