-
-
Notifications
You must be signed in to change notification settings - Fork 254
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
Version 1.3 Alarms don't save and crash Artisan #182
Comments
When it crashes, can you show us what are the crash details? |
It crashes to the desktop. no error. |
permission problem, try run sudo artisan |
It’s not a permissions error. |
v1.2 was build on a totally different stack still using Python2 and Qt4. v1.3 runs on Python3 and Qt5.
|
cat /etc/os-releasePRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//'a02082 |
ok it seems it might be settings if I load as sudo from terminal I don't get an error. On the desktop I can right click on Artisan Icon and select properties. I can see the following: Wonder if I should change those for execute to anybody and change content to anybody as well? EDIT: Tried changing and still crashes. |
as per post in the crash thread from @samtsai5212 this fixes it permanently: Artisan 1.3 crashes probably because it tried to save something without permission. Try to run Artisan in terminal with root privilege: If you want to make it permanent, run the following: |
Can you find out which file Artisan is trying to save? Maybe strace will help. |
?? It's the alarm file that I was editing. It's located in the home/pi folder so no permission issue you'd think. |
If it was a permissions problem saving the alarms, we would see an exception and it would be handled by our exception handler, but in this case it looks like the software aborts. |
Yes exactly - crashes out to the desktop with no error. |
The issue seems to be caused by a file access that files on opening a file selector with in the GUI libs of the underlying QT. This might be caused by a missing lib file in the Artisan RPi bundle and thus be a build issue. Running Artisan as root is a valid workaround for now, while I don't understand yet why this works. We are investigating... |
Thanks @MAKOMO Much appreciated |
I close this one as it seems to have the same cause then Issue #187 |
This looks ok now in 1.3.1 and also I note that installing 1.3.1 removed the sudo I added to the command in /usr/share/applications/artisan.desktop Thanks! |
Thanks for double checking David! |
Expected Behavior
Alarms should be able to be saved after editing Temperature
Actual Behavior
Pressing save crashes software and does not save alarm
Steps to Reproduce the Problem
Open Alarms and edit a Temperature and press save
1.Open Alarms
2.Enter or Edit a Temperature
3.Save
Specifications
Please attach your current Artisan settings file (as exported via menu Help >> Save Setings as *.aset) file.
Please attach any relevant Artisan *.alog profiles.
Saving Settings also caused a crash just now.
I zipped a settings and alarm file. It had a bz2 extension but i renamed it to zip as I could not uppload it otherwise.
profile.zip
The text was updated successfully, but these errors were encountered: