-S ... -M is for console interaction w/ web2py... You want to run "normally" in WingIDE...
Create a new project in WingIDE. Add directory, recursive (the web2py source trunk direcotory on your machine); I added my web2py trunk to the Python Path in my project, and set the initial directory to that also. Then in the project explorer, find web2py.py and right-click - set it as the "main debug file" - this will be used to start web2py. Now, I click "debug" and a dialog box with "Run Arguments" comes up; you can set the password from here by adding something like: -a "hello" Everything else you can "use project settings" for. Click OK, and (a little slower than you're used to - watch the bottom of the window for "Debug process running; ..... xxx modules loaded - when it disappears, you should be ready to go to browser). In the DEBUG I/O window (bottom right) you'll have the I/O - with messages from cherrypy; If you did NOT use '-a "hello"' then TK will start, and a browser window will be open as normal; otherwise, you can go to the browser and navigate to http://127.0.0.1:8000 And you're debugging! Hope this helped. Let me know if you have questions. (I can add screenshots if you need) Regards, Yarko On Mon, Nov 17, 2008 at 11:53 AM, Wes James <[EMAIL PROTECTED]> wrote: > > Can someone give me some tips on how to run wingide with web2py? > > I have wingide running on os 10.5. I then set -S app -M in the Source > File/Debug/Run Arguments. > > I set a breakpoint at start(). When I run through it I get a warning > about root:no cache.disk then a System Exit. > > If I have no breakpoint it runs the gui to start things (password, ip, > port tcl/tk app). I guess it's not reading my command line args or > something. > > I ran python web2py.py -S app -M and it ran fine in Terminal. > > any ideas? > > thx, > > -wj > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---