[web2py] Re: we need some good web2py quotes ....

2011-11-05 Thread Gour
On Fri, 4 Nov 2011 16:08:33 -0700 (PDT) Massimo Di Pierro massimo.dipie...@gmail.com wrote: more or less as long as this one: bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla

RE: [web2py] Re: Auth in MongoDB

2011-11-05 Thread Mark Breedveld
Hi Currently MongoDBAdapter in dal can only connect:P But I have four issue with fixes in the issue list which makes currently inserts possible. Next thing I'm going to try is to get select working, but it takes times because I have to get used to DAL and some features of Python. I Jave/C#

[web2py] Re: we need some good web2py quotes ....

2011-11-05 Thread Stefaan Himpe
I went web2py when I realized that what worked five years ago isn’t working today.

[web2py] Re: data from request.vars

2011-11-05 Thread Vineet
http://groups.google.com/group/web2py/browse_thread/thread/5ebfd7f56b139ffb# I use the code shown in that thread for converting a string containing date (retrieved from request.vars) into Python datetime.date HTH -- Vineet On Nov 4, 8:26 pm, Richard Vézina ml.richard.vez...@gmail.com wrote: I

[web2py] Re: error when upgraded to v1.99

2011-11-05 Thread Massimo Di Pierro
The error is here File /web2py/helpdesk/applications/helpdesk/models/ dbowrappers.py, line 226, in create_admin     id = cls.db.user_profile.insert(**data) what's in data? for key in data: print ket, repr(data[key]), type(data[key]) On Nov 4, 11:00 pm, Richard Baron Penman richar...@gmail.com

Re: [web2py] Re: we need some good web2py quotes ....

2011-11-05 Thread joseph simpson
Web2py: Open Source Community Innovation... Focused Architectural Vision.. Excellent Execution... Get All Three On Sat, Nov 5, 2011 at 2:49 AM, Stefaan Himpe stefaan.hi...@gmail.comwrote: I went web2py when I realized that what worked five years ago isn’t working today. -- Joe

[web2py] Re: auth_user represent

2011-11-05 Thread Bianca Cadaveri
May I ask one more question ? web2py will pass the Row object for the record as the dictionary (the Row class inherits from dictionary, so functions as a dictionary in this case) When several rows are returned from a database query, is the result a dictionnary of dictionnaries ? I thank you in

Re: [web2py] Re: auth_user represent

2011-11-05 Thread Bruno Rocha
it is a list of dictionaries. http://zerp.ly/rochacbruno Em 05/11/2011 14:15, Bianca Cadaveri biancacadav...@gmail.com escreveu: May I ask one more question ? web2py will pass the Row object for the record as the dictionary (the Row class inherits from dictionary, so functions as a

[web2py] Re: auth_user represent

2011-11-05 Thread Anthony
On Saturday, November 5, 2011 12:15:02 PM UTC-4, Bianca Cadaveri wrote: May I ask one more question ? web2py will pass the Row object for the record as the dictionary (the Row class inherits from dictionary, so functions as a dictionary in this case) Several rows (i.e., the result of

[web2py] Re: Google App Engine Launcher and Deployment

2011-11-05 Thread Spring
Exactly the same issue here. Do we have any news on this? Spring On Oct 15, 3:05 pm, Simon Ashley gregs...@gmail.com wrote: Just a first time play with this.   (Environment: Python 25, current Web2Py nightly source {copied to the Python25 root} and fresh copy of the Google App Engine

Re: [web2py] Re: Google App Engine Launcher and Deployment

2011-11-05 Thread Jonathan Lundell
On Nov 5, 2011, at 10:33 AM, Spring wrote: Exactly the same issue here. Do we have any news on this? I believe this is fixed in the trunk (note that Simon reported the problem about three weeks ago; the fix was recent). To check whether you have the fix, look at

[web2py] Re: Google App Engine Launcher and Deployment

2011-11-05 Thread Spring
Found it in the Nightly Built source code, but not the stable one. Problem solved. Thanks. On Nov 6, 1:44 am, Jonathan Lundell jlund...@pobox.com wrote: On Nov 5, 2011, at 10:33 AM, Spring wrote: Exactly the same issue here. Do we have any news on this? I believe this is fixed in the trunk

[web2py] GAE Python 2.7 update

2011-11-05 Thread Jonathan Lundell
I thought I'd pass on my recent experience deploying an app to GAE with Python 2.7. My motivation was the new features available, in particular concurrent requests and WSGI operation, and secondarily some other performance improvements (like the native JSON library). See

[web2py] Re: we need some good web2py quotes ....

2011-11-05 Thread lucas
After the fall of Borland and its premier language Delphi, I couldn't find a graceful object-oriented langauge that was also cross-operating system, cross relational/SQL database connective, and web-based, until I found web2py and python. I completely love programming again and haven't been

[web2py] web2py-users image manipulation

2011-11-05 Thread vasanth kumar
Hello! have somebody an example of image manipulation using PIL + web2py ?? i need to create different versions of an image when i upload it (different sizes). thanks a lot! -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group,

[web2py] Blurry text in the web2py editor

2011-11-05 Thread David
Hi, I am trying out web2py for the first time. Looks very interesting. But the first thing I noticed was the the fonts are coming out all blurry in the web2py built-in editor. They look fine when I toggle it to allow editing but otherwise, they are doubled up. See this screenshot.

[web2py] Re: web2py-users image manipulation

2011-11-05 Thread Anthony
See http://www.web2pyslices.com/main/slices/take_slice/62. Also, https://groups.google.com/d/msg/web2py/1saDaaxSiGY/AcqsIpg61FkJ. Anthony On Nov 5, 12:04 pm, vasanth kumar vasanth.online2...@gmail.com wrote: Hello! have somebody an example of image manipulation using PIL + web2py ?? i need

Re: [web2py] Blurry text in the web2py editor

2011-11-05 Thread Ovidio Marinho
Whats you webBrowser? Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com ovidiomari...@itjp.net.br ITJP - itjp.net.br 83 8826 9088 - Oi 83 9334 0266 - Claro Brasil

[web2py] Re: Blurry text in the web2py editor

2011-11-05 Thread David
Safari. Actually after posting, I tried Firefox and it looks fine so it is apparently a Safari issue. I searched this list for Safari and found this thread. So it is a known problem.

[web2py] Re: we need some good web2py quotes ....

2011-11-05 Thread luis diaz
If you do not know what to expect from day to day, from your boss web2py is the Swiss Army knife that will save your life

[web2py] Re: we need some good web2py quotes ....

2011-11-05 Thread TheSweetlink
web2py will inspire the beginner and empower the advanced to rapidly develop robust web applications with Python. Its international community is both helpful and responsive to questions ranging from the most basic to the complicated and advanced. If you value ease of use, security, and rapid

Re: [web2py] Re: error when upgraded to v1.99

2011-11-05 Thread Richard Baron Penman
data = { 'name': users.get_current_user().nickname(), 'user': users.get_current_user(), 'email': users.get_current_user().email(), 'active': True, 'role_worker': True, 'role_facilitator': True,

RE: [web2py] Re: we need some good web2py quotes ....

2011-11-05 Thread Cameron
Give web2py a try - your production will fly. -Original Message- From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of TheSweetlink Sent: Saturday, November 05, 2011 6:53 PM To: web2py-users Subject: [web2py] Re: we need some good web2py quotes web2py will

[web2py] Re: GAE Python 2.7 update

2011-11-05 Thread Massimo Di Pierro
I know I said otherwise before but perhaps we should continue to default to 2.5 until App Launcher supports 2.7 On Nov 5, 1:28 pm, Jonathan Lundell jlund...@pobox.com wrote: I thought I'd pass on my recent experience deploying an app to GAE with Python 2.7. My motivation was the new features

RE: [web2py] Blurry text in the web2py editor

2011-11-05 Thread Cameron
If it helps, I think I have noticed this when I rescale the browser view so css might play a role somewhere. -Original Message- From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of David Sent: Saturday, November 05, 2011 5:07 PM To: web2py-users Subject: [web2py]

Re: [web2py] Blurry text in the web2py editor

2011-11-05 Thread Ovidio Marinho
Well have mo mac with problem cases and not others, you would be a good testmanual resizing your IDE environment. Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com ovidiomari...@itjp.net.br ITJP - itjp.net.br

[web2py] question about include file

2011-11-05 Thread apple
I have a view which works as expected: {{extend 'layout.html'}} {{include 'crm/files.html'}} {{include 'crm/dialog.js'}} a class=button onclick=javascript: createdialog('edit.html/ todo')\Submit/a However if I move the line {{include 'crm/dialog.js'}} to the end of the file crm/files/html then I

[web2py] moving calendar dialog to the front

2011-11-05 Thread apple
I have some jquery that shows a web2py view in a dialog box instead of on a new page. This calls web2py_ajax_init() to enable the calendar widget when you click on a date field. However the calendar widget dialog appears underneath my dialog box. Is there a way I can move it to the front?

[web2py] Re: question about include file

2011-11-05 Thread Anthony
In the latter case, what does the generated HTML code look like? Is the dialog.js content in there? Also, is dialog.js just a static JS file? If so, why not put it in the /static folder and link it via a script tag where needed (or by adding it to response.files, so web2py_ajax.html will

Re: [web2py] Re: GAE Python 2.7 update

2011-11-05 Thread Jonathan Lundell
On Nov 5, 2011, at 5:24 PM, Massimo Di Pierro wrote: I know I said otherwise before but perhaps we should continue to default to 2.5 until App Launcher supports 2.7 I think so, yes. On Nov 5, 1:28 pm, Jonathan Lundell jlund...@pobox.com wrote: I thought I'd pass on my recent experience

[web2py] Re: auth_user represent

2011-11-05 Thread Bianca Cadaveri
Thank you very much. BC On 5 nov, 18:00, Anthony abasta...@gmail.com wrote: On Saturday, November 5, 2011 12:15:02 PM UTC-4, Bianca Cadaveri wrote: May I ask one more question ? web2py will pass the Row object for the record as the dictionary (the Row class inherits from dictionary, so

[web2py] Re: gae ReferenceProperty

2011-11-05 Thread dlypka
In the latest dal.py around line 3010 (may float a bit, I am looking at the trunk) if self.dbengine == 'google:datastore' in globals():http:// groups.google.com/group/web2py/browse_thread/thread/ 33b722be4316472a#Change it toif self.dbengine == 'google:datastore':and the exception will go away

[web2py] Re: 1.99 gluon/tools.py replace_id mishandling url [SOLVED]

2011-11-05 Thread pepper_bg
This one has been torturing me for a while. Here is how to replicate it consistently (and possibly fix it): 1. Create a brand new application (in my case named 'ttt') 2. In db.py say auth.settings.expiration=10 (so sessions expire quick) 3. In the default controller create a new function:

[web2py] Re: moving calendar dialog to the front

2011-11-05 Thread Massimo Di Pierro
in the anytime.css there is a z-index property. Increase its value. On Nov 5, 7:53 pm, apple simo...@gmail.com wrote: I have some jquery that shows a web2py view in a dialog box instead of on a new page. This calls web2py_ajax_init() to enable the calendar widget when you click on a date

[web2py] Please help me understand how 'lambda row, rc' works

2011-11-05 Thread tomt
I wanted to implement the 'extracolumns' feature of SQLTABLE and the example provided in the source code is: :param extracolums = [{'label':A('Extra',_href='#'), 'class': '', #class name of the header 'width':'', #width in pixels or %

[web2py] Re: 1.99 gluon/tools.py replace_id mishandling url [SOLVED]

2011-11-05 Thread Massimo Di Pierro
This is indeed a bug. I am working to fix it. On Sep 28, 10:10 am, Anthony abasta...@gmail.com wrote: I think this is still a bug, though. On Wednesday, September 28, 2011 10:17:26 AM UTC-4, Jim Karsten wrote: I found a work around. I had two decorators on the index controller

[web2py] Re: gae ReferenceProperty

2011-11-05 Thread dlypka
In the latest dal.py around line 3010 (may float a bit, I am looking at the trunk) if self.dbengine == 'google:datastore' in globals(): Change it to if self.dbengine == 'google:datastore': and the exception will go away The issue is that 'GoogleDatastoreAdapter' is in globals(), not