KurtBestor / Hitomi-Downloader

:cake: Desktop utility to download images/videos/music/text from various websites, and more.
21.61k stars 2k forks source link

일본어 또는 한자가 들어간 ZIP파일의 경우 파일 열기나 폴더 열기가 정상적으로 작동되지 않는 문제 #1377

Closed CODE-LA-LI-LU-LE-LO closed 4 years ago

CODE-LA-LI-LU-LE-LO commented 4 years ago

Hitomi 압축설정 사용 중(ZIP, 원본파일 삭제)

해당 상황이 발생하는 대상의 예 Hitomi 1513205 Hitomi 1512380

위 같은 대상의 ZIP 압축처리가 완료된 후, 폴더 열기나 파일 열기 시도 시 정상작동되지 않습니다.

KurtBestor commented 4 years ago

해당 작업 마우스 우 클릭 - 정보... (I) 눌러서 나온 내용 보여주세요.

CODE-LA-LI-LU-LE-LO commented 4 years ago

[N/A] ふたドラちゃんが教えてあげる (1513205)

version: 2.7d platform: Windows-10-10.0.18362 order: 99 group: False gal_num: [N/A] ふたドラちゃんが教えてあげる (1513205) dir: hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205) zip: hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205).zip type: hitomi artist: N/A url: 1513205 valid: True done: True range: None range_p: None single: False time: 1573123978.72 (Nov 7) tags: [] goodbyedpi: True lock: False color: done paused: False

[Gallery] 갤러리 넘버: 1513205

제목: ふたドラちゃんが教えてあげる

작가: N/A

그룹: N/A

타입: doujinshi

시리즈: original

캐릭터: N/A

태그: female:bestiality, female:big breasts, female:futanari, female:horns, female:tail, female:thigh high boots, female:wings, male:dragon

언어: Korean

[File Names] [0001] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\01.jpg [0002] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\02.jpg [0003] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\04.jpg [0004] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\05.jpg [0005] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\06.jpg [0006] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\07.jpg [0007] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\08.jpg [0008] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\09.jpg [0009] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\10.jpg [0010] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\11.jpg [0011] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\12.jpg [0012] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\13.jpg [0013] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\14.jpg [0014] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\15.jpg [0015] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\16.jpg [0016] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\17.jpg [0017] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\18.jpg [0018] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\19.jpg [0019] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\20.jpg [0020] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\21.jpg [0021] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\22.jpg [0022] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\23.jpg [0023] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\24.jpg [0024] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\25.jpg [0025] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\26.jpg [0026] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\27.jpg [0027] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\28.jpg [0028] hitomi_downloaded[N/A] ふたドラちゃんが教えてあげる (1513205)\71452839_p0.jpg

[URLs]

[Zutta] 女城主戦姫 (1512380)

version: 2.7d platform: Windows-10-10.0.18362 order: 141 group: False gal_num: [Zutta] 女城主戦姫 (1512380) dir: hitomi_downloaded[Zutta] 女城主戦姫 (1512380) zip: hitomi_downloaded[Zutta] 女城主戦姫 (1512380).zip type: hitomi artist: zutta url: 1512380 valid: True done: True range: None range_p: None single: False time: 1572947731.88 (Nov 5) tags: [] goodbyedpi: True lock: False color: done paused: False

[Gallery] 갤러리 넘버: 1512380

제목: 女城主戦姫

작가: zutta

그룹: N/A

타입: doujinshi

시리즈: N/A

캐릭터: N/A

태그: female:eyepatch, female:rape, female:sole female, female:stomach deformation, female:sweating, female:thigh high boots, male:bbm, male:monster

언어: Korean

[File Names] [0001] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_52.jpg [0002] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_53.jpg [0003] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_54.jpg [0004] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_55.jpg [0005] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_56.jpg [0006] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_57.jpg [0007] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_58.jpg [0008] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_59.jpg [0009] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_60.jpg [0010] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_61.jpg [0011] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_62.jpg [0012] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_63.jpg [0013] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_64.jpg [0014] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_65.jpg [0015] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_66.jpg [0016] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_67.jpg [0017] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_68.jpg [0018] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_69.jpg [0019] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_70.jpg [0020] hitomi_downloaded[Zutta] 女城主戦姫 (1512380)\00_71.jpg

[URLs]

각각의 정보 내용입니다

KurtBestor commented 4 years ago

테스트 해봤는데 저는 이상없이 잘 되네요.

CODE-LA-LI-LU-LE-LO commented 4 years ago

폴더명 형식 [artist] title (id) 압축설정 ZIP 압축파일 연결프로그램 C:\Program Files\Honeyview\Honeyview.exe 을 사용중입니다.

다시 확인해봤는데 압축설정을 사용하지 않을 시에는 정상적으로 파일열기 및 폴더열기가 작동합니다.

압축설정을 사용하면 꿀뷰 연결 시 파일열기에서 꿀뷰에서 파일열기 실패가 발생하고 연결 해제 시 압축파일이 정상적으로 열리는 것이 확인됩니다.

폴더열기 시에는 압축설정과 상관없이 해당 파일이 위치한 경로가 아닌 내 컴퓨터 창이 연결됩니다. 경로에는 영어 이외의 문자는 없습니다.

사용자측에서 이 문제가 발생할 때의 로그를 확인할 수 있는 방법이 있을까요?

KurtBestor commented 4 years ago

테스트 부탁드려요: https://github.com/KurtBestor/Hitomi-Downloader-issues/releases/tag/Technical-Preview

폴더 열기 오류는 재현할 수 없어서 못 고쳤어요.

CODE-LA-LI-LU-LE-LO commented 4 years ago

다운로드 후 확인해봤는데 여전히 동일 문제가 발생합니다. 일단 다운로더를 로케일 에뮬레이터를 통해 일본어 호환 모드로 실행하였더니 ZIP버튼을 눌러 꿀뷰 실행하기 및 폴더 열기가 정상작동함을 확인하였습니다.

KurtBestor commented 4 years ago

원래 어떤 로케일인가요?

CODE-LA-LI-LU-LE-LO commented 4 years ago

한글 로케일에서 작동중이었습니다.

KurtBestor commented 4 years ago

Ctrl + Alt + C 눌러서 콘솔창 열고 아래 내용 입력하고 Enter 눌러서 나온 내용 보여주세요:

fucking_encoding.encodings
CODE-LA-LI-LU-LE-LO commented 4 years ago

출력내용입니다. 일본어 호환 모드 실행시에도 결과값은 같습니다.

Python 2.7.16 (v2.7.16:413a49145e, Mar  4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)]
fucking_encoding.encodings 
['cp949', 'mbcs', 'ascii', 'utf-8', 'ascii']
KurtBestor commented 4 years ago

Ctrl + Alt + C 눌러서 콘솔창 열고 아래 내용 입력하고 Enter 눌러서 나온 내용 보여주세요:

fucking_encoding.locale.getdefaultlocale(), fucking_encoding.locale.getlocale(), fucking_encoding.clean_encoding(u'戦'), u'戦가'.encode('cp932', 'replace'), u'戦가'.encode('cp949', 'replace'), u'戦가'.encode('mbcs', 'replace'), os.makedirs(u'戦가'), utils.shortName(u'戦가'), os.rmdir(u'戦가')
CODE-LA-LI-LU-LE-LO commented 4 years ago

출력내용입니다. 위가 한글 로케일, 아래는 일본어 호환 모드 실행시 입니다.

Python 2.7.16 (v2.7.16:413a49145e, Mar  4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)]

fucking_encoding.locale.getdefaultlocale(), fucking_encoding.locale.getlocale(), fucking_encoding.clean_encoding(u'戦'), u'戦가'.encode('cp932', 'replace'), u'戦가'.encode('cp949', 'replace'), u'戦가'.encode('mbcs', 'replace'), os.makedirs(u'戦가'), utils.shortName(u'戦가'), os.rmdir(u'戦가') 

0 3
3 2
(('ko_KR', 'cp949'), (None, None), '?', '\x90\xed?', '?\xb0\xa1', '?\xb0\xa1', None, u'\u6226\uac00', None)
Python 2.7.16 (v2.7.16:413a49145e, Mar  4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)]

fucking_encoding.locale.getdefaultlocale(), fucking_encoding.locale.getlocale(), fucking_encoding.clean_encoding(u'戦'), u'戦가'.encode('cp932', 'replace'), u'戦가'.encode('cp949', 'replace'), u'戦가'.encode('mbcs', 'replace'), os.makedirs(u'戦가'), utils.shortName(u'戦가'), os.rmdir(u'戦가') 

0 3
3 2
(('ja_JP', 'cp932'), (None, None), '\x90\xed', '\x90\xed?', '?\xb0\xa1', '\x90\xed?', None, u'\u6226\uac00', None)
KurtBestor commented 4 years ago

콘솔창에 아래 내용 입력해서 나오는 내용 알려주세요:

os.makedirs(u'戦가') if not os.path.exists(u'戦가') else 'already exists', __import__('win32api').GetShortPathName(u'戦가'), os.rmdir(u'戦가')

그리고 제어판 국가 또는 지역에서 Beta: Use Unicode UTF-8 for worldwide language support 가 체크되어있는지 확인해주세요: image image

CODE-LA-LI-LU-LE-LO commented 4 years ago

Beta: Use Unicode UTF-8 for worldwide language support는 체크처리 되어 있지 않습니다.

체크 처리 하기 전 콘솔창 입력 결과입니다.

Python 2.7.16 (v2.7.16:413a49145e, Mar  4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)]
os.makedirs(u'戦가') if not os.path.exists(u'戦가') else 'already exists', __import__('win32api').GetShortPathName(u'戦가'), os.rmdir(u'戦가') 
(None, u'\u6226\uac00', None)

체크 처리 후의 콘솔창 입력 결과입니다.

Python 2.7.16 (v2.7.16:413a49145e, Mar  4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)]
os.makedirs(u'戦가') if not os.path.exists(u'戦가') else 'already exists', __import__('win32api').GetShortPathName(u'戦가'), os.rmdir(u'戦가')  
(None, u'\u6226\uac00', None)

그리고 체크 처리 후 부터 해당 파일이 꿀뷰 및 폴더열기 등에서 정상적으로 작동됩니다.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs, but feel free to re-open a closed issue if needed.