[Pythonmac-SIG] Python dieing outside project builder

Alexandre Parenteau alexp@strata.com
Thu, 13 Jun 2002 16:27:59 -0700


> if (!VBALLOW_PYTHON)
>  printf("autoexec didn't execute!\n");

Why don't you try:

 if (!VBALLOW_PYTHON)
  PyErr_Print();

It might at least give you a diagnostic, but you need to run it from a shell
in order to see the output since PyErr_Print() is using sys.stderr, which at
initialization time is set up to use stderr.

Alex.