Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Bugs and Troubleshooting (http://www.alice.org/community/forumdisplay.php?f=18)
-   -   Not able to open files (Mac) (http://www.alice.org/community/showthread.php?t=12266)

GeekyLex 12-01-2020 11:34 AM

Not able to open files (Mac)
 
I'm having an issue on my Mac with both Catalina and Big Sur releases.

"File - Open World" is blank.

Tried changing File Format to all files and it still "sees" nothing.

Same for "Make Billboard"

I can open files directly if I double-click them from wherever they live on my computer, but can't search/open from within the app.

Can't seem to find a workaround for the Billboard issue though.

djslater107 12-01-2020 03:52 PM

Thank you... This is a known bug in Alice 2 which we are trying to address...

One workaround that seems to work for me, if you are comfortable using the Terminal on your Mac is to type in the following at your prompt:

/Applications/Alice\ 2.5.app/Contents/MacOS/JavaAppLauncher ;

This is the path to where Alice 2 is located on my computer. (Alice 2.5 is located in the Applications folder.) You may have to modify it for your own setup. You may be able to paste that line directly into the Terminal and press the Return key.

Also, in System Settings: Security & Privacy: Full Disk Access I added Alice 2 to the list. (I cannot remember if I did this before I found the Terminal command) and I am not sure that it is necessary, but it has not hurt me.

When you try to open a file through Open File, it may take a bit of time for the file open window to populate the folders and files, but they eventually show up.

I will be curious as to whether this works for you (BTW, I do not have Big Sur installed yet, but I am running Catalina). Let me know if you have any questions.

Don Slater
Alice Project

[email]don@alice.org[/email]

GeekyLex 12-03-2020 12:28 PM

Hi Don -
Thanks for the reply.

I first gave Full Disk Access before using the terminal command and it did not change the outcome.

After running the terminal command to open Alice, I got the popups asking to grant access to Documents and Downloads and so now they appear checked off in Security & Privacy - Files and Folders but the command still has to be run each time I want to open Alice and see any files listed.

[CODE]2020-12-03 13:22:57.675 JavaAppLauncher[49029:4702609] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff22c6c99c -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 352
1 AppKit 0x00007fff22c576d5 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1375
2 AppKit 0x00007fff22c5716f -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 libnativewindow_macosx.jnilib 0x000000015aefb3fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4 ??? 0x000000011307a9f4 0x0 + 4614236660
)[/CODE]

[QUOTE=djslater107;58833]Thank you... This is a known bug in Alice 2 which we are trying to address...

One workaround that seems to work for me, if you are comfortable using the Terminal on your Mac is to type in the following at your prompt:

/Applications/Alice\ 2.5.app/Contents/MacOS/JavaAppLauncher ;

[/QUOTE]

djslater107 12-03-2020 02:15 PM

Alice 2 on Catalina and Big Sur
 
Yes, I have to run that command every time as well... Like you I thought granting those permissions would solve the problem, but unfortunately, not. That is the issue we are working on...

Alice 2 does not use the OS file access system, but a hybrid of Java and Python. We have to rewire Alice 2 to the Mac file access system.

Sorry.

GeekyLex 12-03-2020 04:42 PM

Alice 2 on Catalina and Big Sur
 
No worries. Glad to have a workaround!


All times are GMT -5. The time now is 09:21 PM.

Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.