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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: pyepics3 Stripchart howto wanted
From: Peter Milne <[email protected]>
To: Matt Newville <[email protected]>
Cc: Tech-talk <[email protected]>
Date: Mon, 12 Dec 2011 10:25:33 +0000
Hi Matt

Working with pyepics3, wanting to use the Stripchart, but not sure how.
Attempting to run the Stripchart results in error trace.

If I'm not running it correctly, please put me right, or if Stripchart isn't quite ready yet, no problem, can wait or beta test.

The doc at http://cars9.uchicago.edu/software/python/pyepics3/
looks excellent, and installation using easy_install mostly smooth.
The wxmplot demo works well and looks very promising ..

Thanks


Peter



Details:
system: Fedora 14
PYEPICS_LIBCA=xxx/base-3.14.12/lib/linux-x86_64/libca.so
EPICS_HOST_ARCH=linux-x86_64

cd xxx/pyepics-epicsapps-483a532/StripChart
# guessing at
python setup.py install 	
# OK

python pyepics_stripchart.py
Traceback (most recent call last):
  File "pyepics_stripchart.py", line 13, in <module>
    StripChart().Show(True)
File "/usr/lib/python2.7/site-packages/UNKNOWN-0.0.0-py2.7.egg/epicsapps/stripchart/stripchart.py", line 122, in __init__
    self.create_frame(parent)
File "/usr/lib/python2.7/site-packages/UNKNOWN-0.0.0-py2.7.egg/epicsapps/stripchart/stripchart.py", line 137, in create_frame self.plotpanel = PlotPanel(self, trace_color_callback=self.onTraceColor) File "/usr/lib/python2.7/site-packages/wxmplot/plotpanel.py", line 34, in __init__
    BasePanel.__init__(self, parent, **kws)
File "/usr/lib/python2.7/site-packages/wxmplot/basepanel.py", line 26, in __init__
    wx.Panel.__init__(self, parent, -1, **kws)
File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_windows.py", line 68, in __init__
    _windows_.Panel_swiginit(self,_windows_.new_Panel(*args, **kwargs))
TypeError: 'trace_color_callback' is an invalid keyword argument for this function




Regarding installation:

easy_install -U pyepics   : no errors

but easy_install wxmplot failed:

sudo easy_install -U wxmplot
Searching for wxmplot
Reading http://pypi.python.org/simple/wxmplot/
Reading http://newville.github.com/wxmplot/
Best match: wxmplot 0.9.7
Downloading http://pypi.python.org/packages/source/w/wxmplot/wxmplot-0.9.7.zip#md5=b84bc2c5d8000f952de1547bc664cb42
Processing wxmplot-0.9.7.zip
Running wxmplot-0.9.7/setup.py -q bdist_egg –dist-dir /tmp/easy_install-_cI9s0/wxmplot-0.9.7/egg-dist-tmp-nhof7j error: SandboxViolation: os.open(‘/root/.matplotlib/tmpoUfkAb’, 131266, 384) {}



Workaround with a manual download and
sudo python setup.py install

appears good. The wxmplot demo works.



--
Peter Milne			[email protected]
D-TACQ Solutions Ltd		www.d-tacq.com

Replies:
Re: pyepics3 Stripchart howto wanted Matt Newville

Navigate by Date:
Prev: RE: About the interface LabCA problem that Matlab can't read image datafrom areaDetector Mark Rivers
Next: Re: About the interface LabCA problem that Matlab can't read image datafrom areaDetector Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: About the interface LabCA problem that Matlab can't read image data from areaDetector Till Straumann
Next: Re: pyepics3 Stripchart howto wanted Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·