#2 Windows'ism found in opc.py, breaks Linux.

closed-fixed
None
5
2008-11-25
2008-11-11
No

This fixes it:

ch@gato:~/src/OpenOPC-1.1.3/src$ diff -u opc.py.orig opc.py
--- opc.py.orig 2008-09-03 12:39:25.000000000 -0700
+++ opc.py 2008-11-07 02:21:22.000000000 -0800
@@ -417,7 +417,10 @@

sh = SigHandler()
signal.signal(signal.SIGINT,sh)
-signal.signal(signal.SIGBREAK,sh)
+try:
+ signal.signal(signal.SIGBREAK,sh)
+except:
+ pass
signal.signal(signal.SIGTERM,sh)

# ACTION: List active sessions in OpenOPC service
ch@gato:~/src/OpenOPC-1.1.3/src$

Discussion

  • Barry Barnreiter

    Fixed in version 1.1.6

     
  • Barry Barnreiter

    • status: open --> closed-fixed
     
  • Barry Barnreiter

    • assigned_to: nobody --> barry_b
     

Log in to post a comment.