EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Corrupted bob files CSS
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, William Smith - UKRI STFC <william.smith at stfc.ac.uk>
Date: Mon, 6 Apr 2020 17:30:28 +0000
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  <20202021  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  <20202021  2022  2023  2024 
ANJ, 06 Apr 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·