Issues

Issue #2 resolved

WMI sometimes throws exceptions when it can't read from OHM

clach04
repo owner created an issue
Traceback (most recent call last):
  File "myclock.py", line 580, in <module>
    sys.exit(main())
  File "myclock.py", line 574, in main
    clock_loop(conf)
  File "myclock.py", line 564, in clock_loop
    s.dispatch()
  File "myclock.py", line 273, in dispatch
    result = callback_func(*args, **kwargs)
  File "myclock.py", line 486, in display_temps
    sensors.update()
  File "myclock.py", line 231, in update
    for sensor in self.w.Sensor():
  File "C:\lcd\tools\coldtears_clock\wmi.py", line 796, in query
    handle_com_error ()
  File "C:\lcd\tools\coldtears_clock\wmi.py", line 241, in handle_com_error
    raise klass (com_error=err)
wmi.x_wmi: <x_wmi: Unexpected COM Error (-2147417851, 'The server threw an exception.', None, None)>

Comments (3)

  1. Log in to comment