DYefremov / DemonEditor

Enigma2 channel and satellite list editor for GNU/Linux and macOS.
https://dyefremov.github.io/DemonEditor
MIT License
119 stars 142 forks source link

error transfering boquets to receiver #182

Closed snickers2k closed 1 year ago

snickers2k commented 1 year ago

Downloading Boquets from the box works

20-07-23 04:34:03 Downloading file: blacklist.   Status: 226 Transfer complete.
20-07-23 04:34:03 Downloading file: bouquets.radio.   Status: 226 Transfer complete.
20-07-23 04:34:03 Downloading file: bouquets.tv.   Status: 226 Transfer complete.
20-07-23 04:34:03 Downloading file: lamedb.   Status: 226 Transfer complete.
20-07-23 04:34:03 Downloading file: userbouquet.favourites.radio.   Status: 226 Transfer complete.
20-07-23 04:34:03 Downloading file: userbouquet.favourites.tv.   Status: 226 Transfer complete.
20-07-23 04:34:03 Downloading file: whitelist.   Status: 226 Transfer complete.
20-07-23 04:34:03 Downloading file: satellites.xml.   Status: 226 Transfer complete.
20-07-23 04:34:03 Downloading file: terrestrial.xml.   Status: 226 Transfer complete.
20-07-23 04:34:03 *** Done. ***

but uploading gives this error

20-07-23 04:34:33 Uploading data error: encoding with 'idna' codec failed (UnicodeError: label empty or too long)
20-07-23 04:34:33 ##### Done! #####

using beta3.7.0 with mac os Montery

DYefremov commented 1 year ago

Hi, Unfortunately I can't reproduce it at me. But... Seems like a problem in one of the Python modules. First of all, try to disable this option: settings Also try to play with the value in the receiver address field. E.g, try setting as hostname.

snickers2k commented 1 year ago

thank you after disabling that, it does not give an error anymore, but instead crashes the dreambox :/

first testing telnet works

20-07-23 17:27:39 HTTP API initialized... Web Interface version: 1.9.0
20-07-23 17:27:42 root@dm520:~#
20-07-23 17:27:57 Telnet initialization ...
20-07-23 17:28:47 HTTP API initialized... 
20-07-23 17:28:50 HTTP API initialized... 
20-07-23 17:29:09 Testing HTTP connection...
20-07-23 17:30:57 HTTP API initialized... Web Interface version: 1.9.0
20-07-23 17:30:58 HTTP API initialized... Web Interface version: 1.9.0
20-07-23 17:32:54 root@dm520:~#

uploading only gives this before crashing

20-07-23 17:34:23 Telnet initialization ...

is there any other way uploading the boquets to the dreambox ? by usb-stick or ftp upload or something? i did ftp upload the boquets already, but can't find a way to import in the dreambox UI :/ thank you

DYefremov commented 1 year ago

Hm... I think it is impossible to rule out problems with your image (settings). You can upload the configuration files (for testing purposes) using a third party ftp client (or there is an FTP tab in the DemonEditor itself).

i did ftp upload the boquets already, but can't find a way to import in the dreambox

I think here you need to refer to the documentation for your OS, image (perhaps on the support forum for this image). Perhaps there are some features.

Considering this:

after disabling that, it does not give an error anymore, but instead crashes the dreambox

Perhaps it will be enough to correctly configure HTTP access in the Webinterface settings. For example disable "token-based security" and "anti-hijack". And turn back the HTTP option in DemonEditor. If configured correctly, information about the receiver will be displayed in the lower left corner of the status bar. Also in recent versions there have been minor changes in data loading. There were also updates to the libraries for the builds. Therefore, try earlier versions of the program.