Calling Tools.StbHardware.getFPWakeuptime() causes crash

Issue #446 resolved
prl created an issue

Tools.StbHardware.getFPWakeuptime() is not normally called in the code, but calling it for debug purposes crashes enigma2 with the error:

TypeError: long() argument must be a string or a number, not 'file'

I have a fix for this bug.

Replication steps

Add a call of Tools.StbHardware.getFPWakeuptime() to somewhere convenient in the enigma2 python code so that it can be called when enigma2 runs (e.g. in some action that can be performed from a remote button press).

Copy the modified python file to the appropriate place in /usr/lib/enigma2/python, restart the GUI, and perform the action that calls Tools.StbHardware.getFPWakeuptime(). Crash.

Comments (2)

  1. Log in to comment