Open wedebe opened 6 months ago
Zap can be disabled while scanning.
But there is a much bigger problem here. What if you have a pending recording in round about 5 minutes and your scan takes more than 5 minutes?
So you need to prevent start scan if there is a pending recording. BUT you do not know how long the scan takes.
But there is a much bigger problem here. What if you have a pending recording in round about 5 minutes and your scan takes more than 5 minutes?
Really good point!
What about extracting the Shutdown/Restart A recording is upcoming
check & message into a reusable component with a parameter of timeAhead? Perhaps at 30minutes or similar for channel scan? Although a user would (probably) very rarely run a channel scan.
At the very least, should completed channel scans be saved automatically, user notified with a non-timed out message and the tuner released? (or whatever's causing the crash) ... I ask 'cos one use case might be to start a scan and go off to do other things or leave it 'running' overnight.
`openATV Enigma2 crash log
crashdate=Mo Apr 29 23:27:48 2024 compiledate=Jan 5 2024 skin=MetrixHD/skin.xml sourcedate=2024-01-05 branch=7.3 rev=33052+276055f component=Enigma2
model=vuuno4kse machinebuild=vuuno4kse imageversion=7.3 imagebuild=20240115
kernelcmdline=root=/dev/mmcblk0p4 rootfstype=ext4 rootflags=data=journal rootwait rw coherent_pool=2M vmalloc=666m bmem=641m@350m bmem=641m@2430m
nimsockets: NIM Socket 0: Type: DVB-C Name: Vuplus DVB-C NIM(BCM3148) Frontend_Device: 0 I2C_Device: 4 NIM Socket 1: Type: DVB-C Name: Vuplus DVB-C NIM(BCM3148) Frontend_Device: 1 I2C_Device: 4 NIM Socket 2: Type: DVB-C Name: Vuplus DVB-C NIM(BCM3148) Frontend_Device: 2 I2C_Device: 4 NIM Socket 3: Type: DVB-C Name: Vuplus DVB-C NIM(BCM3148) Frontend_Device: 3 I2C_Device: 4 NIM Socket 4: Type: DVB-C Name: Vuplus DVB-C NIM(BCM3148) Frontend_Device: 4 I2C_Device: 4 NIM Socket 5: Type: DVB-C Name: Vuplus DVB-C NIM(BCM3148) Frontend_Device: 5 I2C_Device: 4 NIM Socket 6: Type: DVB-C Name: Vuplus DVB-C NIM(BCM3148) Frontend_Device: 6 I2C_Device: 4 NIM Socket 7: Type: DVB-C Name: Vuplus DVB-C NIM(BCM3148) Frontend_Device: 7 I2C_Device: 4
23:16:57.2592 [Enigma] Python path is '/usr/lib/enigma2/python'.
23:16:57.2593 [Enigma] DVB API version 5, DVB API version minor 11.
23:16:57.2594 [Enigma] Enigma debug level 3.
23:16:57.2594 [Enigma] sourcedate 2024-01-05 / 7.3 33052+276055f.
23:17:04.8977 Traceback (most recent call last):
23:17:04.8984 File "/usr/lib/enigma2/python/StartEnigma.py", line 66, in init
plugin.call(reason=0, session=self)
23:17:04.8985 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/FastChannelChange/plugin.py", line 473, in FCCSupportInit
23:17:04.8985 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/FastChannelChange/plugin.py", line 70, in init
23:17:04.8986 AttributeError: 'BoxInformation' object has no attribute 'setMutableItem'
23:17:05.6330 [eServicePeer] ADD Peer vuuno4kse=vuuno4kse.local:8001
23:17:05.6345 [eServicePeer] ADD Peer vuzero4k=vuzero4k.local:8001
23:17:05.6590 [eServicePeer] ADD Peer vuuno4kse=vuuno4kse.local:8001
23:17:05.6610 [eServicePeer] ADD Peer vuzero4k=vuzero4k.local:8001
23:17:05.7665 [eDVBPESReader] Created. Opening demux
23:17:05.7666 [eDVBPESReader] Created. Opening demux
23:17:07.9153 2024-04-29 23:17:07,914 - DEBUG - Starting new HTTPS connection (1): api.msn.com:443
23:17:08.2137 2024-04-29 23:17:08,213 - DEBUG - https://api.msn.com:443 "GET /weatherfalcon/weather/overview?&lon=10.000654&lat=53.550341&locale=de-de&units=C&appId=9e21380c-ff19-4c78-b4ea-19558e93a5d3&apiKey=j5i4gDqHL6nGYwx5wi5kRhXjtf2c5qgFX9fzfk0TOo&ocid=superapp-mini-weather&wrapOData=false&includenowcasting=true&feature=lifeday&lifeDays=6 HTTP/1.1" 200 None
23:17:17.9966 [eDVBPESReader] Created. Opening demux
23:17:17.9967 [eDVBPESReader] Created. Opening demux
23:17:23.3476 [eDVBPESReader] Created. Opening demux
23:17:23.3478 [eDVBPESReader] Created. Opening demux
23:22:59.4030 [eDVBPESReader] Created. Opening demux
23:22:59.4032 [eDVBPESReader] Created. Opening demux
23:23:03.8312 [eDVBPESReader] Created. Opening demux
23:23:03.8313 [eDVBPESReader] Created. Opening demux
23:24:22.5216 [eDVBScan] the current channel's ID was not corrected - not adding channel.
23:25:32.0520 [eDVBScan] the current channel's ID was not corrected - not adding channel.
23:27:48.6551 Traceback (most recent call last):
23:27:48.6552 File "/usr/lib/enigma2/python/Components/Sources/FrontendInfo.py", line 45, in updateTunerMask
23:27:48.6555 File "/usr/lib/enigma2/python/Components/Sources/FrontendInfo.py", line 31, in updateFrontendData
23:27:48.6558 File "/usr/lib/enigma2/python/Components/Sources/FrontendInfo.py", line 50, in getFrontendData
23:27:48.6561 File "/usr/lib/enigma2/python/Components/ServiceScan.py", line 185, in
dmesg `
I have the same problem with a VU+ uno 4k se. openatv 7.3
I have the same problem with a VU+ uno 4k se. openatv 7.3
`openATV Enigma2 crash log
crashdate=Mo Apr 29 23:27:48 2024
compiledate=Jan 5 2024
skin=MetrixHD/skin.xml
sourcedate=2024-01-05
branch=7.3
rev=33052+276055f
component=Enigma2
model=vuuno4kse
machinebuild=vuuno4kse
imageversion=7.3
imagebuild=20240115
kernelcmdline=root=/dev/mmcblk0p4 rootfstype=ext4 rootflags=data=journal rootwait rw coherent_pool=2M vmalloc=666m bmem=641m@350m bmem=641m@2430m
nimsockets:
NIM Socket 0:
Type: DVB-C
Name: Vuplus DVB-C NIM(BCM3148)
Frontend_Device: 0
I2C_Device: 4
NIM Socket 1:
Type: DVB-C
Name: Vuplus DVB-C NIM(BCM3148)
Frontend_Device: 1
I2C_Device: 4
NIM Socket 2:
Type: DVB-C
Name: Vuplus DVB-C NIM(BCM3148)
Frontend_Device: 2
I2C_Device: 4
NIM Socket 3:
Type: DVB-C
Name: Vuplus DVB-C NIM(BCM3148)
Frontend_Device: 3
I2C_Device: 4
NIM Socket 4:
Type: DVB-C
Name: Vuplus DVB-C NIM(BCM3148)
Frontend_Device: 4
I2C_Device: 4
NIM Socket 5:
Type: DVB-C
Name: Vuplus DVB-C NIM(BCM3148)
Frontend_Device: 5
I2C_Device: 4
NIM Socket 6:
Type: DVB-C
Name: Vuplus DVB-C NIM(BCM3148)
Frontend_Device: 6
I2C_Device: 4
NIM Socket 7:
Type: DVB-C
Name: Vuplus DVB-C NIM(BCM3148)
Frontend_Device: 7
I2C_Device: 4
23:16:57.2592 [Enigma] Python path is '/usr/lib/enigma2/python'.
23:16:57.2593 [Enigma] DVB API version 5, DVB API version minor 11.
23:16:57.2594 [Enigma] Enigma debug level 3.
23:16:57.2594 [Enigma] sourcedate 2024-01-05 / 7.3 33052+276055f.
23:17:04.8977 Traceback (most recent call last):
23:17:04.8984 File "/usr/lib/enigma2/python/StartEnigma.py", line 66, in __init__
plugin.__call__(reason=0, session=self)
23:17:04.8985 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/FastChannelChange/plugin.py", line 473, in FCCSupportInit
23:17:04.8985 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/FastChannelChange/plugin.py", line 70, in __init__
23:17:04.8986 AttributeError: 'BoxInformation' object has no attribute 'setMutableItem'
23:17:05.6330 [eServicePeer] ADD Peer vuuno4kse=vuuno4kse.local:8001
23:17:05.6345 [eServicePeer] ADD Peer vuzero4k=vuzero4k.local:8001
23:17:05.6590 [eServicePeer] ADD Peer vuuno4kse=vuuno4kse.local:8001
23:17:05.6610 [eServicePeer] ADD Peer vuzero4k=vuzero4k.local:8001
23:17:05.7665 [eDVBPESReader] Created. Opening demux
23:17:05.7666 [eDVBPESReader] Created. Opening demux
23:17:07.9153 2024-04-29 23:17:07,914 - DEBUG - Starting new HTTPS connection (1): api.msn.com:443
23:17:08.2137 2024-04-29 23:17:08,213 - DEBUG - https://api.msn.com:443 "GET /weatherfalcon/weather/overview?&lon=10.000654&lat=53.550341&locale=de-de&units=C&appId=9e21380c-ff19-4c78-b4ea-19558e93a5d3&apiKey=j5i4gDqHL6nGYwx5wi5kRhXjtf2c5qgFX9fzfk0TOo&ocid=superapp-mini-weather&wrapOData=false&includenowcasting=true&feature=lifeday&lifeDays=6 HTTP/1.1" 200 None
23:17:17.9966 [eDVBPESReader] Created. Opening demux
23:17:17.9967 [eDVBPESReader] Created. Opening demux
23:17:23.3476 [eDVBPESReader] Created. Opening demux
23:17:23.3478 [eDVBPESReader] Created. Opening demux
23:22:59.4030 [eDVBPESReader] Created. Opening demux
23:22:59.4032 [eDVBPESReader] Created. Opening demux
23:23:03.8312 [eDVBPESReader] Created. Opening demux
23:23:03.8313 [eDVBPESReader] Created. Opening demux
23:24:22.5216 [eDVBScan] the current channel's ID was not corrected - not adding channel.
23:25:32.0520 [eDVBScan] the current channel's ID was not corrected - not adding channel.
23:27:48.6551 Traceback (most recent call last):
23:27:48.6552 File "/usr/lib/enigma2/python/Components/Sources/FrontendInfo.py", line 45, in updateTunerMask
23:27:48.6555 File "/usr/lib/enigma2/python/Components/Sources/FrontendInfo.py", line 31, in updateFrontendData
23:27:48.6558 File "/usr/lib/enigma2/python/Components/Sources/FrontendInfo.py", line 50, in getFrontendData
23:27:48.6561 File "/usr/lib/enigma2/python/Components/ServiceScan.py", line 185, in <lambda>
23:27:48.6567 AttributeError: 'NoneType' object has no attribute 'getFrontend'
23:27:48.6569 [ePyObject] (PyObject_CallObject(<bound method FrontendInfo.updateTunerMask of <Components.Sources.FrontendInfo.FrontendInfo object at 0xae1a9450>>,(2,)) failed)
dmesg
`
! Before you log an issue, have you updated to the most recent version? It's possible the issue may have already been fixed. Yes
Describe the bug / Actual behaviour: If the Channel / Service Scan page is open when (for example) a user uses OpenWebif to zap, or EPGRefresh is run automatically, oATV will crash.
Expected behaviour: oATV should not crash, instead the zap/EPGRefresh/any other command should be vetoed, ideally with an error/failed message to the function which called it to state why (eg. 'Channel Scan denied service change')
Has this issue started to happen just recently? No
To reproduce: Steps to reproduce the behavior:
Channel / Service Scan
Screenshots
Image/Box Model (please complete the following information):
Additional context Another bug is that after clearing the error notification, the user is brought back to the
Scanning Complete
page. PressingOK
(Green button) - instead of saving the previously found channels - will re-start the scan, but increment from the previous number of found channels (in the case of the screenshot, 419 onwards, for a new total of 836. I haven't checked whether these are subsequently duplicated in the channel database.Log: