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  <20182019  2020  2021  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: PyEPICS timeout in jupyter
From: Matt Newville <[email protected]>
To: "Shen, Guobao" <[email protected]>
Cc: Talk EPICS Tech <[email protected]>
Date: Wed, 16 May 2018 12:43:47 -0500
Hi Guobao,


On Wed, May 16, 2018 at 12:30 PM, Shen, Guobao <[email protected]> wrote:

Eventually, the root cause was identified.

I have to set the PYEPICS_LIBCA to point to the specific one that pvapy uses.


After that, everything works fine.


Thanks,

Guobao


From: Shen, Guobao
Sent: Wednesday, May 16, 2018 11:48:12 AM
To: Matt Newville

Cc: Talk EPICS Tech
Subject: Re: PyEPICS timeout in jupyter
 

Hi Matt,

I eventually found my problem.

In my code, I imported pvaccess, which is EPICS7 python client.

Once I commented out that line, the problem disappeared.



OK.  It seems sort of weird that this would only have an impact only with Jupyter, unless the way you started Jupyter used different environmental variables.

I can believe that pvaccess and/or pvapy (are those the same thing?  Sorry, I'm not very familiar with Epics7) would need to point to the same CA shared library.  Well, that assumes pvaccess / pvapy do use the CA library.  From your report, it looks like they must.

With pyepics, we  provide a working, default CA library, but deliberately do not load that at import time so that the default one can be replaced if needed.

--Matt


Replies:
Re: PyEPICS timeout in jupyter Shen, Guobao
References:
PyEPICS timeout in jupyter Shen, Guobao
Re: PyEPICS timeout in jupyter Matt Newville
Re: PyEPICS timeout in jupyter Shen, Guobao
Re: PyEPICS timeout in jupyter Matt Newville
Re: PyEPICS timeout in jupyter Shen, Guobao
Re: PyEPICS timeout in jupyter Shen, Guobao

Navigate by Date:
Prev: Re: PyEPICS timeout in jupyter Shen, Guobao
Next: Amptek IOC: Problem with subnet Douglas Henrique C . de Araújo
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: PyEPICS timeout in jupyter Shen, Guobao
Next: Re: PyEPICS timeout in jupyter Shen, Guobao
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 16 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·