3-manifolds / Sage_macOS

SageMath as a macOS application bundle.
152 stars 15 forks source link

2.01 x86-64 version starts up and quits; arm-64 version works fine. #57

Closed herbs closed 1 year ago

herbs commented 1 year ago

I think the title says it all

herbs commented 1 year ago

I mean the 2.1.0 pre-test version in x86-64, Sorry.

culler commented 1 year ago

Thanks @herbs for volunteering as a beta tester!

Can you please do two things:

1) Open a terminal and run /Applications/SageMath-10-1.app/Contents/MacOS/SageMath Please report what the traceback says.

2) Provide the contents of ~/Library/Application\ Support/SageMath/Settings.plist

Thanks!

herbs commented 1 year ago

On Jun 15, 2023, at 7:48 AM, Marc Culler @.***> wrote:

Thanks @herbs for volunteering as a beta tester! Can you please do two things: • Open a terminal and run /Applications/SageMath-10-1.app/Contents/MacOS/SageMath Please report what the traceback says. • Provide the contents of ~/Library/Application\ Support/SageMath/Settings.plist Thanks! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Howdy,

Here are the files:

% /Applications/SageMath-10-1.app/Contents/MacOS/SageMath Traceback (most recent call last): File "/Applications/SageMath-10-1.app/Contents/Resources/main.py", line 610, in SageApp().run() File "/Applications/SageMath-10-1.app/Contents/Resources/main.py", line 599, in run self.launcher = LaunchWindow(root=self.root_window) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Applications/SageMath-10-1.app/Contents/Resources/main.py", line 208, in init if self.settings['state']['notebook_type'] == 'Jupyter Lab':


KeyError: 'notebook_type'

Good Luck,

Herb Schulz
***@***.***
herbs commented 1 year ago

Sigh... the plist file didn't transfer. Here's a copy:

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

state interface_type cli notebook_dir terminal_app Terminal.app
herbs commented 1 year ago

Hmmm: SettingsPlist.txt

culler commented 1 year ago

Thank you very much, @herbs. I have fixed the problem. I will replace the assets in an hour or so, after Apple and I have finished doing the Notarization Tango.

culler commented 1 year ago

OK. The new assets have been uploaded. They work for me. Please let me know if you have any further trouble.

herbs commented 1 year ago

On Jun 15, 2023, at 11:55 AM, Marc Culler @.***> wrote:

OK. The new assets have been uploaded. They work for me. Please let me know if you have any further trouble. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Howdy,

No problem here with the x86-64 version! Thanks.

PS: has the arm-64 version changed too? Should I download and install it?

Good Luck,

Herb Schulz @.***

culler commented 1 year ago

Yes, both versions have changed. You should download the arm version too. (The change was in the pure python part.) Whether it crashes depends on the data you have in your settings.