티스토리 뷰
반응형
개발하던 프로젝트가 갑자기 에러가 났어요
처음부터 안되던 프로젝트도 아니고, 잠시 서버 구동을 안하고 파일 수정만 하며 작업 하던 프로젝트라 뭐가 문젠지 찾아보다가 인코딩 문제라는것을 발견.
Traceback (most recent call last):
33: from C:/Ruby27-x64/bin/jekyll:23:in `<main>'
32: from C:/Ruby27-x64/bin/jekyll:23:in `load'
31: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/exe/jekyll:15:in `<top (required)>'
30: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
29: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
28: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
27: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
26: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
25: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
24: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
23: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `each'
22: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
21: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:36:in `process'
20: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:65:in `build'
19: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:28:in `process_site'
18: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:78:in `process'
17: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:181:in `read'
16: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/reader.rb:16:in `read'
15: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/reader.rb:59:in `read_directories'
14: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/reader.rb:74:in `retrieve_posts'
13: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/readers/post_reader.rb:28:in `read_posts'
12: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/readers/post_reader.rb:38:in `read_publishable'
11: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/readers/post_reader.rb:53:in `read_content'
10: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/reader.rb:138:in `get_entries'
9: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/reader.rb:138:in `chdir'
8: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/reader.rb:138:in `block in get_entries'
7: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/reader.rb:125:in `filter_entries'
6: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/entry_filter.rb:32:in `filter'
5: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/entry_filter.rb:32:in `reject'
4: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/entry_filter.rb:38:in `block in filter'
3: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/entry_filter.rb:55:in `included?'
2: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/entry_filter.rb:102:in `glob_include?'
1: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/path_manager.rb:29:in `join'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/path_manager.rb:29:in `join': incompatible character encodings: CP949 and UTF-8 (Encoding::CompatibilityError)
인터넷 찾아보면 나오는 해결방법들이
1. _config.yml 파일에 utf-8 추가
2. cpch 65001 실행
3. sass 파일에 Encoding.default_external = Encoding.find('utf-8') 추가
이렇게 나오는데 나는 3개 전부 해당이 되지 않았다
구글링하며 찾아본 결과 한글이 문제였다
한글명.md 포스트 파일을 추가했었는데 이것이 문제였다
항상 한글 주의하자! ㅜㅜ
for me it was encoding prob! cause on your language type!
반응형
'IT' 카테고리의 다른 글
개발자 포트폴리오 만들기 너무 어렵다.. (0) | 2021.06.08 |
---|---|
[jekyll] 지킬 커스텀 변수 사용하기 (0) | 2021.06.02 |
[Error] javax.servlet.ServletException: Class [HelloServlet] is not a Servlet (0) | 2019.05.29 |
[IntelliJ] 인텔리제이 코드비교 파일비교 하는법 how to compare code on IntelliJ (1) | 2019.04.25 |
[Error] java.lang.IllegalArgumentException: java.util.zip.ZipException: error in opening zip file (0) | 2019.04.02 |
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Resume
- 뷰새로고침
- CV
- PROGRESS BAR
- 프로그래스바
- 자바스크립트 프로그래스
- 영어커버레터
- java mail
- 노드
- 영문이력서
- 노드컴파일
- 일렉트론
- progress
- electron
- JSzip
- 영문resume
- 깃허브삭제
- 프로그래스
- 영문커버레터
- CSS
- 뷰자동빌드
- 영어이력서
- 영어resume
- 노드에러
- 인텔리제이 에러
- 커버레터
- 이력서 쓰는법
- 지킬
- 노드자동
- 인텔리제이오류
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함