Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
EventGhost crashes learning remote code from MCE receiver
-
Meat_PoPsiclez
- Posts: 1
- Joined: Thu Dec 01, 2011 12:01 am
EventGhost crashes learning remote code from MCE receiver
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.
Re: EventGhost crashes learning remote code from MCE receive
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.
I'm using Lenovo MCE remote. looks like an OEM branded device.
Re: EventGhost crashes learning remote code from MCE receive
I too was getting crashes when learning codes, but using USB-UIRT, a few days ago.
Re: EventGhost crashes learning remote code from MCE receive
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.
Re: EventGhost crashes learning remote code from MCE receive
Same problem here, Win 7 x64 Pro, EventGhost 0.4.1.r1572.
Re: EventGhost crashes learning remote code from MCE receive
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.
EventGhost crashes when the ir code is received, and the learn dialog is dismissed.
Re: EventGhost crashes learning remote code from MCE receive
Any fix for this yet? I have the same problem.
Re: EventGhost crashes learning remote code from MCE receive
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.
Re: EventGhost crashes learning remote code from MCE receive
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?
Re: EventGhost crashes learning remote code from MCE receive
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.
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.
Re: EventGhost crashes learning remote code from MCE receive
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.
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.
Re: EventGhost crashes learning remote code from MCE receive
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!
I attached a file in which I already changed it.
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!
I attached a file in which I already changed it.
- Attachments
-
- __init__.py
- (22.74 KiB) Downloaded 351 times
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: EventGhost crashes learning remote code from MCE receive
I looked at your fix and I think it could be done better:
Please - try to use instead of the original:
If it works, I incorporate it into the next build.
Thanks, Pako
Please - try to use
Code: Select all
wx.CallAfter(
self.carrierFreqCtrl.SetLabel,
"%d.%03d kHz" % (median_freq / 1000, median_freq % 1000)
)Code: Select all
self.carrierFreqCtrl.SetLabel(
"%d.%03d kHz" % (median_freq / 1000, median_freq % 1000)
)Thanks, Pako
Re: EventGhost crashes learning remote code from MCE receive
Hi Pako,
No, it works better, but still kills EG from time to time...
(I still don't know what the intention for this function was, I think there's no problem in leaving it out)
No, it works better, but still kills EG from time to time...
(I still don't know what the intention for this function was, I think there's no problem in leaving it out)
