Skip to content

XMLTV Mode Channel List<type 'exceptions.IOError'>: ('file() constructor not accessible in restricted mode',): file() constructor not accessible in restricted mode #39

@jpborjas

Description

@jpborjas

I installed the plugin and I can see live TV just fine. Now, I set up zap2xml and generated an xmltv.xml file, I modified the settings for XMLTV Mode = file, then specified the location of the xmltv.xml file and now I'm getting the error above. Here's the whole log file:

2017-01-17 14:53:59,199 (7000100c7000) : DEBUG (runtime:717) - Handling request GET /video/hdhrv2
2017-01-17 14:53:59,201 (7000100c7000) : DEBUG (runtime:814) - Found route matching /video/hdhrv2
2017-01-17 14:53:59,201 (7000100c7000) : INFO (init:1101) - ********** [System Info]*
2017-01-17 14:53:59,202 (7000100c7000) : INFO (init:1101) - ********** Server: MacOSX 10.12.2 [i386]
2017-01-17 14:53:59,202 (7000100c7000) : INFO (init:1101) - ********** PMS : 1.2.0.3114-de38375
2017-01-17 14:53:59,202 (7000100c7000) : INFO (init:1101) - ********** Client: Plex Web 2.12.8 [Chrome]
2017-01-17 14:53:59,203 (7000100c7000) : INFO (init:1101) - ********** HDHRV2: 0.9.12
2017-01-17 14:53:59,203 (7000100c7000) : INFO (init:1101) - ********** **************************************************
2017-01-17 14:53:59,205 (7000100c7000) : DEBUG (networking:166) - Requesting 'http://my.hdhomerun.com/discover'
2017-01-17 14:53:59,456 (7000100c7000) : ERROR (init:1095) - ########## Devices.autoDiscover(): <type 'exceptions.AttributeError'>: ("'NoneType' object has no attribute 'iter'",): 'NoneType' object has no attribute 'iter'
2017-01-17 14:53:59,457 (7000100c7000) : INFO (init:1101) - ********** Total Tuners: 0
2017-01-17 14:53:59,457 (7000100c7000) : ERROR (init:1095) - ########## No Tuners Found: Using last know tuners:[{'BaseURL': '192.168.11.5', 'autoDiscover': False, 'LocalIP': '192.168.11.5', 'DiscoverURL': 'http://192.168.11.5/discover.json', 'DeviceID': 'Manual192.168.11.5', 'LineupURL': 'http://192.168.11.5/lineup.json'}]
2017-01-17 14:53:59,463 (7000100c7000) : DEBUG (networking:166) - Requesting 'http://192.168.11.5/lineup.json'
2017-01-17 14:53:59,490 (7000100c7000) : DEBUG (base:117) - Checking if com.plexapp.plugins.hdhrviewer.v2 is broken
2017-01-17 14:53:59,490 (7000100c7000) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzMKY29tLnBsZXhhcHAucGx1Z2lucy5oZGhydmlld2VyLnYyczEwCmlkZW50aWZpZXJyMAo_'
2017-01-17 14:53:59,504 (7000100c7000) : DEBUG (runtime:88) - Sending packed state data (598 bytes)
2017-01-17 14:53:59,504 (7000100c7000) : DEBUG (runtime:924) - Response: [200] MediaContainer, 1043 bytes
2017-01-17 14:53:59,528 (7000100c7000) : DEBUG (runtime:717) - Handling request GET /video/hdhrv2/favorite-channels?favidx=1
2017-01-17 14:53:59,530 (7000100c7000) : DEBUG (runtime:814) - Found route matching /video/hdhrv2/favorite-channels
2017-01-17 14:53:59,531 (7000100c7000) : DEBUG (init:1098) - ---------- Tuner not defined/found in favorite list. Assuming tuner: 192.168.11.5
2017-01-17 14:53:59,534 (7000100c7000) : DEBUG (networking:161) - Fetching 'http://192.168.11.5/lineup.json' from the HTTP cache
2017-01-17 14:53:59,539 (7000100c7000) : ERROR (init:1095) - ########## XMLTV Mode Channel List<type 'exceptions.IOError'>: ('file() constructor not accessible in restricted mode',): file() constructor not accessible in restricted mode
2017-01-17 14:53:59,541 (7000100c7000) : DEBUG (networking:166) - Requesting 'http://192.168.11.5/discover.json'
2017-01-17 14:53:59,554 (7000100c7000) : INFO (init:1101) - ********** HDHR4-2US detected. Transcode=default/ignore
2017-01-17 14:53:59,556 (7000100c7000) : DEBUG (init:1098) - ---------- channel=2.1;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v2.1
2017-01-17 14:53:59,558 (7000100c7000) : DEBUG (init:1098) - ---------- channel=5.1;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v5.1
2017-01-17 14:53:59,561 (7000100c7000) : DEBUG (init:1098) - ---------- channel=8.1;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v8.1
2017-01-17 14:53:59,563 (7000100c7000) : DEBUG (init:1098) - ---------- channel=11.1;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v11.1
2017-01-17 14:53:59,564 (7000100c7000) : DEBUG (init:1098) - ---------- channel=17.1;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v17.1
2017-01-17 14:53:59,566 (7000100c7000) : DEBUG (init:1098) - ---------- channel=30.1;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v30.1
2017-01-17 14:53:59,567 (7000100c7000) : DEBUG (init:1098) - ---------- channel=34.1;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v34.1
2017-01-17 14:53:59,568 (7000100c7000) : DEBUG (init:1098) - ---------- channel=34.2;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v34.2
2017-01-17 14:53:59,569 (7000100c7000) : DEBUG (init:1098) - ---------- channel=36.1;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v36.1
2017-01-17 14:53:59,571 (7000100c7000) : DEBUG (init:1098) - ---------- channel=46.1;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v46.1
2017-01-17 14:53:59,572 (7000100c7000) : DEBUG (init:1098) - ---------- channel=69.1;video_codec=mpeg2video;audio_codec=ac3;url=http://192.168.11.5:5004/auto/v69.1
2017-01-17 14:53:59,574 (7000100c7000) : WARNING (objectkit:208) - Media part has no streams - attempting to synthesize
2017-01-17 14:53:59,583 (7000100c7000) : DEBUG (runtime:88) - Sending packed state data (114 bytes)
2017-01-17 14:53:59,584 (7000100c7000) : DEBUG (runtime:924) - Response: [200] MediaContainer, 13684 bytes
2017-01-17 14:54:04,464 (7000104ca000) : INFO (datakit:131) - Saved the dictionary file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions