On Wed, Nov 16, 2011 at 19:12, Peter Lunden <[email protected]> wrote: > Trying to run the following code, crashes at the print line, it prints 'txt' > then it dies.
Hi, could you please attach a backtrace? Saying it dies tells very little. http://wiki.debian.org/HowToGetABacktrace#Running_gdb Thanks, Tomeu > Seams to be a problem with the value returned by the > get_cogl_texture code. I have tried to use gtxt i different ways in Cogl > with the same result. > > Is this a bug or do I misunderstand something? > > > def main(): > > ICON_DIR='/home/plu/workspace/sss/data/images' > > Clutter.init(debugArgs) > stage = Clutter.Stage() > > txt= Clutter.Texture() > > txt.set_from_file(ICON_DIR+'/'+'human.svg') > txt.set_size(128,128) > stage.add_actor(txt) > stage.show_all() > > gtxt=txt.get_cogl_texture() > print 'txt', gtxt > > Clutter.main() > > sys.exit(main()) > > Thank in advance. > > Regards, > Peter Lundén > > -- > Peter Lundén > Interactive Institute, Sonic Studio > Box 1197, SE-164 26 Kista, Sweden > Phone: +46 70 778 17 22 > www.tii.se/sonic > > _______________________________________________ > clutter-app-devel-list mailing list > [email protected] > http://lists.clutter-project.org/listinfo/clutter-app-devel-list > _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
