This use to be required so that python-only state was not passed into
C++ but I don't believe it is actually used anymore. You can safely
ignore the message.
Tried this and it worked like a charm. I did see an error message in
the log:
00042|pyrt|ERR:Pyevent without internal python_arg set
So I changed my event posting to:
self.post(FlowOutEvent("flowoutevent", 1))
Which solved it. I took a look at the source but couldn't reason out
what the python_arg is used for?
Thanks,
David
Martin Casado wrote:
Actually looking at the code, this should already be supported.
Try registering with "register_python_event(name)". See with context.i.
This registers the default python converter and should allow you to
create and post python only events without writing any c++.
.martin
Hi David
I'm also interested in getting python-only events working. Were you
able to get past this issue?
Thanks,
Brandon
On Wed, Dec 16, 2009 at 8:08 PM, David Erickson
<deric...@stanford.edu <mailto:deric...@stanford.edu>> wrote:
Martin Casado wrote:
I don't see where you are setting the name of the event you're
posting.
That could be important ;) Changed the code to be
self.post(FlowOutEvent("flowoutevent")), now I get the following:
00041|flowinstaller|ERR:flowoutevent posted
00042|pyrt|ERR:flowoutevent has no C++ to Python event converter.
-David
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org <mailto:nox-dev@noxrepo.org>
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org