PyScripter and WxPython debug session

Reply

Join Date: Mar 2007
Posts: 12
Reputation: davidjhay is an unknown quantity at this point 
Solved Threads: 5
davidjhay davidjhay is offline Offline
Newbie Poster

PyScripter and WxPython debug session

 
0
  #1
Sep 5th, 2007
I am working with PyScripter and WxPython. When I mess up a part of the WxPython code it will run and stop to tell me the error but the debug session will continue. I have to restart PyScripter each time. What am I doing wrong? (apart from not putting the correct code in the first place)
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,003
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 928
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: PyScripter and WxPython debug session

 
0
  #2
Sep 5th, 2007
Which version of PyScripter are you using?

I have run into problems with wxPython code with earlier versions of PyScripter. Presently I am using the latest update (version 1.9.1.0). Pyscripter is still in beta mode, but seems to improve with every update. Get the latest update using Tools/Check Updates.

Look under Tools/Configure Tools and find your Python interpreter, if its on the list click on modify and check the Capture Output and Parse Traceback options.

Another thing I noticed is to save your wxPython files with the .pyw extension to invoke Pythonw.exe, it seems to behave better with PyScripter and GUI programs. Probably due to the two above options being checked for the Pythonw.exe interpreter.

I use DrPython for most of my wxPython programs, it is much more stable when it comes to errors with wxPython code. But I really like PyScripter for some of its features.
Last edited by vegaseat; Sep 5th, 2007 at 8:25 pm. Reason: spelling
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 12
Reputation: davidjhay is an unknown quantity at this point 
Solved Threads: 5
davidjhay davidjhay is offline Offline
Newbie Poster

Re: PyScripter and WxPython debug session

 
0
  #3
Sep 7th, 2007
Thanks for info. I have the latest version. When I tried loading the file as .pyw and that is when I noticed that I do not have my PyScripter configured properly for WxPython. I am will try and configure it or maybe reinstall. Thanks for the help...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC