Opened 8 years ago

Closed 8 years ago

#10451 closed Bug Report - General (Invalid)

!!NoTrans: Failed to set php timezone to EDT Response from backend was Array ( [0] => EDT [1] => -14400 [2] => 2012-03-14T08:45:44 ) !!

Reported by: brian@… Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Using v0.25-beta-99-gff73126 when I try to view Recorded Programs in mythweb the icons from all of yesterday's recordings are "broken links" and at the top of the mythweb page I see:

User Notice at /usr/share/mythtv/bindings/php/MythBackend.php, line 127:
!!NoTrans: Failed to set php timezone to EDT Response from backend was Array ( [0] => EDT [1] => -14400 [2] => 2012-03-14T08:45:44 ) !!

Change History (5)

comment:1 Changed 8 years ago by brian@…

FWIW, my BE might have had a locked thread per ticket #10453 while I was seeing these symptoms.

comment:2 in reply to:  1 Changed 8 years ago by brian@…

Replying to brian@…:

FWIW, my BE might have had a locked thread per ticket #10453 while I was seeing these symptoms.

I think I have to retract this supposition. Even after restarting the BE, I am still seeing this error. In addition, mythweb is showing broken links for all of the preview icons. Dunno if it's related or not but thought I would mention it.

comment:3 Changed 8 years ago by sphery

Component: Plugin - MythWebMythTV - General
Status: newinfoneeded_new

Please set your master backend system to use a proper time zone, such as America/New_York.

If that doesn't help, or if it already is, I need to see a backend log.

comment:4 Changed 8 years ago by brian@…

Hrm. Interesting. That does seem to have fixed it although the /etc/localtime that was previously in place sure looked valid (and operated validly otherwise of myth) for my timezone. Even "strings" on the two files are identical although they have different md5sums. Binary-wise they are very similar:

# cmp -l /etc/localtime*
  50 272 300
  51 353  61
1318 272 300
1319 353  61

on a 3477 byte file.

Anyway, thanks for the great hint!

comment:5 Changed 8 years ago by sphery

Resolution: Invalid
Status: infoneeded_newclosed

mythbackend needs to know what time zone identifier is used to describe your time zone rules so that it can tell MythWeb what time zone rules to use. When mythbackend returns "EDT" (or "EST" or similar three-letter zone name--as opposed to a real time zone identifier (like "America/New_York" or "EST5EDT") that describes the rules for applying time zone information)), it means that mythbackend was unable to determine what time zone identifier is in use on the system. This generally occurs due to partially- or improperly-set-on-the-underlying-OS time zone information (which occurs quite often due to each distro's using different mechanisms to set/change the time zone--and, often, even different versions of a single distro change the mechanism, further compounding the problem).

MythWeb's warning is there to let you know that your backend configuration may not be correct--and that MythWeb may fail to work properly (as you observed) since it may not be operating with the same time zone rules as your backend system.

Note: See TracTickets for help on using tickets.