I get exactly the same error using pdb to debug the app - so it is not
anything to do with Wing

Regards,
Tim

On Jan 30, 2:17 pm, picoplex <[email protected]> wrote:
> I have been very happily developing a TG app using TG1.1 b1 & then 1b2
> on windows and ubuntu and have just rebuilt it on another box running
> fedora and at the same time upgraded TG  to 1.1b3.
>
> Much to my dismay however, on starting the debugging the program in
> wing I now get:
>
>   python: Objects/codeobject.c:546: PyCode_CheckLineNumber: Assertion
> `line > 0' failed.
>
> after loading (?all) the modules.
>
> Since the app has not started running properly yet there is no other
> output.
>
> The app runs fine outside wing (from the command line) however.
>
> Has anyone any ideas why this might be happening now?
>
> (I saw someone else had a similar problem before and posted the
> details, but noone replied to him)
>
> Regards,
>
> Tim
>
> =================================================================
> PS
> =================================================================
>
> Incidentally wing has always generated a warning on starting debugging
> turbogears apps complaining about the call "sys.settrace(tracer)" in
> DecoratorTools when imported by turbogears.
>
> This can safely be ignored however and has never caused a problem.(see
> trace below)
>
> -----------------------------------------------------------------------------------------------------------------------------------
> RuntimeError: WARNING: sys.settrace(<function tracer at 0x94e856c>)
> called:  This breaks some debugger functionality.  Use 'Ignore this
> exception location' in the Exceptions tool and restart debugging to
> suppress this warning
> -----------------------------------------------------------------------------------------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to