jdiazbb / rfxcmd

Automatically exported from code.google.com/p/rfxcmd
1 stars 0 forks source link

Exception when Trigger fires #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make a trigger for temperature sensor
2. Start rfxcmd daemon
3.

What is the expected output? What do you see instead?
I expect no errors. Only temperature output to file(is working). 
I get Exceptions.

What version of the product are you using? On what operating system?
0.3 alpha 1

Please provide any additional information below.

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 760, in run
    self.function(*self.args, **self.kwargs)
  File "/home/magnus/rfxcmd/lib/rfx_command.py", line 59, in timer_callback
    self.process.terminate()
  File "/usr/lib/python2.7/subprocess.py", line 1472, in terminate
    self.send_signal(signal.SIGTERM)
  File "/usr/lib/python2.7/subprocess.py", line 1467, in send_signal
    os.kill(self.pid, sig)
OSError: [Errno 3] No such process

Original issue reported on code.google.com by magnus.a...@gmail.com on 12 Jun 2013 at 9:39

GoogleCodeExporter commented 8 years ago
Suggested fix sent to reporter, updated to SVN as well in file 
lib/rfx_command.py

Original comment by sebastia...@gmail.com on 17 Jun 2013 at 4:49

GoogleCodeExporter commented 8 years ago
Downloaded latest SVN and havent seen the problem since.

Original comment by magnus.a...@gmail.com on 18 Jun 2013 at 2:03

GoogleCodeExporter commented 8 years ago
Thank you, case closed.

Original comment by sebastia...@gmail.com on 18 Jun 2013 at 2:34