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.

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

Found a bug in EventGhost? Report it here.
Post Reply
SurFan
Plugin Developer
Posts: 7
Joined: Fri Jul 14, 2006 8:08 am

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

Post 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
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

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

Post by Bitmonster »

Moved topic to bug reports, as this is really a EG bug.

It should be fixed in 0.3.6.1325.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Post Reply