Page 1 of 1

[FIXED] Python Cmd: "TypeError: default __new__ ...

Posted: Mon Mar 17, 2008 7:44 pm
by SurFan
Hi,

I'm trying to set registry values via a python command (I cannot use the built in action, as I need to use payload Data from the signaling event in the real world). The command

Code: Select all

eg.plugins.System.RegistryChange(2147483649L, u'Software\VirtuaMedia\ZoomPlayer', u'OPDVDPath', 0, 0, u'123456')
worked at least until build 1242. The latest version results in error messages in the log:

Code: Select all

eg.plugins.System.RegistryChange(2147483649L, u'Software\VirtuaMedia\ZoomPlayer', u'OPDVDPath', 0, 0, u'123456')
Fehler in Befehl: "eg.plugins.System.RegistryChange(2147483649L, u'Software\VirtuaMedia\ZoomPlayer', u'OPDVDPath', 0, 0, u'123456')"
Traceback (most recent call last) (1323):
  File "e:\Programme\EventGhost\eg\Classes\ActionClass.py", line 155, in CallWrapper
  File "e:\Programme\EventGhost\plugins\EventGhost\__init__.py", line 83, in __call__
  File "<string>", line 1, in <module>
TypeError: default __new__ takes no parameters
What's wrong?

Ralph

Re: [FIXED] Python Cmd: "TypeError: default __new__ ...

Posted: Mon Mar 17, 2008 8:46 pm
by Bitmonster
Moved topic to bug reports, as this is really a EG bug.

It should be fixed in 0.3.6.1325.