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

Crashes on Opening a File (Aarch64) #465

Closed
Saroufim opened this issue Apr 21, 2023 · 6 comments · Fixed by #470
Closed

Crashes on Opening a File (Aarch64) #465

Saroufim opened this issue Apr 21, 2023 · 6 comments · Fixed by #470
Assignees
Labels
bug Something isn't working in-beta This issue is fixed in a beta version
Milestone

Comments

@Saroufim
Copy link

When selecting an nmoney file to open, the application crashes. If a new one is created, the application would still crash. This is only happening on my Aarch64 device. On x86_64 everything runs as it should. I tried switching to the beta branch but the error was still there.
Denaro is installed from Flathub and the device is running PostmarketOS.

@nlogozzo nlogozzo added this to the V2023.4.2 milestone Apr 21, 2023
@nlogozzo nlogozzo added the bug Something isn't working label Apr 21, 2023
@nlogozzo
Copy link
Member

Can you run the app via the terminal, flatpak run org.nickvision.money, and see if you get any error message?

@Saroufim
Copy link
Author


(NickvisionMoney.GNOME:2): Gtk-CRITICAL **: 19:49:53.307: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(NickvisionMoney.GNOME:2): Gtk-CRITICAL **: 19:49:53.307: gtk_widget_add_css_class: assertion 'GTK_IS_WIDGET (widget)' failed
Unhandled exception. System.ArgumentException: There is no region associated with the Invariant Culture (Culture ID: 0x7F). (Parameter 'name')
   at System.Globalization.RegionInfo..ctor(String name)
   at NickvisionMoney.Shared.Controllers.AccountViewController.get_CultureForNumberString() in /run/build/org.nickvision.money/NickvisionMoney.Shared/Controllers/AccountViewController.cs:line 203
   at NickvisionMoney.GNOME.Views.AccountView.CreateGroupRow(Group group, Nullable`1 index) in /run/build/org.nickvision.money/NickvisionMoney.GNOME/Views/AccountView.cs:line 362
   at NickvisionMoney.Shared.Controllers.AccountViewController.StartupAsync() in /run/build/org.nickvision.money/NickvisionMoney.Shared/Controllers/AccountViewController.cs:line 477
   at NickvisionMoney.GNOME.Views.AccountView.StartupAsync() in /run/build/org.nickvision.money/NickvisionMoney.GNOME/Views/AccountView.cs:line 540
   at NickvisionMoney.GNOME.Views.MainWindow.AccountAdded(Object sender, EventArgs e) in /run/build/org.nickvision.money/NickvisionMoney.GNOME/Views/MainWindow.cs:line 295
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

@nlogozzo
Copy link
Member

Ah looks like an issue with your locale settings on your system.

If you go into the terminal and type locale what does it print?

@Saroufim
Copy link
Author

locale: not found
Is this one of Alpine's particularities?

@nlogozzo
Copy link
Member

Sounds like it.

Maybe this can help: gliderlabs/docker-alpine#144

On Denaro's side we can maybe use en-US as default region if there is no culture on the system, to prevent the crash.

@fsobolev fsobolev self-assigned this Apr 22, 2023
@nlogozzo nlogozzo modified the milestones: V2023.6.0, V2023.5.0 May 23, 2023
@nlogozzo nlogozzo added the in-beta This issue is fixed in a beta version label May 24, 2023
@nlogozzo
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in-beta This issue is fixed in a beta version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants