EventGhost crashes learning remote code from MCE receiver

Found a bug in EventGhost? Report it here.

EventGhost crashes learning remote code from MCE receiver

Postby Meat_PoPsiclez » Thu Dec 01, 2011 12:05 am

Using EventGhost 0.4.1.r1544, and the MCE Remote - Vista/Win7 plugin, I experience a crash every time I try to learn a remote code. It appears to be receiving the code (the window gets filled with data), however it crashes immediately.
Meat_PoPsiclez
 
Posts: 1
Joined: Thu Dec 01, 2011 12:01 am

Re: EventGhost crashes learning remote code from MCE receive

Postby shmulik » Fri Jan 13, 2012 8:48 am

almost the same here. it crashes most times. after such crash I have to re-run EG, uninstall the service from the plugin configuration, reinstall it and try again. doing sufficient trials I managed to learn the three codes needed to operate the device to be controlled. even after learning, a successful transmission happens by chance. the device has volume-up/down/mute. with the remote it happens on every click. with EG+plugin you have to be really persistent if you want your volume to change.
I'm using Lenovo MCE remote. looks like an OEM branded device.
shmulik
 
Posts: 3
Joined: Wed Sep 14, 2011 6:27 pm

Re: EventGhost crashes learning remote code from MCE receive

Postby Jaymax » Mon Jan 23, 2012 9:49 am

I too was getting crashes when learning codes, but using USB-UIRT, a few days ago.
Jaymax
 
Posts: 10
Joined: Tue Aug 11, 2009 3:47 am

Re: EventGhost crashes learning remote code from MCE receive

Postby acowan » Sun Jun 10, 2012 5:31 pm

Same issue here. It doesn't happen all the time, but at least 1/5 tries will cause the program to hang. I am using the HP MCE receiver and a LG remote. The pronto code I am trying to send is 0000 006C 0000 0026 0159 00A7 0017 0013 0017 0013 0017 003F 0017 0013 0017 0013 0017 0013 0017 0013 0017 0013 0017 003F 0015 0041 0015 0015 0015 003F 0017 003F 0015 003F 0017 003F 0015 0041 0015 003F 0017 003F 0015 0015 0015 003F 0017 0013 0017 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0017 0013 0017 003F 0015 0041 0015 003F 0017 003F 0015 0626 0156 0056 0015 0E76 0158 0054 0017 0F3C.
acowan
 
Posts: 2
Joined: Sun Jun 10, 2012 5:14 pm

Re: EventGhost crashes learning remote code from MCE receive

Postby Jbravo2 » Mon Jul 23, 2012 6:34 am

Same problem here, Win 7 x64 Pro, EventGhost 0.4.1.r1572.
Jbravo2
 
Posts: 7
Joined: Mon Jul 23, 2012 6:30 am

Re: EventGhost crashes learning remote code from MCE receive

Postby Jbravo2 » Mon Jul 23, 2012 6:39 am

Same problem here, using Win 7 x64 Pro and EventGhost 0.4.1.r1572.

EventGhost crashes when the ir code is received, and the learn dialog is dismissed.
Jbravo2
 
Posts: 7
Joined: Mon Jul 23, 2012 6:30 am

Re: EventGhost crashes learning remote code from MCE receive

Postby palms13 » Sun Nov 11, 2012 9:57 pm

Any fix for this yet? I have the same problem.
palms13
 
Posts: 2
Joined: Wed Nov 07, 2012 10:22 pm

Re: EventGhost crashes learning remote code from MCE receive

Postby TritonT » Mon Nov 19, 2012 5:08 pm

Getting this problem as well. Running EventGhost 0.4.1.r1582 on Windows 7 Pro 64bit. Does anyone have a working MCE blaster at the moment? Or a workaround.
TritonT
 
Posts: 1
Joined: Thu Nov 15, 2012 10:14 am

Re: EventGhost crashes learning remote code from MCE receive

Postby r33s2 » Mon Nov 26, 2012 8:17 pm

I am using Win7 64bit and EG 0.4.1.r1582 and I have the same problem learning all remotes. I have success on the first learn and then crash there after. I can sometimes learn a second code if I wait 10 minutes or so (in the same session) and if I wait the same time and reopen EG, but not always. I suspect it is a windows code looping until it fixes itself but I don't know how to monitor such activity, any suggestions Admin?
r33s2
 
Posts: 4
Joined: Fri Sep 07, 2012 9:03 am

Re: EventGhost crashes learning remote code from MCE receive

Postby BDHtP » Wed Mar 20, 2013 8:56 am

I got the same Problem here.
Specs: Win7 64bit + EventGhost 0.4.1.r1610 + Microsoft MCE V2
It gets the Code, then after a second it crashes.

I made a dirty workaround for now, since i haven't found a solution.
It simply saves the Code in an external file named Code.txt in a Path of your choice (user must have write privileges in said path).

WORKAROUND:
1.go to ..\EventGhost\plugins\MceRemote_Vista
2.edit __init__.py
3.search for "return code"
4.paste above "return code" the following code:
2 Options A) Code gets attached if there is something in Code.txt followed by a line feed.
#BDHtP
pfad = "C:\Users\USERX\Downloads/" # CHANGE PATH!!
dateiname="Code.txt"
datei = pfad+dateiname
out_file = open(datei,"a")
out_file.write(code + '\n')
out_file.close()
#BDHtP

B) Old Code in Code.txt gets overwritten with new Code (faster since you open Code.txt, Ctrl+A,Ctrl+C,Alt+F4, Paste to Eventghost):
#BDHtP
pfad = "C:\Users\USERX\Downloads/" # CHANGE PATH!!
dateiname="Code.txt"
datei = pfad+dateiname
out_file = open(datei,"w")
out_file.write(code)
out_file.close()
#BDHtP

5.it should look like this:
...
self.learnDialog = None
self.freqs = [0]
self.result = []
#BDHtP
pfad = "C:\Users\USERX\Downloads/" # CHANGE PATH!!
dateiname="Code.txt"
datei = pfad+dateiname
out_file = open(datei,"a")
out_file.write(code + '\n')
out_file.close()
#BDHtP
return code
...

6.Save the file and overwrite __init__.py (make backup for safety)

Now the
1.Start Eventghost
2.Learn ir in Eventghost, eventghost crashes.
3.go to the folder you defined, there should be a Code.txt
4.open, copy your Code.
5.open eventghost, make a transmit job, paste Code, OK, Save.
Done! Repeat after 2.
BDHtP
 
Posts: 2
Joined: Wed Mar 20, 2013 8:20 am

Re: EventGhost crashes learning remote code from MCE receive

Postby BDHtP » Fri Mar 22, 2013 5:02 am

Ok, I've experimented a little bit and got a new workaround, which is working like a charm.
My HTPC: Win7x64, EventGhost 0.4.1.r1610 + winlirc-0.9.0e

I can now learn every command from every remote i have + Transmit every learnt Command.
I simply use Winlirc to communicate with my MCE Receiver+Blaster.
The Winlirc page has many remotes already scanned and its pretty easy to make own remote profiles.
I start winlirc at login via Taskstartup as an administrator with full priviliges and use the lirc plugin in eventghost.
Works perfect.
BDHtP
 
Posts: 2
Joined: Wed Mar 20, 2013 8:20 am

Re: EventGhost crashes learning remote code from MCE receive

Postby Sem;colon » Mon May 20, 2013 6:33 pm

Hi everyone,

I found out a different workaround:
WORKAROUND:
1.go to ..\EventGhost\plugins\MceRemote_Vista
2.edit __init__.py
3.comment out line 176 - 178 (make "#" in front of the lines)
4.save the file.

works perfect for me!
Sem;colon
 
Posts: 26
Joined: Sat Feb 18, 2012 10:51 am


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 2 guests