Closed romestylez closed 1 year ago
Mohamed_OS : What's this?
A guy making OSCam versions at linuxsat-support
But like ive said its the same error with every version even the version from the feed.
If you select a softcam lets say from Mohamed_OS and uninstall it you cant select any another Softcam in the menu as youll end up in a loop.
Even when you select the version vom the feed and uninstall it and then install another version you cant select that new version.
A guy making OSCam versions at linuxsat-support
Just ask this guy. :-)
Nice answer... Ohhhhh wait let me quote myself
"Even when you select the version vom the feed and uninstall it and then install another version you cant select that new version."
You understand thats not a problem with his OSCam Version ? You can even replicate that problem with any other OSCam !
No one else here got this problem ? When i check other forums like https://www.linuxsat-support.com/ there are a lot of people having this problem with openATV 7.1 and openATV 7.2
Please provide crashlog if exists and debug log.
Sadly there is no crash. Its just loading forever. I even waited like 2 hours but its just on this screen:
https://user-images.githubusercontent.com/7427681/206432127-7e520c69-3ad1-4dee-a67c-db7e81f65627.png
You can easy force this error to happen.
1.) Install a old OSCam 2.) Select this old version in the Softcam panel and save 3.) Install a new version and uninstall the old version 4.) Try to select the new version in the Softcam panel
It will forever stay on the screen which you can see on my first post. Like i have said it seems like when you try to select the new version openATV is trying to find the old version or something and its not saving.
Before deinstalling a softcam, it should be deactivated in the panel, to be shure the content of /etc/enigma2/settings stays consitent. Before installing a new softcam with perhaps the same name, the old one should be deinstalled (after deactivating). Do not deinstall a softcam after installing a new one, if you don't know whatever the packages do.
A few month/weeks back i could just install the newest version and then select it press save and done.
But since i dont know when you have to deactivate the old version before installing the new one and i dont see any sense in this. When im going to select the new version in the Softcam panel and click save just save the settings and good. But thats not working but it was working before !
This brings a lot of trouble when you are using a script to update to the newest OSCam as you cant deactivate the old version via this script.
Even if i delete "config.misc.softcams=OSCam_11718-r798" from the settings i can see the actual version im using in the Softcam panel.
So from where the Softcam panel is taking the version used ? Then i maybe could change my script to directly set the version there.
But as i have said a few weeks ago it was possible just to install the newest version with a different name and uninstall the old version and then just select the new version in the Softcam panel. Thats how it should be like when i select a new version just do the settings as the Softcam panel is already reconizing the new version as its shown in the select. So i dont know why its then stuck when i press save.
I cannot reproduce your problem:
No crash , No hang , No issue
I have tested with some OScams which have names like "OSCam Version XXXX" and the new Version just changes the name and uninstalls the old one. And im not able to select the new installed version as the old version which isnt installed anymore is still selected.
And like ive said its not just me. But ok then i have to live with this and deselect the old version before installing a new one.
There is no such ipk on the feed. How exactly do you install and remove these ipk’s.
Im using this version
Downloading an older ipk then the newest and you will see the same problem. Its the same with every OSCam installed via ipk i have tested. You cant choose the new version after the old is uninstalled. This problem wasnt there a few weeks ago. Sadly all other people just accept this problem and just complain in the forum linked above but not reporting it here.
That's the problem, you are using 3rd party ipk and not from the feed. The Softcam settings Screen is not prepared to use 3rd party ipk.
Please provide the output of this :
ls -la /etc/init.d/softcam*
Okay but it was working thats why im wondering ;)
root@vuzero:~# ls -la /etc/init.d/softcam* lrwxrwxrwx 1 root root 24 Dec 27 12:05 /etc/init.d/softcam -> softcam.OSCam_11718-r798 -rwxr-xr-x 1 root root 25 Dec 27 12:04 /etc/init.d/softcam.Non e -rwxr-xr-x 1 root root 836 Dec 27 12:04 /etc/init.d/softcam.OSC am_11718-r798 -rwxr-xr-x 1 root root 649 Jul 9 16:10 /etc/init.d/softcam.Osc am
Right now its working but if needed i can just install a old version to provoke the error or you try it yourself. When its not wanted to use 3rd party ipks for OSCam then im fine and its just sad its not working like it did before.
Thanks for your help !
Is this the correct output? You have spaces in the file names.
Please install a new version and provide the ls. Then remove the old and provide the ls again.
Newest version is installed.
when i install a old version the actual version will be uninstalled automatically from the ipk
Softcam settings Screen reads the files /etc/init.d/softcam*
on start.
The current selected is the link target of /etc/init.d/softcam
.
I don't see any issue if the files in /etc/init.d
are correct.
Thanks for the paths ! I just installed a old version and then did the update and i guess i see the problem. It seems like when im saving the symlink is not updated. But why ?
Before update/downgrade
root@vuzero:/tmp# ls -la /etc/init.d/softcam* lrwxrwxrwx 1 root root 24 Jan 2 16:03 /etc/init.d/softcam -> softcam.OSCam_11717-r798 -rwxr-xr-x 1 root root 25 Jan 2 16:00 /etc/init.d/softcam.None -rwxr-xr-x 1 root root 836 Jan 2 16:00 /etc/init.d/softcam.OSCam_11717-r798 -rwxr-xr-x 1 root root 649 Jul 9 16:10 /etc/init.d/softcam.Oscam
After update/downgrade
root@vuzero:/tmp# ls -la /etc/init.d/softcam* lrwxrwxrwx 1 root root 24 Jan 2 16:03 /etc/init.d/softcam -> softcam.OSCam_11717-r798 -rwxr-xr-x 1 root root 25 Jan 2 16:09 /etc/init.d/softcam.None -rwxr-xr-x 1 root root 836 Jan 2 16:09 /etc/init.d/softcam.OSCam_11718-r798 -rwxr-xr-x 1 root root 649 Jul 9 16:10 /etc/init.d/softcam.Oscam
So when i now go and try to select the new installed version from the softcam panel i see this
root@vuzero-ameland:/etc/init.d# ls -la /etc/init.d/softcam* -rwxr-xr-x 1 root root 25 Jan 2 16:24 /etc/init.d/softcam.None -rwxr-xr-x 1 root root 836 Jan 2 16:24 /etc/init.d/softcam.OSCam_11718-r798 -rwxr-xr-x 1 root root 649 Jul 9 16:10 /etc/init.d/softcam.Oscam
So it seems like the Symlink gets deleted but never created again ? When i cancel at the "Please wait restarting softcam" the Symlink is still deleted.
When i then do this
ln -s softcam.OSCam_11718-r798 /etc/init.d/softcam
and go into the Softcam panel again i can choose and save the new version. So for me this looks like a bug in the Softcampanel and not in the ipk.
You are right. The link is wrong. This needs to fix in the installation script in the ipk.
Has nothing to do with the installation Script as its for all other ipks also. When you choose the new version the old link gets deleted but the new links isnt created nothing related to the ipk as the Softcampanel is creating this link ?
The link is there from the very beginning, linking to softcam.None Each Softcam ipk is supposed to add its own startup script and leave the link alone, except it is set to "None", so the first cam auto-activates itself. When the ipk gets uninstalled it sets the "softcam" link to "None" again, when it was the active cam or leaves the link untouched when a different cam was active.
But when the file is there linking to a non existing file shouldnt be the Softcampanel so resistant and just create it linked to the version you have selected ?
I mean in my eyes that would be the most stable way.
@jbleyel how/where to test it ? Just put it on the receiver and let run ?
How can I know the correct target if the link is wrong? There is no module called "cristal ball". There is no way to fix this if you have more than one.
The link is the selection.
Why cristal ball ? I select the new Version so Softcampanel should just create the link to the selected version. What happens now is i select the new version the link gets deleted but the new link isnt created. Or iam thinking the wrong way that it should be clear where the link should point when i select the version from the Softcampanel
Could you let me know how to test ? Just download the files upload on the box to the path and restart the box ?
Download the new files and copy to the correct target folder on your box. Then reboot.
Compiling for the camcontrol.py wasnt working fixxed it by running "python -m compileall /usr/lib/enigma2/python/Tools/camcontrol.py" manually. And seems like something is broken. When pressing the blue button i get an error
21:19:04.8267 File "/usr/lib/enigma2/python/Screens/SoftcamSetup.py", line 9, in
21:19:04.8303 from Components.SystemInfo import updateSysSoftCam 21:19:04.8308 ImportError: cannot import name 'updateSysSoftCam' from 'Components.SystemInfo' (/usr/lib/enigma2/python/Components/SystemInfo.pyc) 21:19:04.8312 [ePyObject] (PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.HelpableActionMap object at 0x701c2118>>,('InfobarExtensions', 'quickmenu')) failed)
I have now manually updated and compiled the SystemInfo.pyc dont know why its not up to date i did opkg update and opkg upgrade. But still having errors when pressing blue button
21:50:21.9650 ImportError: cannot import name 'GetBoxName' from 'Components.SystemInfo' (/usr/lib/enigma2/python/Components/SystemInfo.py) 21:50:31.0301 [eServicePeer] ADD Peer vuduo2=vuduo2.local:8001 21:50:31.0367 [eServicePeer] ADD Peer vuzero-stube=vuzero-stube.local:8001 21:50:31.0418 [eServicePeer] ADD Peer vuduo2=vuduo2.local:8001 21:50:31.0468 [eServicePeer] ADD Peer vuzero-stube=vuzero-stube.local:8001 21:50:32.3655 [eDVBPESReader] Created. Opening demux 21:50:32.3662 [eDVBPESReader] Created. Opening demux 21:50:50.4151 Traceback (most recent call last): 21:50:50.4154 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 238, in action 21:50:50.4174 File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 3088, in bluekey_qm 21:50:50.4192 File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 3103, in quickmenuStart 21:50:50.4207 File "/usr/lib/enigma2/python/Screens/QuickMenu.py", line 22, in
21:50:50.4224 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/SoftwareManager/plugin.py", line 47, in 21:50:50.4241 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/SoftwareManager/ImageBackup.py", line 12, in 21:50:50.4274 ImportError: cannot import name 'GetBoxName' from 'Components.SystemInfo' (/usr/lib/enigma2/python/Components/SystemInfo.py) 21:50:50.4281 [ePyObject] (PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.HelpableActionMap object at 0x70967e98>>,('InfobarExtensions', 'quickmenu')) failed)
Very wired dont know why i have to manually update the SystemInfo and why getboxname isnt working as its in the SystemInfo as far as i can see.
Do you have the latest 7.2 Image?
Ah no im on openATV 7.1 as i didnt want to use a beta. Should i switch ?
The latest 7.1 is also OK.
You should update your box first and then copy the 2 py files. compile all is not needed
I need to switch to 7.2 can do this when im back home as im on vacation and just have remote access. I had to compile both files but still not working on 7.1 i will then try end of the week with a update to 7.2
Please run :
opkg update
opkg upgrade
and then reboot. Then you should have the lastest updates from 7.1
Just saw im on openATV 7.0 damn thought i switched to 7.1 already. Need to do that when im home and test again !
Will try again tomorrow. Thx for your help !
@jbleyel Updated to openATV 7.1 copied your files and now i can upgrade/downgrade how ever i want ! The Softcampanel shows "none" when the symlink is deleted.
Thats a nice fix thank you for that !!
Since a few weeks there is a problem when you install a new OSCam version.
After installing the newest OSCam version lets say from Mohamed_OS - which is uninstalling the old version - when i then try to change the softcam via "Blue button" -> "Softcam" -> "Select softcam"
i end up in an infinity loop "Restarting softcam... Please wait"
There seems to be a bug that the old selected version needs to be present when changing from this version to the new version.
When i change the version to a other version and then update the version from Mohamed_OS i can select the new version.
I also tried to select the version from the feed and then update this version and try to select the new version i end up in a loop so its not a problem with the OSCam version from Mohamed or OSCam itself. It seems to be openATV related.