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  2020  <20212022  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  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Phoebus lock down BOB
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: Stainer Tom <Tom.Stainer at sckcen.be>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 26 Mar 2021 16:44:13 +0000
>> From now on you can start phoebus with the 
>>    -layout /path/to/Example.memento
>> option to open that saved layout.

>I indeed tried saving as a memento file and loaded as you suggest, but it doesn't seem to work and I get the following.
>2021-03-26 17:19:42 WARNING [org.phoebus.ui.application.PhoebusApplication] Ignoring launch parameter '-layout'
>2021-03-26 17:19:42 WARNING [org.phoebus.ui.application.PhoebusApplication] Ignoring launch parameter '/home/user/opi/simple.memento'

>Am I missing something here? I ran it as:
>./phoebus.sh -layout /home/user/opi/simple.memento

The '-layout' option is supported since Feb. 1, https://github.com/ControlSystemStudio/phoebus/pull/1747

I can confirm that it will print that warning because unfortunately that part of the code isn't currently aware of some other part actually handling the option.
So when I try that now, it "works" but there is that warning which should be removed.
And there's no warning when /path/to/example.memento is simply not valid, i.e. no such file.
So bottom line the error handling is terrible, but fundamentally it works when you have a current version of phoebus.

-Kay


Replies:
Re: Phoebus lock down BOB Kasemir, Kay via Tech-talk
RE: Phoebus lock down BOB Stainer Tom via Tech-talk
References:
Phoebus lock down BOB Stainer Tom via Tech-talk
Re: Phoebus lock down BOB Kasemir, Kay via Tech-talk
RE: Phoebus lock down BOB Stainer Tom via Tech-talk

Navigate by Date:
Prev: Re: Possible to Populate CSS text fields with JDBC calls? Hu, Yong via Tech-talk
Next: Re: Phoebus lock down BOB Kasemir, Kay 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  <20212022  2023  2024 
Navigate by Thread:
Prev: RE: Phoebus lock down BOB Stainer Tom via Tech-talk
Next: Re: Phoebus lock down BOB Kasemir, Kay 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  <20212022  2023  2024 
ANJ, 29 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·