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.

USB-UIRT plugin generates errors when options saved

If you have a question or need help, this is the place to be.
Post Reply
glorp
Posts: 2
Joined: Sat Mar 20, 2010 5:36 pm

USB-UIRT plugin generates errors when options saved

Post by glorp »

I have two similar HTPCs. Different hardware but both use a USB-UIRT and EventGhost (v.1436). One of the machines is Vista x86. The other is Win7 x64. Both are using the same version of USB-UIRT drivers (although x86 vs. x64).

The Win7 x64 machine is new, only a few days old. I installed the USB-UIRT and EG and then used the xml from the x86 machine as a starting configuration template and from there made a few machine-specific tweaks. Not sure that matters but I mention it just in case since the initial config for the x64 machine came from the x86 one. So the problem:

Everytime I open the USB-UIRT plugin in EG on the new x64 HTPC and then change and save any option I get EG errors. Specifically:

Code: Select all

10:13:56 AM   Error starting plugin: USB-UIRT
10:13:56 AM   Traceback (most recent call last) (1436):
10:13:56 AM     File "C:\Apps\AV Programs\EventGhost\eg\Classes\PluginInfo.py", line 362, in Stop
10:13:56 AM     File "C:\Apps\AV Programs\EventGhost\plugins\USB-UIRT\__init__.py", line 241, in __stop__
10:13:56 AM     File "C:\Apps\AV Programs\EventGhost\plugins\USB-UIRT\__init__.py", line 296, in SetConfig
10:13:56 AM   AttributeError: 'NoneType' object has no attribute 'UUIRTSetUUIRTConfig'
The error doesn't seem to actually affect anything as EG saves the option, changes it and then continues to work. However, this error is also sometimes thrown when I use EG to force the x64 machine into Sleep (S3). Then that crashes EG and when it resumes from sleep the remote won't function until I close and reload EG. Other than that, EG has not generated any errors at any other time.

What's going on?
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: USB-UIRT plugin generates errors when options saved

Post by stottle »

My guess is that the folder location is different on the X64 machine. I think there is some 32-bit wrapping going on, given EG is a 32-bit application. I think you can fix everything if you delete the USB-UIRT from the copied xml config, then add the USB-UIRT plugin on the new machine. I think that will fix everything. I've run USB-UIRT without problem on X86 Win7.

Brett
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: USB-UIRT plugin generates errors when options saved

Post by Bartman »

I have used the same config on WinXP x86 and Win 7 x64 for some time before switching entirely to Win7.
I have seen an error with UUIRTSetUUIRTConfig (don't know if it was exactly the same error) when the USB-UIRT was gone somehow after resuming from standby.
glorp
Posts: 2
Joined: Sat Mar 20, 2010 5:36 pm

Re: USB-UIRT plugin generates errors when options saved

Post by glorp »

stottle wrote:My guess is that the folder location is different on the X64 machine. I think there is some 32-bit wrapping going on, given EG is a 32-bit application. I think you can fix everything if you delete the USB-UIRT from the copied xml config, then add the USB-UIRT plugin on the new machine. I think that will fix everything. I've run USB-UIRT without problem on X86 Win7.
I tried deleting the plug in, saving the xml, stopping/restarting EG, re-adding the plug in. It generates the same error. Checked the xml for any path string errors. No joy. FWIW, the directory structures for the EG app and all the support apps it calls are identical on the two machines.
Bartman wrote:I have used the same config on WinXP x86 and Win 7 x64 for some time before switching entirely to Win7.
I have seen an error with UUIRTSetUUIRTConfig (don't know if it was exactly the same error) when the USB-UIRT was gone somehow after resuming from standby.
Yes, it is the same error whether it is generated from a resume from standby or by trying to set a plugin option from the GUI. It comes from a different sub calling chain and different events that start it, but the last error is always:

Code: Select all

File "C:\Apps\AV Programs\EventGhost\plugins\USB-UIRT\__init__.py", line 296, in SetConfig
AttributeError: 'NoneType' object has no attribute 'UUIRTSetUUIRTConfig'
So who can debug line 296 of the plugin?
Post Reply