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  <20122013  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  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: cothread problem on Mac osx
From: "Shen, Guobao" <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Thu, 09 Feb 2012 10:51:53 -0500
Yes, tested with caget/caput, and it works.

Thanks,

Guobao

On 2/9/12 10:05 AM, [email protected] wrote:
From: Shen, Guobao [mailto:[email protected]]
The error is as below:
  >>>  import cothread
Traceback (most recent call last):
    File "<stdin>", line 1, in<module>
    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cothread-2.3-py2.7-macosx-10.6-x86_64.egg/cothread/__init__.py", line 41, in<module>
      from cothread import *
    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cothread-2.3-py2.7-macosx-10.6-x86_64.egg/cothread/cothread.py", line 82, in<module>
      import coselect
    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cothread-2.3-py2.7-macosx-10.6-x86_64.egg/cothread/coselect.py", line 60, in<module>
      _select_poll = _select.poll
AttributeError: 'module' object has no attribute 'poll'
Can you try the attached patch and let me know how well things work.
--
Guobao Shen
Bldg. 902-B, 17 Cornell Avenue
National Synchrotron Light Source II
Brookhaven National Laboratory
Upton, New York 11973
Tel.	: +1 (631) 344 7540
Fax.	: +1 (631) 344 8085
http://www.bnl.gov/nsls2


References:
cothread problem on Mac osx Shen, Guobao
RE: cothread problem on Mac osx michael.abbott
RE: cothread problem on Mac osx Shen, Guobao
RE: cothread problem on Mac osx michael.abbott
Re: cothread problem on Mac osx Shen, Guobao
RE: cothread problem on Mac osx michael.abbott

Navigate by Date:
Prev: RE: cothread problem on Mac osx michael.abbott
Next: AsynDriver build errors on MinGW Josh Stein
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: cothread problem on Mac osx michael.abbott
Next: VME SCALER, I2C bus GOURNAY Jean-Francois
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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 ·