On 16 Jan 2003 11:47:20 -0200 Johan Dahlin <[EMAIL PROTECTED]> wrote: > Looking on the output of atk.c it looks like the error is in the > following part of the code, codegen/codegen.py line 665 > > # This is working well > bymod = {} > for module, pyname, cname in imports: > bymod.setdefault(module, []).append((pyname, cname)) > fp.write(' PyObject *module;\n\n') > > # Here it stops > for module in bymod: > fp.write(' if ((module = PyImport_ImportModule(....) > fp.write(' PyObject *moddict = PyModul....) > > > It might be due to a bogus import statement of some kind. > > Could you try to add a debug output and print out bmod just before that. > And modify setup.py to print out the argument send to the codegenerator? > (add a print s on line 225 in setup.py)
The codegenerator is not run: The function self.check_dates() from Template.generate() returns 1 so Template.generate() returns without running codegen.py. _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/