Duncan Webb wrote:
> S2 wrote:
>> Hi all!
>> I enabled the autoshutdown plugin and now when I exit freevo it crashes:
>>
>>
>> autoshutdown.py (350): timer reset, received event MENU_SELECT
>> autoshutdown.py (734): Executing syscall: ps -eo cmd | egrep -v "grep" |
>> egrep "
>> (/|[[:space:]]|^)(dpkg|tvgids|transcode|cdrecord|mplayer|top)($|[[:space:]])"
>> autoshutdown.py (714): external process(es) running
>> autoshutdown.py (343): autoshutdown timer reset
>> autoshutdown.py (350): timer reset, received event INPUT_LEFT
>> autoshutdown.py (343): autoshutdown timer reset
>> autoshutdown.py (350): timer reset, received event INPUT_ENTER
>> autoshutdown.py (476): shutdown wakeup
>> autoshutdown.py (438): No more recordings available
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 321, in
>> eventhand
>> ler
>>     app.eventhandler(event)
>>   File
>> "/usr/share/python-support/python-freevo/freevo/gui/ConfirmBox.py", line
>>                                         111, in eventhandler
>>     self.handler()
>>   File
>> "/usr/share/python-support/python-freevo/freevo/plugins/autoshutdown.py",
>>                                         line 248, in shutdown_wakeup
>>     shutdown_action(action=Shutdown.SHUTDOWN_WAKEUP)
>>   File
>> "/usr/share/python-support/python-freevo/freevo/plugins/autoshutdown.py",
>>                                         line 477, in shutdown_action
>>     action = __schedule_wakeup_and_shutdown()
>>   File
>> "/usr/share/python-support/python-freevo/freevo/plugins/autoshutdown.py",
>>                                         line 516, in
>> __schedule_wakeup_and_shutdown
>>     wakeup_utc_s = get_next_wakeup()
>>   File
>> "/usr/share/python-support/python-freevo/freevo/plugins/autoshutdown.py",
>>                                         line 443, in get_next_wakeup
>>     default_utc_s = __get_next_default_wakeup()
>>   File
>> "/usr/share/python-support/python-freevo/freevo/plugins/autoshutdown.py",
>>                                         line 675, in
>> __get_next_default_wakeup
>>     def_wakeup_loc_t[0] = int(def_wakeup_loc_t[0])
>> ValueError: invalid literal for int(): None
> 
> What do you have for AUTOSHUTDOWN_DEFAULT_WAKEUP_TIME in local_conf.py.
> The plug-in requires this to be a valid time.

Thanks for the quick reply! It was set to "None". I setted it to None
without quotes, and now it works :) I feel really stupid now :)

AUTOSHUTDOWN_DEFAULT_WAKEUP_TIME = None

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to