Skip to content

macOS Crash when Selecting “topofile” in LUNAR Atom Typing GUI #5

Description

@ejnei-sketch

I’ve been testing the LUNAR GUI on my MacBook Pro (M1 Max, macOS Sonoma / Python 3.12) and ran into a reproducible crash when using the atom typing tool.
Everything in the GUI works as expected — I can open bond files, charge files, etc. — but when I click the “topofile” button, the application immediately shuts down. The terminal prints this error:
Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
This looks like it’s triggered when the file dialog opens (likely the native macOS NSOpenPanel). I’ve tried running both from Anaconda’s Python 3.12 and a clean environment, but the behavior is consistent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions