- changed status to resolved
Calling Tools.StbHardware.getFPWakeuptime() causes crash
Issue #446
resolved
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)
-
-
Merged in prl/easy-ui-4/Fix-bug-446 (pull request #186)
Fix bug
#446: Calling Tools.StbHardware.getFPWakeuptime() causes crash→ <<cset 8964bb9c5da0>>
- Log in to comment
Fix bug
#446: Calling Tools.StbHardware.getFPWakeuptime() causes crashConvert the contents of the file to a long, not the file object!
→ <<cset ffa1a0e5bd99>>