2019/04
-
리눅스 오라클에서 덤프 명령어를 실행할 때 간혹 아래의 에러코드를 만날 때가 있다. 에러명 : exp-00028 failed to open expdat.dmp for write (일명 너의 권한은..?) 에러원인 : exp 명령어를 시전 한 폴더에 대해서 권한이 있는가? 해결방법 : 폴더 권한을 체크하고 알맞게 변경한다. 혹시 root로 만든 폴더에 oracle계정으로 접속해 exp 명령어를 날리진 않았는가?
[ORACLE] exp-00028 failed to open expdat.dmp for write 해결리눅스 오라클에서 덤프 명령어를 실행할 때 간혹 아래의 에러코드를 만날 때가 있다. 에러명 : exp-00028 failed to open expdat.dmp for write (일명 너의 권한은..?) 에러원인 : exp 명령어를 시전 한 폴더에 대해서 권한이 있는가? 해결방법 : 폴더 권한을 체크하고 알맞게 변경한다. 혹시 root로 만든 폴더에 oracle계정으로 접속해 exp 명령어를 날리진 않았는가?
2019.04.10 -
파이썬 프로그램을 실행하던 도중 아래와 같은 에러에 직면하였습니다. 에러명 UnsupportedOperation : not readable 해결방법 r+ 모드로 옵션을 변경합니다. 파일을 여는 것(open)과 관련된 함수를 찾아서, r+ 옵션을 부여하였고 인코딩 utf8을 입력하였습니다. with open(config.metadata_path, mode='r+', encoding='utf8') as f: 예제 file = open("File.txt","r") 옵션 "r" Opens a file for reading only. "r+" Opens a file for both reading and writing. "rb" Opens a file for reading only in binary format. ..
7. UnsupportedOperation : not readable파이썬 프로그램을 실행하던 도중 아래와 같은 에러에 직면하였습니다. 에러명 UnsupportedOperation : not readable 해결방법 r+ 모드로 옵션을 변경합니다. 파일을 여는 것(open)과 관련된 함수를 찾아서, r+ 옵션을 부여하였고 인코딩 utf8을 입력하였습니다. with open(config.metadata_path, mode='r+', encoding='utf8') as f: 예제 file = open("File.txt","r") 옵션 "r" Opens a file for reading only. "r+" Opens a file for both reading and writing. "rb" Opens a file for reading only in binary format. ..
2019.04.07 -
음성합성을 진행하다보면 alignment.json에 음성과 텍스트를 쌍을 저장하기 위해서 아래의 명령어를 실행할 때가 있다. python -m recognition.alignment --recognition_path "./datasets/son/recognition.json" --score_threshold=0.5 --recognition_encoding="utf-8" 상황에 따라 다를 수도 있겠지만, 인코딩 이슈 또는 IndexError list index out of range에러를 만날 것이다. 인코딩 이슈를 만났을 경우 에러명 : UnicodeDecodeError: 'cp949' codec can't decode byte 0xec in position 51: illegal multibyte seq..
6. [음성합성] IndexError list index out of range 해결음성합성을 진행하다보면 alignment.json에 음성과 텍스트를 쌍을 저장하기 위해서 아래의 명령어를 실행할 때가 있다. python -m recognition.alignment --recognition_path "./datasets/son/recognition.json" --score_threshold=0.5 --recognition_encoding="utf-8" 상황에 따라 다를 수도 있겠지만, 인코딩 이슈 또는 IndexError list index out of range에러를 만날 것이다. 인코딩 이슈를 만났을 경우 에러명 : UnicodeDecodeError: 'cp949' codec can't decode byte 0xec in position 51: illegal multibyte seq..
2019.04.07 -
파이썬에서 except를 사용하려면 try와 함께 사용해야합니다. try없이 except를 사용하였을 경우 SyntaxError : Invalid syntax라는 에러를 만나게 됩니다. 감사합니다.
[pyton] except Invalid syntax파이썬에서 except를 사용하려면 try와 함께 사용해야합니다. try없이 except를 사용하였을 경우 SyntaxError : Invalid syntax라는 에러를 만나게 됩니다. 감사합니다.
2019.04.07 -
recognition.google --audio_pattern을 실행해보았습니다. Google Speech Recognition API 를 사용하여, 오디오에 대한 문장을 출력해줍니다. > python -m recognition.google --audio_pattern "./datasets/son/audio/*.*.wav" 약... 4시간? 이 걸린 것으로 기억합니다. 해당 작업이 끝나면 275$ (약 28만원)을 사용하게 됩니다. ㄷㄷ 실행 중에 아래와 같은 에러에 직면할 수도 있습니다. 에러 발생 : cp949 codec can't decode byte 0xec in position illgall multibyte sequence 에러 원인 : cp949는 인코딩 문제입니다. 해결방법 : recogr..
5. [음성합성] recognition.google --audio_patternrecognition.google --audio_pattern을 실행해보았습니다. Google Speech Recognition API 를 사용하여, 오디오에 대한 문장을 출력해줍니다. > python -m recognition.google --audio_pattern "./datasets/son/audio/*.*.wav" 약... 4시간? 이 걸린 것으로 기억합니다. 해당 작업이 끝나면 275$ (약 28만원)을 사용하게 됩니다. ㄷㄷ 실행 중에 아래와 같은 에러에 직면할 수도 있습니다. 에러 발생 : cp949 codec can't decode byte 0xec in position illgall multibyte sequence 에러 원인 : cp949는 인코딩 문제입니다. 해결방법 : recogr..
2019.04.06 -
Exception: OS error: RetryError(Exception occurred in retry method that was not classified as transient, caused by ) pip install librosa==0.5.1 https://pypi.org/project/librosa/0.5.1/ librosa 버전 정확히 맞춰보세요. WAV header indicates 해결됩니다. 궁금한 점이 있으면 댓글남겨주세요. 감사합니다.
4. [음성합성] INVALID_ARGUMENT, WAV header indicates 해결Exception: OS error: RetryError(Exception occurred in retry method that was not classified as transient, caused by ) pip install librosa==0.5.1 https://pypi.org/project/librosa/0.5.1/ librosa 버전 정확히 맞춰보세요. WAV header indicates 해결됩니다. 궁금한 점이 있으면 댓글남겨주세요. 감사합니다.
2019.04.06