Hi:
Display files are written in a background job, because otherwise saving a file would block the complete UI.
When closing the application, we don't check if there are still running background jobs, and simply quit.
That's bad for display files. On the other hand, jobs that simply fetch data for a display might be aborted, since you obviously don't care any more when you exit the tool.
So needs a little more work to fix it, but I'll look at it.
https://github.com/ControlSystemStudio/phoebus/issues/1252
Thanks,
Kay
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of William Smith - UKRI STFC via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, April 6, 2020 12:18 PM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] Corrupted bob files CSS
Hi,
When saving files in CSS Phoebus I see that they get corrupted if I close CS Studio before the save completes. The bottom ~half of the text file gets deleted.
I have done this on a number of occasions when I realised that I was trying to save in the wrong location, or saving over a slow connection to a remote server. I had pressed the “cancel save” button in the jobs list, which then told me
that the save had stopped before I closed the application.
Is this a bug or just something we need to work around? It’s never a huge problem because we can just revert to a previous commit but it would be nice if saving didn’t corrupt files even if it didn’t complete.
Thanks,
Will
- References:
- Corrupted bob files CSS William Smith - UKRI STFC via Tech-talk
- Navigate by Date:
- Prev:
ci-scripts 2.2.0 available Ralph Lange via Tech-talk
- Next:
plugins/EPICS_areaDetector in ImageJ Jong Woo Kim via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Corrupted bob files CSS William Smith - UKRI STFC via Tech-talk
- Next:
ci-scripts 2.2.0 available Ralph Lange via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|