Debugger and pygame problem

2004-11-23
2013-03-15
  • Jindrich Sarson

    Jindrich Sarson - 2004-11-23

    Hi,

    I tried to use debug with my pygame project. First I solved problem with paths, desribed earlier in this forum (setting PYTHONPATH). After that it seems, it will work, but there is another problem - when I try to init pygame screen, debugger returns this err:

    File "/home/sarsonj/workspace/housenka/simpleui/App.py", line 15, in __init__
        self.screen = pygame.display.set_mode(size, HWSURFACE)#| FULLSCREEN)
    pygame.error: Unable to open a console terminal

    Sure it works in normal run mode.

    Thank you for your help and thank you for PyDev, it realy helps me.

    Jindra Sarson

     
    • Anonymous - 2004-11-24

      Under debugger you are running inside Eclipse's console. Whatever library is providing you display.set_mode probably cannot give you the fullscreen you want.

      Aleks

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks