Ok, forget that stuff. I needed to capture the error at a later iteration through the code. Here's the pdb stuff at the right point:
(Pdb) print repr(subclass_init) <unbound method shadowClass._init_subclass> (Pdb) print repr(shadowClass._init_subclass) <unbound method shadowClass._init_subclass> (Pdb) shadowClass._init_subclass(**subclassArgs) *** TypeError: unbound method _init_subclass() must be called with shadowClass instance as first argument (got nothing instead) I'm going back and trying to figure out what the code is specifically trying to do at that time... On Mon, Sep 15, 2008 at 7:38 PM, Rob Kirkpatrick < [EMAIL PROTECTED]> wrote: > Hi Chris, > > Sorry it took so long to get this. Here's the info you asked for: > > (Pdb) print repr(subclass_init) > <bound method type.init_row_subclass of <class > 'pygr.classutil.shadowClass'>> > (Pdb) print repr(shadowClass._init_subclass) > <bound method type.init_row_subclass of <class > 'pygr.classutil.shadowClass'>> > (Pdb) shadowClass._init_subclass(**subclassArgs) > (Pdb) > > > On Tue, Sep 9, 2008 at 1:22 PM, Christopher Lee <[EMAIL PROTECTED]>wrote: > >> >> >> On Sep 9, 2008, at 1:14 PM, Rob Kirkpatrick wrote: >> >> > AFAIK this is only on my machine. I'll do some cleanup and see if I >> > can get things to go more smoothly. I only asked about the >> > indentation because most of that code is pretty greek to me and I >> > needed a starting point to understand the error. I'll look at it >> > again with your explanation and see if can grok it a bit more. >> >> Hmm, sounds like something weird is going on that may be specific to >> your install or computer? You might try firing up the Python debugger >> (pdb) on this error, and printing out the following: >> >> print repr(subclass_init) >> print repr(shadowClass._init_subclass) >> shadowClass._init_subclass(**subclassArgs) >> >> and let me know what you get... >> >> -- Chris >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pygr-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pygr-dev?hl=en -~----------~----~----~----~------~----~------~--~---
