Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Myth 0.26 Wakes up late

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


jksj.baker at ntlworld

Aug 10, 2012, 6:09 AM

Post #1 of 7 (532 views)
Permalink
Myth 0.26 Wakes up late

First post so be gentle:-) .
While testing [v0.26-beta-9-g8c551e6] on Ubunu 12.04, I note that the
machine wakes up later than it should to record. I suspect that the
recent changes to UTC have not made it into mythshutdown. Mythbackend
log shows the following.

> Aug 10 10:05:37 tv mythlogserver: mythbackend[1461]: N Scheduler
> scheduler.cpp:2947 (ShutdownServer) Running the command to set the
> next scheduled wakeup time :-#012#011#011#011#011#011#011sudo
> mythshutdown --setwakeup 2012-08-10T11:15:00
> Aug 10 10:05:38 tv mythlogserver: mythbackend[1461]: N Scheduler
> scheduler.cpp:2974 (ShutdownServer) Running the command to shutdown
> this computer :-#012#011#011#011#011#011#011mythshutdown --shutdown
> Aug 10 12:16:10 tv mythlogserver: mythbackend[1875]: C thread_unknown
> mythcommandlineparser.cpp:2545 (ConfigureLogging) mythbackend version:
> master [v0.26-beta-9-g8c551e6] www.mythtv.org
The programme was due to start at 11:25 and I have set the backend to
wakeup 10 mins prior to program start. Wake up time was correctly set to
11:15 but the backend actually started at 12:16. This mechanism works
fine with myth 0.25.
Note that this anomaly only affects startup, programs are scheduled at
the correct time when the backend is already up.

Time zones are set correctly. I am located in the UK.
> mysql> SELECT CONVERT_TZ('2012-08-10 12:45', 'GB', 'America/New_York');
> +----------------------------------------------------------+
> | CONVERT_TZ('2012-08-10 12:45', 'GB', 'America/New_York') |
> +----------------------------------------------------------+
> | 2012-08-10 07:45:00 |
> +----------------------------------------------------------+
> 1 row in set (0.10 sec)
By the way, I could not get the method stated in the wiki, for importing
time zone data, to work. Had to use :-
> tv [at] t:~$ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


newbury at mandamus

Aug 10, 2012, 6:52 AM

Post #2 of 7 (519 views)
Permalink
Re: Myth 0.26 Wakes up late [In reply to]

On 08/10/2012 09:09 AM, jksj wrote:
> First post so be gentle:-) .
> While testing [v0.26-beta-9-g8c551e6] on Ubunu 12.04, I note that the
> machine wakes up later than it should to record. I suspect that the
> recent changes to UTC have not made it into mythshutdown. Mythbackend
> log shows the following.
>
>> Aug 10 10:05:37 tv mythlogserver: mythbackend[1461]: N Scheduler
>> scheduler.cpp:2947 (ShutdownServer) Running the command to set the
>> next scheduled wakeup time :-#012#011#011#011#011#011#011sudo
>> mythshutdown --setwakeup 2012-08-10T11:15:00
>> Aug 10 10:05:38 tv mythlogserver: mythbackend[1461]: N Scheduler
>> scheduler.cpp:2974 (ShutdownServer) Running the command to shutdown
>> this computer :-#012#011#011#011#011#011#011mythshutdown --shutdown
>> Aug 10 12:16:10 tv mythlogserver: mythbackend[1875]: C thread_unknown
>> mythcommandlineparser.cpp:2545 (ConfigureLogging) mythbackend version:
>> master [v0.26-beta-9-g8c551e6] www.mythtv.org
> The programme was due to start at 11:25 and I have set the backend to
> wakeup 10 mins prior to program start. Wake up time was correctly set to
> 11:15 but the backend actually started at 12:16. This mechanism works
> fine with myth 0.25.
> Note that this anomaly only affects startup, programs are scheduled at
> the correct time when the backend is already up.
>
> Time zones are set correctly. I am located in the UK.
>> mysql> SELECT CONVERT_TZ('2012-08-10 12:45', 'GB', 'America/New_York');
>> +----------------------------------------------------------+
>> | CONVERT_TZ('2012-08-10 12:45', 'GB', 'America/New_York') |
>> +----------------------------------------------------------+
>> | 2012-08-10 07:45:00 |
>> +----------------------------------------------------------+
>> 1 row in set (0.10 sec)
> By the way, I could not get the method stated in the wiki, for importing
> time zone data, to work. Had to use :-
>> tv [at] t:~$ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql

The time difference is one hour (plus one minute for the reboot), so I
would guess it has something to do with daylight savings time settings.

G.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jksj.baker at ntlworld

Aug 10, 2012, 7:01 AM

Post #3 of 7 (519 views)
Permalink
Re: Myth 0.26 Wakes up late [In reply to]

On 10/08/12 14:52, R. G. Newbury wrote:
> On 08/10/2012 09:09 AM, jksj wrote:
>> First post so be gentle:-) .
>> While testing [v0.26-beta-9-g8c551e6] on Ubunu 12.04, I note that the
>> machine wakes up later than it should to record. I suspect that the
>> recent changes to UTC have not made it into mythshutdown. Mythbackend
>> log shows the following.
>>
>>> Aug 10 10:05:37 tv mythlogserver: mythbackend[1461]: N Scheduler
>>> scheduler.cpp:2947 (ShutdownServer) Running the command to set the
>>> next scheduled wakeup time :-#012#011#011#011#011#011#011sudo
>>> mythshutdown --setwakeup 2012-08-10T11:15:00
>>> Aug 10 10:05:38 tv mythlogserver: mythbackend[1461]: N Scheduler
>>> scheduler.cpp:2974 (ShutdownServer) Running the command to shutdown
>>> this computer :-#012#011#011#011#011#011#011mythshutdown --shutdown
>>> Aug 10 12:16:10 tv mythlogserver: mythbackend[1875]: C thread_unknown
>>> mythcommandlineparser.cpp:2545 (ConfigureLogging) mythbackend version:
>>> master [v0.26-beta-9-g8c551e6] www.mythtv.org
>> The programme was due to start at 11:25 and I have set the backend to
>> wakeup 10 mins prior to program start. Wake up time was correctly set to
>> 11:15 but the backend actually started at 12:16. This mechanism works
>> fine with myth 0.25.
>> Note that this anomaly only affects startup, programs are scheduled at
>> the correct time when the backend is already up.
>>
>> Time zones are set correctly. I am located in the UK.
>>> mysql> SELECT CONVERT_TZ('2012-08-10 12:45', 'GB', 'America/New_York');
>>> +----------------------------------------------------------+
>>> | CONVERT_TZ('2012-08-10 12:45', 'GB', 'America/New_York') |
>>> +----------------------------------------------------------+
>>> | 2012-08-10 07:45:00 |
>>> +----------------------------------------------------------+
>>> 1 row in set (0.10 sec)
>> By the way, I could not get the method stated in the wiki, for importing
>> time zone data, to work. Had to use :-
>>> tv [at] t:~$ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
>
> The time difference is one hour (plus one minute for the reboot), so I
> would guess it has something to do with daylight savings time settings.
>
> G.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Yes, I am sure it is due to daylight saving time being 1 hour in front
of GMT but the whole point of myth moving to UTC was to sort that out.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


gjhurlbu at gmail

Aug 11, 2012, 10:48 AM

Post #4 of 7 (499 views)
Permalink
Re: Myth 0.26 Wakes up late [In reply to]

Looks like something may have been missed. Please put in a Trac ticket so
this can be fixed. Thanks


keemllib at gmail

Aug 13, 2012, 2:11 PM

Post #5 of 7 (474 views)
Permalink
Re: Myth 0.26 Wakes up late [In reply to]

On 08/10/2012 08:09 AM, jksj wrote:
...
>> By the way, I could not get the method stated in the wiki, for importing time zone data, to work. Had to use :-
>> tv [at] t:~$ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql

http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables has been updated to
tell users without a password for their mysql root user not to use the
-p<yourpassword> switch.

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Aug 14, 2012, 9:20 AM

Post #6 of 7 (460 views)
Permalink
Re: Myth 0.26 Wakes up late [In reply to]

On 08/10/2012 10:01 AM, jksj wrote:
> Yes, I am sure it is due to daylight saving time being 1 hour in front
> of GMT but the whole point of myth moving to UTC was to sort that out.

Better described as, "Moving MythTV to store UTC internally changes one
set of problems (that only occurs during 2 hours per year) to another
set (which affects us all year long)--but appeases the users who insist
that 'any sane program uses UTC'".

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jksjdevelop at gmail

Aug 14, 2012, 12:35 PM

Post #7 of 7 (451 views)
Permalink
Re: Myth 0.26 Wakes up late [In reply to]

On 14/08/12 17:20, Michael T. Dean wrote:
> On 08/10/2012 10:01 AM, jksj wrote:
>> Yes, I am sure it is due to daylight saving time being 1 hour in
>> front of GMT but the whole point of myth moving to UTC was to sort
>> that out.
>
> Better described as, "Moving MythTV to store UTC internally changes
> one set of problems (that only occurs during 2 hours per year) to
> another set (which affects us all year long)--but appeases the users
> who insist that 'any sane program uses UTC'".
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
Further info:-
This problem only effects waking the computer to record a program.
Programs record at the correct time when the backend is running.
The problem can be mitigated by using the daily start and end times in
Mythwelcome, these work correctly, guaranteeing that the computer powers
up in the required time range.
I have no other issues with version 0.26, works fine, seems a bit more
responsive than 0.25.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.