Menu

#154 Module execution hangs when 4095 or more chars are output

closed-fixed
None
7
2003-12-29
2003-10-25
Anonymous
No

I have a simple program that parses a file and outputs
the parsed text with print to default out.
When the output exceeds a certain limit no output is
visible in the output tab and the executed program
appears to hang.
When the program is subsequently killed the text output
becomes visible.
The upper limit is 4094. Beyond this, the program hangs.

The effect can be easily observed with this demo:

if __name__=="__main__":
print "x"*4095

will 'hang'. Changing 4095 to 4094 will work.

Discussion

  • Riaan Booysen

    Riaan Booysen - 2003-11-04
    • priority: 5 --> 7
    • assigned_to: nobody --> riaan
     
  • Riaan Booysen

    Riaan Booysen - 2003-11-04

    Logged In: YES
    user_id=438

    Yes, this is a painful new issue introduced when I switched
    over from using popen3 to wxProcess.

    The strangest thing is that I have a working example in
    ProcessProgressDlg.py, but I just cannot get it to work
    properly when running from the IDE :(

    I will keep at this until it's fixed, more feedback hopefully soon.

    Riaan.

     
  • Riaan Booysen

    Riaan Booysen - 2003-12-29

    Logged In: YES
    user_id=438

    Thanks, the fix has been checked into CVS.

     
  • Riaan Booysen

    Riaan Booysen - 2003-12-29
    • status: open --> closed-fixed
     
  • Riaan Booysen

    Riaan Booysen - 2003-12-29

    Logged In: YES
    user_id=438

    Fixed in CVS.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.