fairbird / enigma2-dreambox

This is E2 source for DreamBox depend on Openpli source
GNU General Public License v2.0
7 stars 15 forks source link

Error start after build. #8

Closed 68foxboris closed 2 years ago

68foxboris commented 2 years ago

Good evening. Please tell me what I'm doing wrong.Somewhere I was mistaken, but I do not see where. Collected the assembly using your git and start error

onfigInteger, ConfigSelection, NoSave File "/usr/lib/enigma2/python/Components/config.py", line 4, in File "/usr/lib/enigma2/python/Components/Harddisk.py", line 4, in File "/usr/lib/enigma2/python/Components/SystemInfo.py", line 157, in File "/usr/lib/enigma2/python/Components/SystemInfo.py", line 20, in init File "/usr/lib/enigma2/python/Tools/Directories.py", line 404, in fileReadLines print("[%s] Line %d: %s %d lines from file '%s'." % (source, stack()[1][0].f_lineno, msg, length, filename)) NameError: global name 'stack' is not defined

I added this line and the error was gone =from inspect import stack

But it does not start further

`Traceback (most recent call last): File "/usr/lib/enigma2/python/StartEnigma.py", line 28, in from Screens import InfoBar File "/usr/lib/enigma2/python/Screens/InfoBar.py", line 5, in File "/usr/lib/enigma2/python/Screens/MovieSelection.py", line 5, in File "/usr/lib/enigma2/python/Components/MovieList.py", line 12, in File "/usr/lib/enigma2/python/Screens/LocationBox.py", line 9, in File "/usr/lib/enigma2/python/Screens/HelpMenu.py", line 9, in File "/usr/lib/enigma2/python/Components/InputDevice.py", line 376, in iRcTypeControl = RcTypeControl() File "/usr/lib/enigma2/python/Components/InputDevice.py", line 362, in init if config.plugins.remotecontroltype.rctype.value != 0: File "/usr/lib/enigma2/python/Components/config.py", line 1843, in getattr AttributeError: plugins

fairbird commented 2 years ago

What line your are means to add it ?!! IS the error from this source or from other source (Your forke source) ?!!

68foxboris commented 2 years ago

I just collected from one git-enigma2_2.7+git19450+7921202-r0_et1x000.ipk Снимок экрана_2021-10-31_21-34-02

fairbird commented 2 years ago

That is not my question .... My question is ?! Is the error from my source after compile E2 or from other source ?!!

And why you adding extra code ?!! not need already. the file import inspect https://github.com/fairbird/enigma2-dreambox/blob/develop/lib/python/Tools/Directories.py#L3

Then this code (inspect.stack) https://github.com/fairbird/enigma2-dreambox/blob/develop/lib/python/Tools/Directories.py#L136 So this code no need it (from inspect import stack)

68foxboris commented 2 years ago

Collecting from your git - https://github.com/fairbird/enigma2-dreambox/commits/develop. Collected on a new one - SRCREV_pn-enigma2 = "337ecbcbb393bf78e6fb1102011d544641d7f659" Loads and works. screenshot_20211101063318

Collecting - SRCREV_pn-enigma2 = "${AUTOREV}" does not load and shows an error

[eDVBResourceManager] found 1 adapter, 1 frontends(1 sim) and 7 demux [eDVBLocalTimeHandler] RTC not ready... wait for transponder time [eEPGCache] Initialized EPGCache (wait for setCacheFile call now) [eEPGTransponderDataReader] Initialized [MAIN] Loading spinners... [MAIN] found 7 spinner! [MAIN] executing main [setIoPrio] best-effort level 3 ok Traceback (most recent call last): File "/usr/lib/enigma2/python/StartEnigma.py", line 16, in from Components.config import config, configfile, ConfigText, ConfigYesNo, ConfigInteger, ConfigSelection, NoSave File "/usr/lib/enigma2/python/Components/config.py", line 4, in File "/usr/lib/enigma2/python/Components/Harddisk.py", line 4, in File "/usr/lib/enigma2/python/Components/SystemInfo.py", line 157, in File "/usr/lib/enigma2/python/Components/SystemInfo.py", line 20, in init File "/usr/lib/enigma2/python/Tools/Directories.py", line 404, in fileReadLines NameError: global name 'stack' is not defined

I fix this error and a new one appears

[Console] command: mount /dev/mmcblk0p4 /tmp/MultibootPkt1Ey [eConsoleAppContainer] Starting /bin/sh [Console] command: umount /tmp/MultibootPkt1Ey [eConsoleAppContainer] Starting /bin/sh [Multiboot] Bootslots found: {} [Harddisk] enumerating block devices... [Harddisk] new device sda -> /dev/sda -> /dev/sda unable to load config ([Errno 2] No such file or directory: '/etc/enigma2/settings'), assuming defaults... Traceback (most recent call last): File "/usr/lib/enigma2/python/StartEnigma.py", line 28, in from Screens import InfoBar File "/usr/lib/enigma2/python/Screens/InfoBar.py", line 5, in File "/usr/lib/enigma2/python/Screens/MovieSelection.py", line 5, in File "/usr/lib/enigma2/python/Components/MovieList.py", line 12, in File "/usr/lib/enigma2/python/Screens/LocationBox.py", line 9, in File "/usr/lib/enigma2/python/Screens/HelpMenu.py", line 9, in File "/usr/lib/enigma2/python/Components/InputDevice.py", line 369, in File "/usr/lib/enigma2/python/Components/InputDevice.py", line 355, in init File "/usr/lib/enigma2/python/Components/config.py", line 1843, in getattr AttributeError: plugins [eDVBDB] ---- saving lame channel db

I’m sure everything works for you, but I don’t understand why it doesn’t want to work with me. I didn’t change anything, I just collected it from your git.

fairbird commented 2 years ago

I don't know really what you are missing in your codes . but here with me no problem ... You need to follow my commit in E2 source and Core then correct your files.

Any way I have add new commit for update (Directories) maybe help you ... https://github.com/fairbird/enigma2-dreambox/commit/46b2701fc5cfce51ab1dcac29541b1b2f0dfb6cb

68foxboris commented 2 years ago

A problem with - NameError: global name 'stack' is not defined - has been fixed, thanks a lot. But it still does not start, I attach the log file.And I don't understand why this is so. e2.log

68foxboris commented 2 years ago

And another question - Why debug level 4 is the default, it might be better to make a choice?

fairbird commented 2 years ago

About the error .. I don't think you are build image depend on my core and E2 source .. I think you have fork source and use it to build and SURE you are missing some update codes

File "/usr/lib/enigma2/python/Components/InputDevice.py", line 355, in init

I don't know what you are doing ... As I said my built image work just fine if you are using my core without change any things ... https://github.com/fairbird/openpli-dreambox-oe-core But you can download the InputDevice.py file from source https://github.com/fairbird/enigma2-dreambox/blob/develop/lib/python/Components/InputDevice.py then use it in your box after that you can find the correct error line and you can fix it ..


About debug level My source different then OV or openpli source. Because I have different feature of Menu > Setup > System > Log Manager it is much close of OpenaTV feature ... Open Shutdown menu will never see restart with debug .. So debug level must be 4 not 3 ...

68foxboris commented 2 years ago

Ok.

68foxboris commented 2 years ago

The most interesting thing is that vuultimo 4k loads and works, but et11000 4k doesn't load.

fairbird commented 2 years ago

My source JUST FOR DREAMBOX support ... No support for other devices ... Sorry