PDA

View Full Version : Original DM800 Green Screen



ford
04-09-2015, 08:09 PM
Hi.

Please see following fix for GSOD Open Pli 2.1 DM800 Original, regarding Cross EPG.

Line 81 in crossepg_main.py should be changed:-


-def setup(self, session):

+def setup(self, session, **kwargs):

The file can be found at the following location:-

/usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG


Problem is, Notepad, or Crimson Text Editor will not display the content in any order, as stupid as t sounds, so I cannot see the line to edit.
I really want to apply this fix, and need advice please.
Many thanks in advance.

Detlef
04-09-2015, 08:59 PM
Use the ftp facility in DCC and it has a view and edit capability.

Because it edits in Linux mode the file will not get corrupted as it does if you use Notepad.

It also shows line numbers.

ford
04-09-2015, 09:02 PM
Cheers mate.
Will do.
Very helpful.
I have DCC
Just donated again.
Makes me proud to be a member here m8

ian
05-09-2015, 08:41 AM
Use the ftp facility in DCC and it has a view and edit capability.

Because it edits in Linux mode the file will not get corrupted as it does if you use Notepad.

It also shows line numbers.


NO NO NO NO !

This is a total never do.

The text editors within most FTP programs are Windows format only and any Linux text needs to be saved in the UNIX format.I personally cannot speak for DCC as Ive never used it,and it may very well save in UNIX,but the general advise about using text editors within FTP programs will cause more issues than its worth.

This is a basic novice mistake that many peeps make and then they wonder why things wont work or they get gsod's

FTP the file to your pc and use a proper UNIX editor such as Notepad++ or gedit to make the changes and then ensure you save in UNIX then FTP back again.

Restart enigma2 and job done.

Ian.

ford
05-09-2015, 03:03 PM
Cheers mate.
Will give it a go later, and post results. Already exported the file to my PC.
Thanks again lads.
An eye opener is this One LOL
Am a radio guy btw.
Linux is not my forte.
Cheers again..


NO NO NO NO !

This is a total never do.

The text editors within most FTP programs are Windows format only and any Linux text needs to be saved in the UNIX format.I personally cannot speak for DCC as Ive never used it,and it may very well save in UNIX,but the general advise about using text editors within FTP programs will cause more issues than its worth.

This is a basic novice mistake that many peeps make and then they wonder why things wont work or they get gsod's

FTP the file to your pc and use a proper UNIX editor such as Notepad++ or gedit to make the changes and then ensure you save in UNIX then FTP back again.

Restart enigma2 and job done.

Ian.

ford
05-09-2015, 06:03 PM
Hi Ian.
Sorry to hassle you.
Notepad++ works fine, but can only see 47 lines, not 81
crossepg_main.pyo

I attached my crossepg file.
Any advice would be great please.
Apologies, and thanks in advance.

I guess am making a schoolboy error?

NO NO NO NO !

This is a total never do.

The text editors within most FTP programs are Windows format only and any Linux text needs to be saved in the UNIX format.I personally cannot speak for DCC as Ive never used it,and it may very well save in UNIX,but the general advise about using text editors within FTP programs will cause more issues than its worth.

This is a basic novice mistake that many peeps make and then they wonder why things wont work or they get gsod's

FTP the file to your pc and use a proper UNIX editor such as Notepad++ or gedit to make the changes and then ensure you save in UNIX then FTP back again.

Restart enigma2 and job done.

Ian.

ian
05-09-2015, 06:41 PM
I cant work out what you have done here.

You dont have a main.py file,so my best guess is youve tried to open the main.pyo file ?

This cannot be done lol

Pyo is machine code and has to be decompiled into py which is human readable code.

Anyway ive decompiled a main.pyo file for you into py format and made the needed changes that you asked for.

Send this file over to your CrossEPG plugin folder and restart enigma2

My only concern here is the CrossEPG version you are using as this main file is from 0.8.1 so please backup your existing main.pyo fle in your box before restarting enigma2 because if ive given you the decompiled py from 0.8.1 and you are using 0.6.2 then we will need that pyo backup to put things back as they were.Please also delete the main.pyo.txt file you have created. I dont think it will cause any problems,but its best to get rid because its not meant to be there.

Ian.

Ian.

harddriver
05-09-2015, 06:41 PM
Hi

In your Attached File is the crossepg_main.pyo
stored as an .txt File that could not Work.
Use the way Detlef recommends you in Post 2 this will Work
for you

Edit:

Download the .zip File from here (https://github.com/E2OpenPlugins/e2openplugin-CrossEPG)
open the Folder and choose :
e2openplugin-CrossEPG-master-src-enigma2-python
transfer the missing File/s to your Box into the right Folder set Attributes to 644 and restart your Box
should Work than

ian
05-09-2015, 06:57 PM
Ok just to be safe.

Heres an edited version from 0.6.2 as well.

Check your CrossEPG version and use the appropriate main.py file

Ian.

EDIT: Harddriver I know you are trying to help him but sending someone to the github who doesnt understand the difference between pyo and py is just going to confuse him further,plus you CANNOT read or edit pyo neither in an FTP text editor or a standalone editor,so the info you posted above about using detlef's instructions is bogus.

ford
05-09-2015, 07:36 PM
Thanks Ian.
Am a bit green to say the least, but now have a better understanding, thank you.
I got this box, as faulty off ****, just for the main board, which so happened to be an authentic DM800.
Helping a mate out(his processor finally folded on his)
Pleasant to see that the physical architecture was identical to a sim2.01 board.
But then again, all made in China LOL
Same as all the Motorola 2 way radio stuff I repair here at my firm.
Electronic Engineers we are, understanding Software language NO LMFAO.

Thanks again Ian.

All assimilated, and understood.

ian
05-09-2015, 07:45 PM
Good to know that ford.

Things break and its handy to know who can sort out electronics. Soldering and Plastering are two things in life it really is best that I avoid. Trust me when I say I can do neither,the results from both are appauling.
If or should I say when,something electronic breaks I will be pestering you for help lol.

Ian.

ford
05-09-2015, 09:04 PM
LOL

No worries Ian.
We do surface mount work etc, so just PM if you need help :-)

Not sure why it's just going to the radio channel and staying there!!!
Channel database is fine, as works on my Vu+duo
The USB is being detected, and open tv provider correctly selected.
****ing me off is this

ian
05-09-2015, 09:18 PM
Do you have libcurl installed on that box ?

Telnet in and issue this command

opkg-install curl

Ian.

ford
05-09-2015, 09:20 PM
Hi Ian.

Will do it now.
Cheers.



Do you have libcurl installed on that box ?

Telnet in and issue this command

opkg-install curl

Ian.

ian
05-09-2015, 09:23 PM
Cant recall if 0.6.2 needs it or not as its really old now nor can i recall if there should be a dash in the command either,so try it without the dash if it fails.

I would upgrade to 0.8.1 though if i were you, but that deffo requires libcurl.

Ian.

ford
05-09-2015, 09:45 PM
Thanks Ian.
cannot satisfy dependencies without the dash

I'll need to find 0.8.1 for original DM800 i guess

Sorry about this bud :-(

Feel like I'm being a right pain in the arse now

ford
05-09-2015, 10:03 PM
Found it.
I'll telnet in tomorrow and remove 0.6.2
Getting late now LOL

ford
05-09-2015, 10:37 PM
installed 0.8.1
In telnet cannot satisfy dependencies
Just going to have to try xmltvimport.
Didn't want to do this.
Cheers anyway

Detlef
06-09-2015, 02:09 AM
Use the ftp facility in DCC and it has a view and edit capability.

Because it edits in Linux mode the file will not get corrupted as it does if you use Notepad.

It also shows line numbers.



NO NO NO NO !

This is a total never do.

The text editors within most FTP programs are Windows format only and any Linux text needs to be saved in the UNIX format.I personally cannot speak for DCC as Ive never used it,and it may very well save in UNIX,but the general advise about using text editors within FTP programs will cause more issues than its worth.

This is a basic novice mistake that many peeps make and then they wonder why things wont work or they get gsod's

FTP the file to your pc and use a proper UNIX editor such as Notepad++ or gedit to make the changes and then ensure you save in UNIX then FTP back again.

Restart enigma2 and job done.

Ian.

@Ian

The editor in DCC is specifically designed for Dreamboxes. It edits and saves text files, all in linux format.

It doesn't d/l the file into the PC but merely uses FTP to access the files.

Try it on any Dreambox or Linux box and your fears will be allayed.

It is a really useful utility. I recommended it because it also displays line numbers and was ideally suited to solving Ford's problem. It should also display the complete file, thus solving the second problem too.

Det

ian
06-09-2015, 09:19 AM
installed 0.8.1
In telnet cannot satisfy dependencies
Just going to have to try xmltvimport.
Didn't want to do this.
Cheers anyway

If this is the case then its because Pli 2.1 doesnt carry libcurl on its feeds.

So you have two options.

Either find a libcurl ipk and install it to use with 0.8.1 as its deffo required,or stick with 0.6.2 (I'm unsure,but I do seem to recall doesnt need libcurl)

Ive attached a libcurl ipk for you but ive no idea if it has been packaged in a manor to configure the image properly to use it after installation,you can only try I guess.

If you decide to downgrade again to 0.6.2, I would recommend however that you completely remove the 0.6.2 version you already have and install this version obtained directly from the git instead.This is because there maybe more changes to stop your first crash than you mentioned in your first post.

Extract the rar and send the complete folder and its contents to /usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG

chmod the main folder and all folders inside it to 755 and the files within to 644

Restart enigma2 and it should then all work correctly.

Dont give up, 99% of problems can be fixed if you try hard enough.

@detlef

Thanks for the info regarding DCC,as i said Ive never used it,but its still good to know this.

Ian.

ford
06-09-2015, 10:04 AM
Hi Ian.
I tried 0.8.1, but adding libcurl didn't satisfy dependencies.
Will try the files you sent mate.
Really appreciate this.
I was considering the Black Hole Image, but as you said, keep trying, and don't give up.
That's the attitude we have in my firm LOL, tho can make One poor spending too much time on a sodding radio repair LOL
Offer stands if you need anything repaired mate, all FOC of course.
My regulator mod is a sticky on another site for the VU+Duo.
Red standby perm on issue, but am an Electronics Engineer, that needs to brush up on his UNIX quite clearly :-)
Working 7 days a week to address the repairs back log, but will give this a go tonight, and let you know.
Cheers again....

ford
07-09-2015, 12:05 PM
Hi Ian.

Loaded it in as you said, now all the providers are empty.
Never seen this One before.
Any ideas please?
cheers.

ian
07-09-2015, 02:33 PM
It all depends upon how you have removed the old 0.6.2 version.

If you have completely removed the plugin via telnet then it will have removed the providers and many other files too.

I only gave you the latest 0.6.2 plugin files from the git nothing more,so you now have many missing files.

Ok

The only way forward now is to remove everything once more,then install a 0.6.2 ipk from anywhere on the net,any will do as you are only trying to replace any missing files and you are not interested in any plugin files it installs as you will be replacing those.

So,this ipk should install all your missing files,then before you restart go to the system folder where the main plugin files are located and overwrite the files that live there only,with the ones I gave you from the git.

Restart and all should then be ok. Hopefully lol

Ian.

ford
07-09-2015, 08:35 PM
Hi Ian.
Thanks again mate.
Something wrong in the core of it I think??
Xmltvimport also the same!
He has the box back for now, so will install another image at a later time.
Bit of a knock back, as been doing this hobby for so long, and rebuilt many boxes with complete success!
Will try the BH Image next week.
Cheers again bud.

ford
31-10-2015, 02:59 PM
Hi lads.
Am getting somewhere with this I think.
I got my mates box back, and installed curl.
What happens now is Cross EPG is pointing to the incorrect EPG channel!!!!!
It goes to a DVB radio channel i think, then service unavailable, check tuner configuration.
Jut need to find a way to get cross epg 0.8.1 to point to the correct DVB service/Channel.
Does this make sense??
Open pli 4 am using BTW.
Cheers.