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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: Callback error from pyepics and python with GUI development
From: Matt Newville via Tech-talk <tech-talk@aps.anl.gov>
To: Tong Zhang <zhangt@frib.msu.edu>
Cc: "Chabot, Daron" <chabot@frib.msu.edu>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 12 Apr 2019 18:04:38 -0500
Tong,



On Fri, Apr 12, 2019 at 4:57 PM Tong Zhang <zhangt@frib.msu.edu> wrote:
Hi Matt,

I was trying to craft a simple PyQt demo to reproduce the issue, but
failed, since the craft demo just worked, any may not reflect the real
issue, the real application is too complicated to present here.

Hm, if you cannot post code that shows the problem or even describe what you are doing in any detail, I'm not sure how we can help you solve the problem you're having.  We have not learned anything that might be useful to other people. 

There are lots of GUIs using CA, including from Python, and using Qt.  So, whatever you want to do is almost certainly possible.  I have no idea why your GUIs aren't working.

The reason we cannot simply work around this issue by using Python 3.6 or
newer is that the Stretch OS (which is current deployed in our controls
network) only provides the version of 3.5.3, and it is not easy to
deploy a newer one. So looking forward the new release of pyepics. Thanks!


I'm not sure that the next version of PyEpics will support Python 3.5. I doubt anyone would make packages for Python 3.5, but I don't know that we'll intentionally break support for Python 3.5 for the next release. But when we drop support for Python 2.7, we will also drop support for 3.5.  Don't plan on either being supported in a year.

Using system Python is definitely anti-recommended. Python is very easy to install and using environments can allow multiple versions of Python or installed packages.  Using such a dedicated environment is definitely recommended for any user-space application, especially something as complicated as a GUI application using pyepics.

--Matt 

References:
Re: Callback error from pyepics and python with GUI development Tong Zhang via Tech-talk
Re: Callback error from pyepics and python with GUI development Tong Zhang via Tech-talk

Navigate by Date:
Prev: Re: Callback error from pyepics and python with GUI development Jemian, Pete R. via Tech-talk
Next: Proposal: Timestamp records before OUT links Hill, Bruce 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  <20192020 
Navigate by Thread:
Prev: Re: Callback error from pyepics and python with GUI development Jemian, Pete R. via Tech-talk
Next: areaDetector ADSupport R1-7 released Mark Rivers 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  <20192020 
ANJ, 13 Apr 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·