sunsettrack4 / easyepg

This version of easyEPG will no longer be maintained.
GNU General Public License v3.0
100 stars 36 forks source link

Error while editing the Telekom/MagentaTV channel list #35

Open avakcyrx opened 4 years ago

avakcyrx commented 4 years ago

Encountering similar errors as in #18 , especcially when trying to edit the channel list in Telekom/Magenta:

When I select "MODIFY CHANNEL LIST", the list doesn't show up but I get:

New channel list saved!
Please run the grabber to add new channels to the setup modules!

When I run the grabber, it returns following errors:

 --------------------------------------------
 TELEKOM EPG SIMPLE XMLTV GRABBER
 powered by easyEPG Grabber v0.4.3 2020/01/11
 (c) 2019-2020 Jan-Luca Neumann / sunsettrack4
 --------------------------------------------

+++ COUNTRY: GERMANY +++

Starting Proxy Server
proxy.sh started on 127.0.0.1:8000
- DOWNLOAD PROCESS -

Checking manifest files... Can't use an undefined value as an ARRAY reference at chlist_printer.pl line 78.

0 manifest file(s) to be downloaded!

Loading manifest files...
Progress [####################] 100% DONE!

Creating EPG manifest file... cat: 'mani/*': No such file or directory
DONE!

================= CHANNEL LIST: LOG ===================

, or } expected while parsing object/hash, at character offset 18 (before "(end of string)") at url_printer.pl line 56.

=======================================================

- FILE CREATION PROCESS -

Retrieving Channel IDs...                            Can't use an undefined value as an ARRAY reference at cid_json.pl line 51.
Validating EPG XMLTV file... DONE!

Stopping Proxy Server
proxy.sh stopped!
========== EPG CREATION: WARNING/ERROR LOG ============

^
Can't use an undefined value as an ARRAY reference at ch_json2xml.pl line 92.
[ EPG ERROR ] XMLTV FILE VALIDATION FAILED DUE TO THE FOLLOWING ERRORS:
magenta.xml:1: parser error : Document is empty
, or } expected while parsing object/hash, at character offset 13 (before "(end of string)") at epg_json2xml.pl line 96.

=======================================================

Note: I run easyepg in easyepg.minimal docker

DeBaschdi commented 4 years ago

Hi, Can you change your docker configuration to use my branch for testing purposes?

-e REPO = "DeBaschdi" \

https://github.com/DeBaschdi/easyepg/commit/97b5e5cffa095d52a69b625dd783f36e18039b31

avakcyrx commented 4 years ago

I switched to your fork using the branch-debaschdi.sh script (to my understanding it has the same effect as docker reconfiguration), but your change had no effect on behavior.

DeBaschdi commented 4 years ago

No, the docker is configured to pull an update from the set branch before each start

avakcyrx commented 4 years ago

Ok, thank you very much. I retried using the docker with REPO="DeBaschdi", but unfortunately the same outcome: when selecting MODIFY CHANNEL LIST, it usually ends with the messages postet above and I get these messages on the terminal:

Loading channel configuration...Can't use an undefined value as an ARRAY reference at cid_json.pl line 51.
Can't use an undefined value as an ARRAY reference at chlist_printer.pl line 78.

Rarely (2/10) it showed me the channel list, in one case with my preselected channels, other case empty list, but the grabber did not work in the end.

floriro commented 4 years ago

Maybe you have something running on port 8000 e.g. Portainer uses this port for an agent.

eremem commented 4 years ago

It seems that the problem occurs again also on my machine (current debian stable, no docker, nothing listening on port 8000). I changed to the DeBaschdi branch - the same error as stated above.