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
<2012>
2013
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
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|