oe-alliance / OpenWebif

GNU General Public License v3.0
7 stars 9 forks source link

box freeze after openWebif crash #22

Open vajkooo opened 1 year ago

vajkooo commented 1 year ago

! Before you log an issue, have you updated to the most recent version? It's possible the issue may have already been fixed.

Affected user interface (delete as appropriate): This bug occurs in both the Modern and Classic web interfaces.

Describe the bug / Actual behaviour:

After some time of streaming the box will freeze and you have to restart it.

Expected behaviour: not freeze

Has this issue started to happen just recently? The problem started about a year ago

To reproduce: Steps to reproduce the behavior: Start streaming via 8001 port and normally watch the TV

Screenshots Screenshots are incredibly helpful; if possible, please attach to help explain your problem.

Image (please complete the following information): OpenATV from 6.5 OpenBH 5.2 I tried a lot images and problem is in all of them

Desktop (please complete the following information): doesnt matter

Additional context here is message from debug log.

<263644.5354> 09:12:03.8725 Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/twisted/protocols/basic.py", line 549, in dataReceived

File "/usr/lib/python3.11/site-packages/twisted/web/http.py", line 2319, in lineReceived

File "/usr/lib/python3.11/site-packages/twisted/web/http.py", line 2447, in allContentReceived

File "/usr/lib/python3.11/site-packages/twisted/web/http.py", line 1032, in requestReceived

--- --- File "/usr/lib/python3.11/site-packages/twisted/web/server.py", line 227, in process

File "/usr/lib/python3.11/site-packages/twisted/web/server.py", line 292, in render

File "/ssd/jenkins_focal/workspace/settopbox-openbh-5.2/build-enviroment/builds/openbh/release/vuultimo4k/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-gitAUTOINC+bb61885253-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py", line 237, in render

File "/ssd/jenkins_focal/workspace/settopbox-openbh-5.2/build-enviroment/builds/openbh/release/vuultimo4k/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-gitAUTOINC+bb61885253-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/utilities.py", line 278, in toBinary

builtins.MemoryError: [Uploading Enigma2_debug_2023-06-05_19-12-59.log…]()

<263654.6255> 09:12:13.9732 [gRC] main thread is non-idle! display spinner!

Huevos commented 1 year ago

Port 8001 is a direct connection with enigma, nothing to do with OpenWebif.

You should report this on OpenBh forum.

vajkooo commented 1 year ago

check the log and tell me what causing the problem it's openwebif problem.

Huevos commented 1 year ago

What hardware is it? The exception says the receiver is out of RAM.

vajkooo commented 1 year ago

What hardware is it? The exception says the receiver is out of RAM.

sorry I forgot, it's VU+ ultimo 4K

Huevos commented 1 year ago

Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/twisted/protocols/basic.py", line 549, in dataReceived

File "/usr/lib/python3.11/site-packages/twisted/web/http.py", line 2319, in lineReceived

File "/usr/lib/python3.11/site-packages/twisted/web/http.py", line 2447, in allContentReceived

File "/usr/lib/python3.11/site-packages/twisted/web/http.py", line 1032, in requestReceived


File "/usr/lib/python3.11/site-packages/twisted/web/server.py", line 227, in process

File "/usr/lib/python3.11/site-packages/twisted/web/server.py", line 292, in render

File "/ssd/jenkins_focal/workspace/settopbox-openbh-5.2/build-enviroment/builds/openbh/release/vuultimo4k/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-gitAUTOINC+bb61885253-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py", line 237, in render

File "/ssd/jenkins_focal/workspace/settopbox-openbh-5.2/build-enviroment/builds/openbh/release/vuultimo4k/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-gitAUTOINC+bb61885253-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/utilities.py", line 278, in toBinary

builtins.MemoryError

Huevos commented 1 year ago

My guess is you were already out of RAM before this happened. What else do you have running on the box? LCD4Linux?

vajkooo commented 1 year ago

From packages LCD4Linux, nothing else. I disabled everything. What is just running is streaming to android TV in other room.

Huevos commented 1 year ago

You need to remove LCD4Linux and try again.

vajkooo commented 1 year ago

Ok I will, the problem usually appears every 2-3 days, then I'll let you know.

vajkooo commented 1 year ago

hi I uninstalled all plugins but still same problem. I'm attaching the last log. Enigma2_debug_2023-06-07_11-18-45.log