Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unpackerr only recognizes English .rar files in the watched folder #487

Open
nasssssss2363 opened this issue Aug 25, 2024 · 8 comments
Open

Comments

@nasssssss2363
Copy link

The file name was originally in Chinese, unpackerr didn't decompress it, I changed the Chinese name to 111.rar and it started decompressing immediately

[INFO] 2024/08/25 16:08:43 [Folder] Watching (fsnotify): /media/downloads/unpackerr
[INFO] 2024/08/25 16:08:43 [Folder] Polling @ 1s: /media/downloads/unpackerr
[INFO] 2024/08/25 16:08:43 [Radarr] Updated (http://172.17.0.1:7879): 1 Items Queued, 1 Retrieved
[INFO] 2024/08/25 16:08:43 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/25 16:09:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:09:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 1 min 4 ms 130 µs
[INFO] 2024/08/25 16:10:43 [Radarr] Updated (http://172.17.0.1:7879): 1 Items Queued, 1 Retrieved
[INFO] 2024/08/25 16:10:43 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/25 16:10:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:10:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 2 mins 3 ms 762 µs
[INFO] 2024/08/25 16:11:00 [Folder] Tracking New Item: /media/downloads/unpackerr/111.rar (event: f CREATE)
[INFO] 2024/08/25 16:11:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:11:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 3 mins 3 ms 935 µs
[INFO] 2024/08/25 16:12:03 [Folder] Queued: /media/downloads/unpackerr/111.rar, queue size: 1
[INFO] 2024/08/25 16:12:03 [Folder] Extraction Started: /media/downloads/unpackerr/111.rar, retries: 0, items in queue: 0
@davidnewhall
Copy link
Collaborator

Cool solution, but you left out the problem. Can you attach the log from when it was Chinese?

@nasssssss2363
Copy link
Author

nasssssss2363 commented Aug 26, 2024

Cool solution, but you left out the problem. Can you attach the log from when it was Chinese?

Here's the beginning of the log

[INFO] 2024/08/25 16:08:43 [Folder] Watching (fsnotify): /media/downloads/unpackerr
[INFO] 2024/08/25 16:08:43 [Folder] Polling @ 1s: /media/downloads/unpackerr
[INFO] 2024/08/25 16:08:43 [Radarr] Updated (http://172.17.0.1:7879): 1 Items Queued, 1 Retrieved
[INFO] 2024/08/25 16:08:43 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/25 16:09:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:09:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 1 min 4 ms 130 µs
[INFO] 2024/08/25 16:10:43 [Radarr] Updated (http://172.17.0.1:7879): 1 Items Queued, 1 Retrieved
[INFO] 2024/08/25 16:10:43 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/25 16:10:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:10:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 2 mins 3 ms 762 µs

I was looking at the log to change the file name, probably the log ran here, I changed the file name to 111.rar on the automatic decompression, so the log is a little bit ....

[INFO] 2024/08/25 16:11:00 [Folder] Tracking New Item: /media/downloads/unpackerr/111.rar (event: f CREATE)
[INFO] 2024/08/25 16:11:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:11:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 3 mins 3 ms 935 µs
[INFO] 2024/08/25 16:12:03 [Folder] Queued: /media/downloads/unpackerr/111.rar, queue size: 1
[INFO] 2024/08/25 16:12:03 [Folder] Extraction Started: /media/downloads/unpackerr/111.rar, retries: 0, items in queue: 0

@nasssssss2363
Copy link
Author

I re-created a Chinese test file Hello.rar and successfully extracted it, I don't know what the reason is, maybe the previous file is too big, it's more than 30G. if I encounter it again, I'll upload the log.

Anyway, thanks for your help!

[INFO] 2024/08/27 01:41:41 [Radarr] Updated (http://172.17.0.1:7879): 2 Items Queued, 2 Retrieved
[INFO] 2024/08/27 01:41:41 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/27 01:41:41 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 1 failed, 0 deleted
[INFO] 2024/08/27 01:41:41 [Unpackerr] Totals: 0 retries, 2 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 1 day 3 hours 10 mins
[INFO] 2024/08/27 01:41:56 [Folder] Queued: /media/downloads/unpackerr/你好.rar, queue size: 1
[INFO] 2024/08/27 01:41:56 [Folder] Extraction Started: /media/downloads/unpackerr/你好.rar, retries: 0, items in queue: 0
[INFO] 2024/08/27 01:41:56 [Folder] Extraction Finished: /media/downloads/unpackerr/你好.rar => elapsed: 0s, archives: 1, extra archives: 0, files extracted: 2, written: 0MiB
[INFO] 2024/08/27 01:42:06 [Folder] Finished, Removed History: /media/downloads/unpackerr/你好.rar
[INFO] 2024/08/27 01:42:41 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/27 01:42:41 [Unpackerr] Totals: 0 retries, 3 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 1 day 3 hours 11 mins
[INFO] 2024/08/27 01:43:41 [Radarr] Updated (http://172.17.0.1:7879): 2 Items Queued, 2 Retrieved
[INFO] 2024/08/27 01:43:41 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/27 01:43:41 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/27 01:43:41 [Unpackerr] Totals: 0 retries, 3 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 1 day 3 hours 12 mins

@nasssssss2363
Copy link
Author

Cool solution, but you left out the problem. Can you attach the log from when it was Chinese?

It seems to be a bit of a problem, I tested four or five files, as long as the zip file name contains Chinese, unzip out the naming is wrong.
image

@nasssssss2363 nasssssss2363 reopened this Sep 2, 2024
@davidnewhall
Copy link
Collaborator

Can you send me a test file with a problem? And some screenshots showing 'correct' and 'incorrect'.

@nasssssss2363
Copy link
Author

nasssssss2363 commented Sep 2, 2024

ok,this is test file
悟空.zip
correct
image
incorrect
image

@nasssssss2363
Copy link
Author

Can you send me a test file with a problem? And some screenshots showing 'correct' and 'incorrect'.

Did I post that correctly?

@davidnewhall
Copy link
Collaborator

Yes, seems so. I still need to put some time into figuring out what's causing the text to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants