[web2py:27490] Re: A call for resumés...

2009-07-28 Thread Alexey Nezhdanov
Hello. My resume is attached. Usually I work mostly on backend software, not websites, but for last 3-6 months I gradually shift to web development. Currently I work on a web2py project for transport company startup. Already implemented features include: * Registration (custom, not web2py) * City

[web2py:27491] Re: Web2py development at a standstill

2009-07-28 Thread rb
I was trying to see if limiting to 1 thread would make the debugger work and stop in my controller code (like it used to). Nope. No joy. I've really borked this up. As always, it's the thing you _don't_ check that an be the problem. I have scoured over my client and svr code and I can't find *any

[web2py:27492] Re: Web2py development at a standstill - there is joy in Mudville!

2009-07-28 Thread rb
Well, everything works again, and my "special" error was not in the svr model/controller code nor in the client. I had put my virtual client into NAT networking mode, while I was trying to debug why my Mac VirtualBox upgrade was hosed. Putting my xmlrpc-client vitual machine back into bridge mode

[web2py:27493] Re: web2py development and deployment

2009-07-28 Thread Fran
On Jul 28, 4:59 am, Randell wrote: >    - What OSes do you use? (which flavor of Linux, which Windows version, >    does anybody here use a Mac?) And why? Windows XP laptop as this is what I expect my primary audience to run Ubuntu server as I hate Windows ;) >    - What IDEs? What benefits do

[web2py:27495] Re: web2py development and deployment

2009-07-28 Thread DenesL
On Jul 28, 12:46 am, rb wrote: > 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.

[web2py:27494] How to add newly registered users to Groups

2009-07-28 Thread Carl
hi, I have created MyAuth(Auth) I have override the method register() with if self.environment.response.mode == 'buyer': onaccept = registerBuyer return super(EnvoyAuth, self).register(next, onvalidation, onaccept, log) when users have been successfully register, my own registerBuyer is ca

[web2py:27496] Re: interesting :)

2009-07-28 Thread Alexei Vinidiktov
On Mon, Jul 27, 2009 at 5:00 PM, Anand Vaidya wrote: > > > > On Jul 27, 7:49 am, Oleg wrote: >> 1) moonlight will do the same job on other platforms (as soon as it >> will be completed :)) > > No, it does not. I have FF plus moonlight plugin - and the app fails > with an error that SL>2 is needed

[web2py:27497] Re: problem with web2py changing default application from init to welcome while it's running?

2009-07-28 Thread David Watson
Thanks for all the responses. I'm not doing os.chdir in my code. What happens is this: I launch from an ssh session to my ubuntu 9.04 server machine: sudo nohup python web2py.py -p 80 -i 192.168.1.40 -a whatever & I hit port 80 in the browser and get /init/default/index. I then exit the ssh

[web2py:27498] Re: web2py development and deployment

2009-07-28 Thread JohnMc
- What OSes do you use? (which flavor of Linux, which Windows version, does anybody here use a Mac?) And why? Primary Linux XFCE Ubuntu 8.04.2 LTS, Centos. I am a cheap SOB and hate paying the Microsoft tax. - What IDEs? What benefits do you get from using Eclipse or other IDEs? Feel

[web2py:27499] Re: problem with web2py changing default application from init to welcome while it's running?

2009-07-28 Thread David Watson
Also, there's only one web2py process as yarko had asked. On Jul 28, 10:07 am, David Watson wrote: > Thanks for all the responses. > > I'm not doing os.chdir in my code. > > What happens is this: > > I launch from an ssh session to my ubuntu 9.04 server machine: > > sudo nohup python web2py.py -

[web2py:27500] Multiple web2py services

2009-07-28 Thread weheh
Couldn't find this in any discussions. I have web2py running as a service for my main app, which generates some input for a background queue. A second app runs the background queue-ing function, which is CPU intensive but never talks to the outside world. It only serves the main app. Do I need to

[web2py:27501] Major impairment - Web2py group searches limited

2009-07-28 Thread vihang
Hi, I have noticed something since the group name was changed... the search results are limited to posts of last month or so. Is anyone facing this problem or its an issue with google servers in my side of the planet? Vihang --~--~-~--~~~---~--~~ You received this

[web2py:27502] silly question: embedding flash files in views

2009-07-28 Thread carlo
After several tries I have to ask: are any particular issues with embedding flash objects in views? I put the usual in my view: {{url=URL(r=request,c='static',f='somefilename.swf)}} what's bad here? Thank you carlo --~--~-~--~~~---~--~~ You received this mes

[web2py:27503] Re: Major impairment - Web2py group searches limited

2009-07-28 Thread JohnMc
Interesting observation as I am getting it too. Though I do note that I can get older threads from ones that I save that were of interest. So the data is there in the Groups. On Jul 28, 9:58 am, vihang wrote: > Hi, > > I have noticed something since the group name was changed... the > search res

[web2py:27504] Re: Major impairment - Web2py group searches limited

2009-07-28 Thread Fran
On Jul 28, 3:58 pm, vihang wrote: > I have noticed something since the group name was changed... the > search results are limited to posts of last month or so. Is anyone > facing this problem or its an issue with google servers in my side of > the planet? Ah, that explains why my searches weren'

[web2py:27505] Re: Multiple web2py services

2009-07-28 Thread Fran
On Jul 28, 3:57 pm, weheh wrote: > Couldn't find this in any discussions. I have web2py running as a > service for my main app, which generates some input for a background > queue. A second app runs the background queue-ing function, which is > CPU intensive but never talks to the outside world.

[web2py:27506] Re: How to add newly registered users to Groups

2009-07-28 Thread Fran
On Jul 28, 1:43 pm, Carl wrote: > I have created MyAuth(Auth) You mean EnvoyAuth(Auth) ? > I have override the method register() with > if self.environment.response.mode == 'buyer': >     onaccept = registerBuyer > return super(EnvoyAuth, self).register(next, onvalidation, onaccept, > log) > wh

[web2py:27507] Re: silly question: embedding flash files in views

2009-07-28 Thread Fran
On Jul 28, 4:48 pm, carlo wrote: > {{url=URL(r=request,c='static',f='somefilename.swf)}} {{url=URL(r=request, c='static', f='somefilename.swf')}} F --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" gro

[web2py:27508] Converting a Django Tutorial to web2py

2009-07-28 Thread __future__
In trying to better wrap my head around the workings of web2py, I am attempting to convert a Django tutorial I used a while back to learn Django into web2py-speak. It is a series of video tutorials that walk one through building a twitter-ish site (Start The Dark). I am already confused about ho

[web2py:27509] Re: silly question: embedding flash files in views

2009-07-28 Thread carlo
no, I mistyped but I have the same : {{url=URL(r=request, c='static', f='somefilename.swf' )}} I can see the the "box" on the html page but no flash player starting. On 28 Lug, 18:38, Fran wrote: > On Jul 28, 4:48 pm, carlo wrote: > > > {{url=URL(r=request,c='static',f='somefilename.swf)}} > >

[web2py:27510] Re: How to add newly registered users to Groups

2009-07-28 Thread Carl
hi Fran thanks! For now your first solution is fab (& simple to boot). [and yes I mean EnvoyAuth not MyAuth - a typo in my post] C On Jul 28, 5:36 pm, Fran wrote: > On Jul 28, 1:43 pm, Carl wrote: > > > I have created MyAuth(Auth) > > You mean EnvoyAuth(Auth) ? > > > > > > > I have overri

[web2py:27511] Re: silly question: embedding flash files in views

2009-07-28 Thread Miguel Lopes
On Tue, Jul 28, 2009 at 4:48 PM, carlo wrote: > > After several tries I have to ask: are any particular issues with > embedding flash objects in views? > > I put the usual in my view: > > {{url=URL(r=request,c='static',f='somefilename.swf)}} > > > > > > > what's bad here? Thank you > carlo I

[web2py:27512] test_rewrite fails

2009-07-28 Thread Jonathan Lundell
When I run test_rewrite in the trunk, I get an error. I must say that it's not all that helpful a message. There's no routes.py in the tree, so I assume that it's using the one from NewOpen(). Am I doing something wrong, or is there a bug? FWIW, the other tests in the directory run fine.

[web2py:27513] Re: Major impairment - Web2py group searches limited

2009-07-28 Thread vihang
exactly... this group is my source of advance documentation On Jul 28, 8:25 pm, Fran wrote: > On Jul 28, 3:58 pm, vihang wrote: > > > I have noticed something since the group name was changed... the > > search results are limited to posts of last month or so. Is anyone > > facing this problem o

[web2py:27514] Re: Multiple web2py services

2009-07-28 Thread weheh
I suppose to clarify my question I would have to ask: What command-line option do I need to use to get web2py to run as a Windows service and at startup to execute a web2py application. What if I want it to execute a bunch of web2py applications, each of which never terminate? The second case co

[web2py:27515] Re: Multiple web2py services

2009-07-28 Thread Fran
On Jul 28, 7:26 pm, weheh wrote: > What command-line option do I need to use to get web2py to run as a > Windows service and at startup to execute a web2py application. Windows service isn't application-specific...only the interactive Shell is... > What > if I want it to execute a bunch of web2

[web2py:27516] Re: Converting a Django Tutorial to web2py

2009-07-28 Thread Fran
On Jul 28, 5:47 pm, __future__ wrote: > I am already confused about how to implement the Django style many-to- > many relationship in web2py. The Many<>Many support native to Web2Py is the Tagging-style: http://www.vimeo.com/2720410 F --~--~-~--~~~---~--~~ You re

[web2py:27517] Re: Major impairment - Web2py group searches limited

2009-07-28 Thread JohnMc
Not that it is convenient, but one could go here and have a looksee... http://news.gmane.org/gmane.comp.python.web2py It looks to have the complete set searchable. Funny looking at the google archive its all there. JohnMc On Jul 28, 1:25 pm, vihang wrote: > exactly... this group is my source

[web2py:27518] Crud /data/select customization

2009-07-28 Thread Tito Garrido
Is there a way to set the class of /data/select table? Thanks, Tito -- Linux User #387870 . _/_õ|__| ..º[ .-.___.-._| . . . . .__( o)__( o).:___ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[web2py:27519] Re: Converting a Django Tutorial to web2py

2009-07-28 Thread Fran
On Jul 28, 8:42 pm, Fran wrote: > > I am already confused about how to implement the Django style many-to- > > many relationship in web2py. > The Many<>Many support native to Web2Py is the > Tagging-style:http://www.vimeo.com/2720410 I do a full Many<>Many in my application, for which you can b

[web2py:27520] Re: Crud /data/select customization

2009-07-28 Thread Fran
On Jul 28, 9:18 pm, Tito Garrido wrote: > Is there a way to set the class of /data/select table? If you do your own Controller function instead of using the generic data() See this thread: http://groups.google.com/group/web2py/browse_thread/thread/facc2fa9eb80be5f F --~--~-~--~~---

[web2py:27521] Re: Crud /data/select customization

2009-07-28 Thread Tito Garrido
I'm using the generic data... is there a way to set it? Thanks Fran! On Tue, Jul 28, 2009 at 5:26 PM, Fran wrote: > > On Jul 28, 9:18 pm, Tito Garrido wrote: > > Is there a way to set the class of /data/select table? > > If you do your own Controller function instead of using the generic > dat

[web2py:27522] Re: web2py development and deployment

2009-07-28 Thread rb
> To use winpdb you just add > import rpdb2; rpdb2.start_embedded_debugger('any_password') > to your code where you want to start debugging. > Oh. Thankyou. I can just put this code snippet into my controller default.py and winpdb can attach? Lessee... nope. Ok I put this code snippet into web2

[web2py:27523] Re: web2py development and deployment

2009-07-28 Thread Fran
On Jul 28, 10:52 pm, rb wrote: > I'm not crazy about having to modify code in > web2py.py in order to do debugging. I've never used a debugger before > that forced me to modify code. Could you not just have it as a line in your model which you can easily comment-out when going into production?

[web2py:27524] Re: Crud /data/select customization

2009-07-28 Thread Fran
On Jul 28, 9:27 pm, Tito Garrido wrote: > I'm using the generic data... is there a way to set it? If you're happy for the same class for all tables, then: def data(): form = crud() if request.args(0) == 'select': form['_class'] = 'myclass' return dict(form = form) F --~--~--

[web2py:27525] Re: problem with web2py changing default application from init to welcome while it's running?

2009-07-28 Thread Yarko Tymciurak
and you are browsing to http://102.168.1.40, correct? Something is not adding up here - First: why are you doing sudo? (you should not run web2py as root!) Second: what happens if you get to the server locally? (you can do that with ssh & port forwarding - "ssh -L 8080:localhost:8000 remo

[web2py:27526] Re: test_rewrite fails

2009-07-28 Thread mdipierro
I did not write that test and I do not recall what it is supposed to test. I think the problem is with the test, not with web2py. Any idea? On Jul 28, 12:47 pm, Jonathan Lundell wrote: > When I run test_rewrite in the trunk, I get an error. I must say that   > it's not all that helpful a messag

[web2py:27527] Re: Converting a Django Tutorial to web2py

2009-07-28 Thread mdipierro
When you do attendees = models.ManyToManyField(User, through='Attendance') in Django, it does not create any field. It just informs Django of the many to many and Django uses it to build forms. Web2py does not automatically builds forms out of many to many (unless you use Tagging as Fran sug

[web2py:27528] Re: Converting a Django Tutorial to web2py

2009-07-28 Thread Yarko Tymciurak
You should be aware that this "tagging" style is ok, and works - but the way it works may not be the right thing for your application. If you have limited references (say ~20 or so per a "many") then this is simple, efficient, and you can probably manage your many-to-many this way. What this doe

[web2py:27529] Re: web2py development and deployment

2009-07-28 Thread rb
Well it could be put into web2py.py or the model or the controller. However, this has to be maintained when upgrading to the next version of the svr. Thus it becomes a maintainance issue. Oh sure, this isn't the end of the world, but if it weren't for this password thing, I'd think that they could

[web2py:27530] Informix issue where Web2Py creates the necessary table but doesn't know it was created.

2009-07-28 Thread cesmiga
I have an Informix database (testdb) where web2py creates the necessary table but returns the following error from the web UI. I have looked through the code, but haven't been able to locate the exact area of the problem. Would someone point me in the direction of where to specifically look for