From: Ype K. <yk...@xs...> - 2001-12-16 10:32:04
|
Steve, >I get these a lot: > > Traceback (innermost last): > (no code object) at line 0 > TypeError: remove() not enough arguments; expected 2 got 1 > >I really wish I could get a full stack trace, since this >gives me *no* information about where the problem lies. The problem is what is says: there is an invocation or remove() with one instead of two arguments. The "(no code object) at line 0" seems to indicate that you are generating some code. Are you using exec or execfile() or eval()? Somehow jython is not able to generate (or use) the code needed for execution (all code is first compiled to java byte codes and then executed.) Could you indicate what kind of change triggered your problem, eg. - did you change some code, or - did you install another version of jython? >Ideas? I can only guess, I need some more info. Regards, Ype |