Hi there. I'm developing a wxPython thick client app coupled to web2py
via xmlrpc. I've put the web2py svr on my hp Ubuntu 9.04 laptop and it
also runs virtualbox with a winXP guest OS, within which I run my
thick client. I put the virtualbox into bridge mode so that client and
svr are on the same lan, although my client references the svr via
dyndns and not by ip.

Until yesterday (or the day before?) I have been running the svr in
eclipse in debug mode so that I can single step through my controller
code. When the client (wxPython code debugging in eclipse in windows)
makes the xmlrpc call the svr eclipse would pop up and I could step
through the controller code. And then it all stopped working. I have
no idea why. My guess is that my "stupid errors" ( a special class of
errors, don't you know ;-) have accumulated enough to put the wrench
into the mix. I have since learned that eclipse, aside from just being
your regular, run of the mill, el-pig-o java app, is quite nasty when
it breaks, and according to the google groups I splunked through, it
breaks quite often.

Eric is a very nice looking IDE. SPE is a wxPython based IDE and it
has a two-tier scheme where they try to bother you into "upgrading" to
the paid version. I haven't looked it over too closely but it looks
serviceable. I asked here before about a debugger and was put onto
Winpdb. Despite the name, it bares no kinship to Windows OS, and will
work with SPE (and I *think* even eric). Someone here mentioned that
'geany' was a good, small/tight, IDE and I briefly looked at it. At
this time I had not looked at Winpdb so I was resisting learning it
and trying (desperately) to get eclipse working again (at least I knew
how to use its debugger). Alas, I have had to do much uninstalling,
deleting, rebooting, and reinstalling and I've taken the effort to
learn some of Winpdb so I think I will switch from eclipse to SPE and
Winpdb, *after* I can figure out this bizarre password thing it does -
apparently you must decorate your code with a password and then Winpdb
can find it. I haven't gotten it to work yet. I _have_ managed to get
eclipse to load and run again, but the debugger will *not* stop in my
controller. Sigh. I've borked it good with my special errors (see
"stupid" errors above).

Oh, to run the web2py in the debugger I am, of course, running the
source code version (not the pre-compiled windows offering).

Web2py has a builtin web-editor that you can use to edit you svr code.
Take note of the wee icons on top of the page and learn them - they
hold valuable treasure. Use the "database administration" link at the
very top of the admin page to look at your database tables - this will
complain if your model python code is ill-formed - it's a nice quick,
very handy/friendly facility. Dunno if there's anything for testing
the controllers.

They sell a programmer's guide (the pdf is much less expensive than
the dead-tree version) and I highly recommend you get it. There is a
new version about to come out so wait for that but *definitely* get
the book.

What else?

--
Rb



On Jul 27, 8:59 pm, Randell <josephrandell.benavi...@gmail.com> wrote:
> Hi guys,
>
> How do you setup your web2py development environment? Of course, we all know
> that we don't need complicated setup to develop web2py since it has its own
> coding area.  But I'm sure some of us use our favorite IDEs and plugins to
> make development easier and faster.
>
>    - What OSes do you use? (which flavor of Linux, which Windows version,
>    does anybody here use a Mac?) And why?
>    - What IDEs? What benefits do you get from using Eclipse or other IDEs?
>    Feel free to enumerate everything.
>    - What plugins do you use? I think there's also a plugin that allows you
>    to deploy your web2py projects directly from Eclipse.
>    - What tools do you use to deploy your web2py projects?
>    - Where else do you deploy your web2py project aside from GAE? (I'm
>    asking this for those web2py projects you've actually deployed in a live
>    site)
>
> I'm asking about all those tools you need from starting a web2py project up
> to deployment to GAE (or somewhere else).  If you're also integrating your
> web2py projects with Facebook, please include that as well.
>
> Would be awesome if Massimo can answer these questions as well.
>
> Thanks!
> --http://randell.ph/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to