Closed brdiep113 closed 7 months ago
@brdiep113 Any chance that redirecting stdout & stderr to file actually lets you look back after the fact and see any potential error messages that were in the process of being displayed at the moment when the crash occurs?
Eg something like SomeCommand &> SomeFile.txt
as seen here?
By the way... thank you very much for entering these Linux-related errors! It is super useful to have people developing on and reporting interactions with different platforms. :)
I cannot replicate this error, using the same environment (Ubuntu 22.04.3 LTS / 'main' branch)
However, SLPAA raises TypeError when selecting these two options from the toolbar:
I think this is a known issue. If I remember correctly, forcing int()
for certain parameters in SLPAA settings would resolve this issue.
The error arises from the following snippet responsible for removing the (x) button from the 'New Location' tab.
without the code | ➜ | with the code |
---|---|---|
It turned out to be a simple GUI issue. Since the (x) button can appear on either side, the conditional above locates and kills it by specifying the OS.
Whoever wrote this conditional mistakenly assumed that Linux should always have the (x) button on the left like macOS, but that is not the case at least for Ubuntu 22. See above that Ⓧ is on the right-hand side of a tab Who wrote this code?! 😠 (87c9bd800bf60d79df3c0df78f432a0d15b81241) In my defence, Ubuntu used to have a Mac-like GUI, ... but like in the ancient time.
Since the users can customize the location of (x) button on Linux, this ad-hoc code may raise issue, potentially. So, rather than removing the button, a better solution would be to ignore the input when the user clicks (x) on the 'New Location' tab.
Describe the bug When selection any option on the top toolbar of SLPAA, the program (and device) crashes! It is likely related to OS issues as this does not seem to be an issue for others who develop on Windows or MacOS.
Sample corpus file Any corpus file
To Reproduce Steps to reproduce the behavior:
Expected behavior I would expect the program to work and not crash.
Error messages No error message seen as the program and computer immediately freezes.
Screenshots![image](https://github.com/PhonologicalCorpusTools/SLPAA/assets/51172655/86031e20-d850-4787-9c6f-904e69509023)
Operating system and SLP-AA version