stderr/stdout msgs in sugar

Mike C. Fletcher mcfletch at vrplumber.com
Tue Oct 9 11:16:28 EDT 2007


Victor Lazzarini wrote:
> Hello everyone,
>
> when debugging an activity how does one get stderr/stdout
> messages from Python in sugar. It is quite hard to debug blindly, not
> knowing what errors Python is spewing out.
>   
Start your activity from a developer's console (ALT-=) using:

    sugar-activity YourActivityName

and the console should be treated as stdin/out/err for your activity.

http://wiki.laptop.org/go/Developers#How_do_I_test_a_Sugar_activity.3F

HTH,
Mike

-- 
________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com




More information about the Devel mailing list