-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The script fails to run repeatedly. #3
Comments
reconnect()を削除したら発生しなくなった。 |
Can we simply use something like:
to bypass the error? |
Thanks for the advice. This case is an idea that needs to be addressed more fundamentally than error avoidance with try-except. |
直前のコマンド送出後に結果を受信するが class Trinamic_control6110(): reconnect()は多分これで入れていたのではないかと思うが、 |
Complete the issue? |
After his bug fix, this bugs have not happen according to his test. Close. |
何度か試しているとscripts側が死ぬことがあり要調査
Traceback (most recent call last):
File "/kagra/apps/pcaspy/lib/python2.7/site-packages/pcaspy/driver.py", line 450, in getValue
newValue = driver.read(self.info.reason)
File "steppingmotor/pcasip.py", line 210, in read
value = self.driver.getLeftLimitSwitch(motorAddrC)
File "steppingmotor/Trinamic_control6110.py", line 528, in getLeftLimitSwitch
data = self.receiveData()
File "steppingmotor/Trinamic_control6110.py", line 94, in receiveData
RxBuffer = self.port.recv(9)
socket.timeout: timed out
Traceback (most recent call last):
File "/kagra/apps/pcaspy/lib/python2.7/site-packages/pcaspy/cas.py", line 416, in read
def read(self, *args): return _cas.PV_read(self, *args)
RuntimeError: SWIG director method error. Exception Calling Python Code
filename="../../../../src/cas/generic/st/casStreamOS.cc" line number=479
Internal failure - unexpected problem with client's input - forcing disconnect
/kagra/apps/pcaspy/lib/python2.7/site-packages/pcaspy/cas.py:235: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
if primitiveType in [aitEnumUint8, aitEnumInt8]:
The text was updated successfully, but these errors were encountered: