NO. Running web2py as root is a very bad idea. Your problem does not look like a web2py problem but, assuming it is, it is possible that you run it as root (not good) and not you are running as a user (good) but you do not have permissions to read the files web2py created (for example the apps).
Massimo On Jul 27, 2:00 pm, rb <[email protected]> wrote: > Arghhhhhhhhhhh.... > > I have been using eclipse (successfully up til now) to run the web2py > svr (ubuntu 9.04 desktop) on a lan address of 192.168.0.155, > connecting to a winXP client, also on the LAN. This allowed me to > single step through my controller code and it was working... > beautifully... I think now, in retrospect. > > Something happened. Eclipse will no longer work. I cannot even load up > eclipse - it just hangs. I've deinstalled everything related to > eclipse and deleted the associated directories and done a complete re- > install. Nope it's all broke. > > Okayyyyyyyyyyy... how about Winpdb? Ugh... slog through the docs and > figure out how to use it. Hey, not too bad... this should do... > except... I cannot run Web2py as a non-root user (probably something > to do with accessing sockets or something) and winpdb will work except > when I run it as root. Example: > > > sudo winpdb -r web2py.py -i 192.168.0.155 -p 8080 -v -a "<recycle>" & > > Then I get: > > [1] 12988 > :~/workspace/rnapossvr/src$ /var/lib/python-support/python2.6/rpdb2.py: > 314: DeprecationWarning: the sets module is deprecated > import sets > /var/lib/python-support/python2.6/rpdb2.py:319: DeprecationWarning: > The popen2 module is deprecated. Use the subprocess module. > import popen2 > Failed to contact the GConf daemon; exiting. > > QUESTION: does Web2py HAVE to be run as root? (Note I am NOT running > it on localhost because my client is another machine). > > I've tried every !...@#$ thing I can think of to get a debugger to work. > No joy. I need to get this bugger to work. > > ....excuse me... I have to go scream in the other room for a while. > > --- > Heeeeeeeeeeeeeeeelp!!!!!!!!! > > PS. A better question would be: what do you use to debug web2py? I've > introduced some kind of bug and all I get from my xmlrpc calls is a > "400 BAD REQUEST" back from the svr. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

