Hello,

I am trying to write a couple macros and actions on MM 1.7 and would like to
enable tracebacks to see how badly I screw up. So I uncommented the
following line in my moin.fcgi but I don't seem to get tracebacks whenever
my macro breaks and raises an exception.
----
os.environ['MOIN_DEBUG'] = '1'
----

I've also explicitly enabled "show_traceback" in my wikiconfig.py.

As an example, I've written a macro that will always raise an exception:
----
elysium /var/www/wikitest.quadco.net/data/plugin/macro $ cat BrokenMacro.py
def macro_BrokenMacro(macro):
    raise Exception("foo")
----

See http://wikitest.quadco.net/BrokenMacro for an example. I would expect to
see some sort of traceback of "Exception: foo".

If it matters, I'm running lighttpd 1.5.18.

Thanks,
-Jason

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to