-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
[Bug] muCommander fails to open folders with a lot of .rar files. #1218
Comments
@ErikG-GH the log can be found in the folder that holds the preference files |
Here is the small portion from the latest log. 2024-06-17 14:51:42.663 [WT-EventQueue-0] DEBUG com.mucommander.core.LocationChanger:163 - folder=/Volumes/EBooks/ebooks/ebooks newbooks/ selectThisFileAfter=null |
Another attempt. 2024-06-17 15:28:16.461 [WT-EventQueue-0] DEBUG com.mucommander.core.LocationChanger:163 - folder=/Volumes/EBooks/ebooks/ebooks newbooks/2024/ selectThisFileAfter=null |
I've tried to reproduce this issue by creating a directory with 1,000 I'm attaching a zip file containing those multiple rar files (which in turn contains a plain text file). @ErikG-GH, could you please try to d/l it and open via muC on your machine to confirm if you see the issue in this case as well? thanks! |
I was testing on a windows machine and didn't have this issue - I guess there is something going on with 7zip JNA bindings on macOS with the new builds. @ahadas FYI |
FYI, checked muC v1.4.1 on macOS Ventura (intel) and all work fine with rar_dir.zip. |
thanks @pskowronek! might be an an |
Let me point out again that I have no problem with opening the rar_dir.zip directory. I am on Apple Silicon too. |
That is also what I am experiencing. Only with me, after clicking cancel, I get the eroor warning about 7zip binding that I showed above. |
Okay folks so looks like something is going on with 7zip binding on Apple silicon, but unfortunately I don't have one handy so I cannot help troubleshooting |
Was there an operating system upgrade or anything like that in the meantime? |
No, no system upgrade. Still on Ventura because, well, if it ain't broken, don't fix it. |
Just browsing around: |
I found myself a temporary solution to my problem. note: When I try to see inside a rar file I notice that muCommander tries to use the Unarchiver instead. That app opens and asks permission to unpack it somewhere. When I click cancel the Unarchiver leaves that typical macos file ._filename . |
Nice! so rn I'm thinking
|
@ErikG-GH if you want to give it a try, I was able to compile the When I replace the file on the portable version of muC, I'm able to open 7z files on an M1 mac. However, I'm not sure it is possible to do the same trick if your application is installed (under Here is a link to the patched version: |
Thanks Shay. I will certainly try it out but i can’t right now as I am in the South of France and only have my macbook with me and that’s an Intel machine. Within a week I will be back home. Op 9 jul 2024 om 14:51 heeft Shay Artzi ***@***.***> het volgende geschreven:
@ErikG-GH if you want to give it a try, I was able to compile the sevenzipjbinding from source on an M1 machine and create a patched version of sevenzipjbindings-1.4.1.jar with support for M1 mac (Mac-aarch64).
When I replace the file on the portable version of muC, I'm able to open 7z files on an M1 mac. However, I'm not sure it is possible to do the same trick if your application is installed (under /Applications) because of code signing issues.
Here is a link to the patched version:
sevenzipjbindings-1.4.1_patched.zip
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@ShayArtzi, this does not work for me. It has exactly the same problems as the original muCommander version. But let's wait for @ErikG-GH, maybe he has more luck. Btw., I have muCommander installed under /Applications. |
@ShayArtzi No luck here. As I already said, when I remove the sevenzipjbinding file from the app all goes well in that muC uses The Unarchiver to open the rar. It works for me. Now, your patched 1.4.1 file: In my opinion, it makes no difference. The behaviour is as I described after a new install: It does open an older rar file, it doesn't open a newer rar file and it fails to open a folder with a lot of rar files. BTW. It takes some time to go through all the different installs and removing/replacing sevenzipjbinding from the app as you have to shut down muC and restart it after any change, otherwise you get unexpected behaviour from muC from parts that are still in memory. Thank you @ShayArtzi for your work. I am sure that with your commitment we will get there eventually. You noticed that I am speaking of rar files. I couldn't find just now a .7z file somewhere to test. That could still work. |
Hi folks, Just wanted to clarify some points:
--add-exports java.desktop/com.apple.eawt=ALL-UNNAMED \
--add-exports java.desktop/com.apple.eio=ALL-UNNAMED \
--add-exports java.desktop/com.apple.laf=ALL-UNNAMED \ Patching the "installed" version is not going to work because of code signing considerations. With the above steps I was able to work with both All of the above is just a proof of concept to show this issue will be fixed once |
@ShayArtzi, it does work 👍 |
This issue should be fixed in the latest nightly build for apple silicone @ErikG-GH @Andreas0602 FYI if you want to give it a try |
It works fine. Thank you very much, @ShayArtzi! |
Is there an existing issue for this?
Description
When I try to open folder that contains many rar files (>100, >200?) muCommander shows a spinning blue wheel but does nothing further. Previously I was on version 1.3.0 of muCommander but recently I installed version 1.4.0 and the failing to open started. I just installed 1.4.1 but the problem persists.
What is also annoying is that when I go back to 1.3.0 the problem remains.
MuCommander is slow in opening folders that contain some dozens of rar files but eventually opens the folders and I can also open the rar files. Above a certain amount of rar files muCommander fails to open the folder.
Steps to reproduce
Just fill a folder with many rar files and try to open it.
Expected behavior
I expect to be able to open a folder with any amount of rar files and previously I could in version 1.3.0 before I updated.
Actual behavior
What happens is that the blue wheel keeps spinning. I can move my mouse around and click on another folder or panel but there is no execution of any command. I have to close down muCommander which is perfectly possible. I don't need to force a stop.
Screenshots?
No response
muCommander version
muCommander
Version: 1.4.1
Build date: 2024/06/12
Build number: a65fe3e
Java version
Java
Runtime version: 23-internal
VM name: OpenJDK 64-Bit Server VM
VM version: 23-internal-ahadas-0081ac197a656cdc0d88d5a5e2a0f399ee023654
VM vendor: Oracle Corporation
Operating System type and version
OS
Name: Mac OS X
Version: 13.4
Architecture: aarch64
Relevant log output
The text was updated successfully, but these errors were encountered: