Re: [web2py] Re: Cannot register or login a user

2011-06-01 Thread Jon Molesa
I started a new app by copying the welcome folder instead of using the wizard. I copied over the models, views, and controllers from my old app. I also updated web2py to the latest. Using local account reg and login works perfectly. Enabling janrain bring up the login form, but after

Re: Re : Re: [web2py] Re: Email invitation

2011-06-01 Thread Anthony
On Tuesday, May 31, 2011 8:31:25 PM UTC-7, encompass wrote: Or interestID. It's still in alpha, but it does invites too. :D It's A conference management tool for the entire event life-cycle. It's a shameless plug cause it runs on Web2py. :D What's the URL?

[web2py] Re: matplotlib vs mod_wsgi... again

2011-06-01 Thread Manuele Pesenti
Ok, here it is the steps I followed... on a new web2py instance version 1.95.1 (2011-04-25 15:04:14) installed under mod_wsgi 3.3 and Apache/2.2.3 and python 2.6 I have downloaded and installed matplotlib-1.0.0 than under the welcome application I have installed plugin_matplotlib but visiting

[web2py] Re: matplotlib vs mod_wsgi... again

2011-06-01 Thread Manuele Pesenti
On 01/06/2011 08:44, Manuele Pesenti wrote: Ok, here it is the steps I followed... I forgot to add that I have edited the model plugin_matplotlib in this way applying the solution suggested in this old post https://groups.google.com/forum/#!topic/modwsgi/97bnQk9ojtY import os, tempfile,

[web2py] Re: crud onaccept vs form.accepts - is this expected

2011-06-01 Thread Anthony
Why are you explicitly calling form.accepts -- crud.create and crud.update already call form.accepts themselves? On Tuesday, May 31, 2011 2:51:42 PM UTC-7, selecta wrote: def edit(): record_id = request.args(0) def on_accept(form): print 'in on accept'

[web2py] Re: validator for self-join

2011-06-01 Thread Anthony
On Friday, May 6, 2011 8:56:12 AM UTC-7, pbreit wrote: I think this might be what you want: crud.settings.create_onvalidation.mytablename.append(lambda form:) http://web2py.com/book/default/chapter/07#Settings In the case of crud.update, it would be

[web2py] See a new GAE site that we developed with some web2py...

2011-06-01 Thread maverick
We developed a site on GAE with some of web2py... some of web2py means we didn't use everything but part of it. If anyone interested to have a look, visit www.LOCQL.com, it's a location based QA site build on GAE/Python. Don't need sign up, simply sign in with facebook you can have a try. Hope

[web2py] Re: See a new GAE site that we developed with some web2py...

2011-06-01 Thread pbreit
Are you able to summarize how you used Web2py? Looks very nice!

Re: [web2py] See a new GAE site that we developed with some web2py...

2011-06-01 Thread Jason Brower
On 06/01/2011 11:02 AM, maverick wrote: We developed a site on GAE with some of web2py... some of web2py means we didn't use everything but part of it. If anyone interested to have a look, visit www.LOCQL.com, it's a location based QA site build on GAE/Python. Don't need sign up, simply sign

[web2py] I created a little app to be able to share some files over the net without authentication

2011-06-01 Thread szimszon
With this little app you can share some files with everybody on net without authenticating - There is an authenticated user who can create upload sets. He or she can specify how many files can be uploaded and how long can somebody download or upload them. - He or she can

Re: [web2py] Re: LOAD: ajax_trap errors...

2011-06-01 Thread Sebastian E. Ovide
yes, I like that keep the current release model and add some kind of Super Stable branch which is a X months old web2py without latest features but virtually bugs free On Wed, Jun 1, 2011 at 2:49 AM, pbreit pbreitenb...@gmail.com wrote: I'm pretty comfortable with the current pace. I

Re: [web2py] I created a little app to be able to share some files over the net without authentication

2011-06-01 Thread Jason (spot) Brower
Fun little app. Very easy to make and very useful. Even internal use may come in handy too. BR, Jason Brower On Wed, Jun 1, 2011 at 11:30 AM, szimszon szims...@gmail.com wrote: With this little app you can share some files with everybody on net without authenticating - There is an

Re: [web2py] Re: unicode problem in DAL

2011-06-01 Thread Phyo Arkar
So the value has to be Endcoded From Unicode into UTF8 before inserting? i am sure keys are str. We cannot store Unicode values ? On 5/31/11, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I am not sure there is a problem here. I cannot help without seeing an example of the data you

Re: [web2py] I created a little app to be able to share some files over the net without authentication

2011-06-01 Thread Stifan Kristi
congratulation, nice application szimszon, had already put in the appliances?

Re: [web2py] I created a little app to be able to share some files over the net without authentication

2011-06-01 Thread szimszon
May I ask you a hint about how to do it? :-o I shall try...

Re: [web2py] I created a little app to be able to share some files over the net without authentication

2011-06-01 Thread Stifan Kristi
please go to http://web2py.com/appliances/default/edit/http://web2py.com/appliances/default/user/login?_next=/appliances/default/edit you will asked to login with janrain, after that, you can upload and share your application in there. great job, happy web2pying zimszon \(^o^)/

Re: [web2py] I created a little app to be able to share some files over the net without authentication

2011-06-01 Thread szimszon
Thanks. Done. http://web2py.com/appliances/default/show/78

[web2py] built with web2py

2011-06-01 Thread reedwan
http://www.filtons.com built with web2py running on cherokee

Re: [web2py] built with web2py

2011-06-01 Thread David J.
Very nice. On 6/1/11 6:54 AM, reedwan wrote: http://www.filtons.com built with web2py running on cherokee

[web2py] Re: running python on client side browser

2011-06-01 Thread GoldenTiger
i know Skulpt: http://www.skulpt.org/ could anyone explain differences? On 1 jun, 00:26, selecta gr...@delarue-berlin.de wrote: in case you do no know this yethttp://syntensity.com/static/python.html

[web2py] Re: unicode problem in DAL

2011-06-01 Thread Massimo Di Pierro
You store unicode by passing it encoded. On Jun 1, 4:01 am, Phyo Arkar phyo.arkarl...@gmail.com wrote: So the value has to be Endcoded From Unicode into UTF8 before inserting? i am sure keys are str. We cannot store Unicode values ? On 5/31/11, Massimo Di Pierro massimo.dipie...@gmail.com

[web2py] problem with gae deployment

2011-06-01 Thread ramkrishan bhatt
$ cd workspace/Running\ Project/ ramkrishan@ramkrishan-Aspire-5740:~/workspace/Running Project$ /home/ramkrishan/Downloads/Python-2.5.5/./python google_appengine/dev_appserver.py coporategift/web2py/ Traceback (most recent call last): File google_appengine/dev_appserver.py, line 76, in module

Re: [web2py] problem with gae deployment

2011-06-01 Thread José Luis Redrejo Rodríguez
2011/6/1 ramkrishan bhatt ramkrishan.bh...@gmail.com: $ cd workspace/Running\ Project/ ramkrishan@ramkrishan-Aspire-5740:~/workspace/Running Project$ /home/ramkrishan/Downloads/Python-2.5.5/./python google_appengine/dev_appserver.py coporategift/web2py/ Traceback (most recent call last):  

Re : Re: Re : Re: [web2py] Re: Email invitation

2011-06-01 Thread Dwayne Blind
Yes pbreit. This is what I am trying to do. I emphasize the fact that only they can register to the entire website. I am not sure that Eventbrite can help me. I also would like to program it myself. Dwayne

[web2py] Re: error on crud.update delete

2011-06-01 Thread Bob
You'll need to show your code as well. On 31 Май, 23:46, selecta gr...@delarue-berlin.de wrote: ERROR:web2py:Traceback (most recent call last):   File /home/select/Dev/web2py/gluon/restricted.py, line 181, in restricted     exec ccode in environment   File

[web2py] change colnames export_to_csv_file

2011-06-01 Thread Bob
Is there any way to change colnames before exporting to CSV? Now I have a query like this: students=db().select(db.students.email, db.students.name) And I'm getting the excel with columns like: students.email | students.name Would be nice to change that to Email and Name, but can't find any

[web2py] Re: built with web2py

2011-06-01 Thread JorgeRpo
Wow! Very nice looking! Congrats

Re: [web2py] Re: dashboard...

2011-06-01 Thread Richard Vézina
How long you figure the task could take... It is a plugin right? I try to install it and I got cronfolder missing or something like this... I will unpack it to look at the code... Richard On Tue, May 31, 2011 at 6:38 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: very old code,

[web2py] Re: super in templates

2011-06-01 Thread teemu
OK! Thank you for explanation. I just have to live with that and modify my apps to do those things differently. Teemu

[web2py] Conditional insert/update/delete to many tables from one form

2011-06-01 Thread Vineet
I have written code for managing conditional insert/update/delete to multiple tables from single form. (I had posted my code-attempt in earlier thread, but seems it was lost in the heap of other threads. Hence posting it again here. I agree, the code is in very raw form may not be ‘pythonic’.

Re: [web2py] Re: web2py rpc

2011-06-01 Thread Ross Peoples
I am actually using web2py as a JSON-RPC service now. Using RPC, you can make a web2py application act like you are running functions on the local machine. This is most commonly used to provide a desktop application that can interface with your web service. Right now, I have a web2py

[web2py] Possible bug in trunk dal.py

2011-06-01 Thread Oskari
Hi, I'm reporting a possible bug with trunk version of dal.py. I'm having the traceback: Traceback (most recent call last): File /home/www-data/web2py/gluon/restricted.py, line 184, in restricted exec ccode in environment File /home/www-data/web2py/applications/backend/controllers/

[web2py] SQLFORM.factory example from book does not work

2011-06-01 Thread jc
When playing around with uploads, I tried to get the example from the web2py book working: def form_from_factory(): form = SQLFORM.factory( Field('your_name', requires=IS_NOT_EMPTY()), Field('your_image', 'upload')) if form.accepts(request.vars, session):

Re: [web2py] Re: web2py rpc

2011-06-01 Thread Stifan Kristi
a, i understand right now, it seems so widely implementation for rpc, thank you so much for sharing

Re: [web2py] Re: web2py rpc

2011-06-01 Thread David J.
How do you handle remote authentication using json-rpc? I would like to try it; Thanks. On 6/1/11 10:48 AM, Stifan Kristi wrote: a, i understand right now, it seems so widely implementation for rpc, thank you so much for sharing

[web2py] upload file without storing it

2011-06-01 Thread jc
I wish to upload a file, then process it without storing it in the upload folder (or anywhere else on the file system). I am trying to use the 'SQLFORM.Factory' because it gives me the nice html table of input fields, and the normal 'if form.accepts' processing for convenience. I thought I could

Re: [web2py] upload file without storing it

2011-06-01 Thread Bruno Rocha
request.vars.field_in_form.file should give you the binary definition of the file, I am using it with uploadify -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] [ Aprenda a programar: http://CursoDePython.com.br ] [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]

[web2py] Re: problem with gae deployment

2011-06-01 Thread dhmorgan
check to see whether the command you indicated: $ /home/ramkrishan/Downloads/Python-2.5.5/./python is running 2.6 or 2.5.5 not sure what the effect of the /./ would be on your installation; the error is indicative of Python 2.6, which may be what is getting run; with Ubuntu 10.x, you may

Re: [web2py] built with web2py

2011-06-01 Thread Bruno Rocha
Hi, Very nice website, congrats. I have some questions, if could explain.. I see your images are loading very fast, how are you serving images? (cdn, download(), ../static) what the server config you are using? I has some problems to load images directly served by web2py static, so I am trying

Re: [web2py] built with web2py

2011-06-01 Thread David J
Bruno. I take all my static files out of web2py. It seems much better. Basically just static serve from web server. On Jun 1, 2011 11:13 AM, Bruno Rocha rochacbr...@gmail.com wrote: Hi, Very nice website, congrats. I have some questions, if could explain.. I see your images are loading

[web2py] Multiprocessing Issue with Web2py

2011-06-01 Thread Nite
I'm trying to start a background process to monitor the audio and am using pyaudio to accomplish it. I started with a separate script, but decided it seemed simpler to move the code into my module. The issue is that once I call the p.open to create the stream the subprocess hangs and I never get

Re: [web2py] built with web2py

2011-06-01 Thread pbreit
I don't use the download() function anymore and serve static files straight from Nginx and it works very well. I am also looking at a very cool new service, CloudFlare that is free! What you do is switch your DNS entires to CloudFlare-provided DNS servers and then CloudFlare caches all your

Re: [web2py] Re: web2py rpc

2011-06-01 Thread Stifan Kristi
pardon me, i still learning and tried what was written on the book, but got confused about what is use for my application, so that i asked to the web2py forum community. On Wed, Jun 1, 2011 at 9:50 PM, David J. da...@styleflare.com wrote: How do you handle remote authentication using json-rpc?

[web2py] Re: Consuming a web2py web service in C#?

2011-06-01 Thread Scott
This is what I have concluded... The problem is that many Windows based JSON-RPC serializers (Including jayrock) and proxy's append a 3 byte UTF-8 BOM (Byte Order Mark) to the beginning of the resulting encoded JSON text that is sent in the body of the HTML request. Note that this is not a

[web2py] Re: error on crud.update delete

2011-06-01 Thread Massimo Di Pierro
BTW... are you running stable. Can you try trunk. I remeber fixing something related to this. On May 31, 3:46 pm, selecta gr...@delarue-berlin.de wrote: ERROR:web2py:Traceback (most recent call last):   File /home/select/Dev/web2py/gluon/restricted.py, line 181, in restricted     exec ccode

[web2py] Re: change colnames export_to_csv_file

2011-06-01 Thread Massimo Di Pierro
yes rows.export_to_csv_file(open(),colnames=[]) On Jun 1, 8:38 am, Bob handzh...@gmail.com wrote: Is there any way to change colnames before exporting to CSV? Now I have a query like this: students=db().select(db.students.email, db.students.name) And I'm getting the excel with

[web2py] Re: Possible bug in trunk dal.py

2011-06-01 Thread Massimo Di Pierro
Did you try: db.define_table(tags, Field(name,string), Field(parent, reference tags,default=None), format=%(name)s) On Jun 1, 9:30 am, Oskari oskari.pe...@gmail.com wrote: Hi, I'm reporting a possible bug with trunk version of dal.py. I'm having the traceback: Traceback (most

[web2py] jquery effect

2011-06-01 Thread 黄祥
hi, i've read and try to implement form select jquery on the book http://web2py.com/book/default/chapter/10#Conditional-Fields-in-Forms, but have no effect. e.g. script jQuery(document).ready(function(){ jQuery('#blog_visibility').change(function(){

[web2py] Re: built with web2py

2011-06-01 Thread pbreit
Are you doing anything special in regards to how images are uploaded, cropped and saved?

[web2py] Re: SQLFORM.factory example from book does not work

2011-06-01 Thread Massimo Di Pierro
No it is just that SQLFORM.factory is not associated to a db object and does not know what to do. You have to explicit. What you did is correct. On Jun 1, 9:34 am, jc j-cl...@lineone.net wrote: When playing around with uploads, I tried to get the example from the web2py book working: def

[web2py] Re: Multiprocessing Issue with Web2py

2011-06-01 Thread Massimo Di Pierro
Yes. The web server will kill requests that take tool long. You must run something like this in a background process. On Jun 1, 10:26 am, Nite nitese...@gmail.com wrote: I'm trying to start a background process to monitor the audio and am using pyaudio to accomplish it. I started with a

[web2py] Re: dashboard...

2011-06-01 Thread Anthony
There's also a newer version of JPolite: http://www.trilancer.com/jpolite2/ On Tuesday, May 31, 2011 3:38:26 PM UTC-7, Massimo Di Pierro wrote: very old code, should be rewritten using LOAD(...). On May 31, 5:25 pm, Bruno Rocha rocha...@gmail.com wrote: Are you aware of it?

Re: [web2py] Re: web2py rpc

2011-06-01 Thread Anthony
On Wednesday, June 1, 2011 7:50:30 AM UTC-7, David J wrote: How do you handle remote authentication using json-rpc? I haven't tried it, but here's what the book has to say: http://web2py.com/book/default/chapter/09#Services-and-Authentication

[web2py] Re: built with web2py

2011-06-01 Thread pbreit
Looks excellent! I like the clean and simple but not typical design.

Re: Re : Re: Re : Re: [web2py] Re: Email invitation

2011-06-01 Thread pbreit
You could do an onvalidation that checks that the email address provided and/or uuid is acceptable: http://web2py.com/book/default/chapter/07#onvalidation

Re: [web2py] Re: web2py rpc

2011-06-01 Thread pbreit
I guess there's a school of thought that web apps will be mostly or entirely JavaScript in the browser pushing and pulling data, probably in JSON format, to/from the server.

Re: [web2py] Re: web2py rpc

2011-06-01 Thread Ross Peoples
All the communication is done on the local network, so security isn't a huge issue, however, I still require the JSON-RPC service to communicate over HTTPS so that when I pass username/password combinations to it, it's all encrypted. And I use a custom controller that checks authentication.

[web2py] Re: jquery effect

2011-06-01 Thread Ross Peoples
I'm not exactly sure what's going here, but at first glance, this is what I see: I think you are using attr() wrong. In the first section of code, you are checking the 'Protected' attribute, but in the second block of code, you are setting an 'onchange' attribute to the value of 'Protected',

[web2py] GAE taskqueue with Web2py 1.95.1

2011-06-01 Thread Carl
do I use: from google.appengine.api.labs import taskqueue or from google.appengine.api import taskqueue ie with or without .labs dev_appserver.py tries to call my task url (correctly logging the url) but claims it returns with a 500 do I see to add an entry to routes.py or index.yaml? I can't

[web2py] Re: Multiprocessing Issue with Web2py

2011-06-01 Thread Nite
I'm not sure that applies here... or not sure *how* it applies. 1. My tests have all been with the commandline so there is no webserver involved. 2. The same methodology works fine elsewhere to spawn secondary processes (have been using it for a month or so and it works well). 3. I can test and

[web2py] Problems using LOAD function

2011-06-01 Thread salbefe
Hello, The following code before I updated web2py via mercurial worked well for me. Now I get the following error if the ajax parameter is set to False. If is set to True, there is no error but the place where the view should be loaded is alway saying: loading... and nothing is showed. div

[web2py] Re: Problems using LOAD function

2011-06-01 Thread Massimo Di Pierro
Please try LOAD('default','menu',ajax=True) you may get a ticket. Check what it says. On Jun 1, 12:34 pm, salbefe salb...@gmail.com wrote: Hello, The following code before I updated web2py via mercurial worked well for me. Now I get the following error if the ajax parameter is set to

[web2py] web2py 1.96.1 is OUT

2011-06-01 Thread Massimo Di Pierro
I could not wait any longer. We had so many changes that we need to move on. I do not recall any other release with so many new features. Thanks to all those who have contributed with patches and testing. Changelog: - from gluon import * imports in every python module a web2py environment (A,

[web2py] new plugin_wiki

2011-06-01 Thread Massimo Di Pierro
I also posted a new plugin wiki. It is not very different fixes a vulnerability by doing a digital signature of the jqGrid Ajax callback. Massimo

Re: [web2py] web2py 1.96.1 is OUT

2011-06-01 Thread Jason Brower
Me does a dance. Thanks! - Original message - I could not wait any longer. We had so many changes that we need to move on. I do not recall any other release with so many new features. Thanks to all those who have contributed with patches and testing. Changelog: - from gluon

[web2py] SECURITY WARNING

2011-06-01 Thread Massimo Di Pierro
we found two vulnerabilities that have been fixed in the latest release of web2py (1.96.1) and plugin_wiki (which requires web2py 1.96.1) ## Vulnerability 1 Consider this action def index(): a = 1 b = 2 return locals() and the view {{=a}} You clearly

Re: [web2py] web2py 1.96.1 is OUT

2011-06-01 Thread contatogilson...@gmail.com
All new features will be documented? How will it be? Will be collaborative documentation? _ *Gilson Filho* *Web Developer http://gilsondev.com*

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread pbreit
Great release. I've been waiting for a stable release to move into production which I will probably stay with for awhile.

[web2py] Bug in MSSQLAdapter.EXTRACT

2011-06-01 Thread Jose
Hi This is using MS SQLServer 2000. qry = (db.my_table.my_datetime_field.year()==2011) rows = db(qry).select() This fails. db._lastsql output is equivalent to: SELECT * FROM my_table WHERE (DATEPART('year' FROM my_table.my_datetime_field) = 2011); The following works fine: SELECT * FROM

[web2py] web2py ENTERPRISE

2011-06-01 Thread contatogilson...@gmail.com
One thing that would have asked you to Massimo but forgot that interviewhttp://blog.gilsondev.com/2011/01/13/interview-creator-of-web2py/ : Today web2py has left the classroom and entered into development companies worldwide. As a senior keeper, which you intend to do so that framework

Re: [web2py] Re: Problems using LOAD function

2011-06-01 Thread David J.
I also posted a message yesterday regarding the views and the load function; It seems like if the URL has some additional 'args' LOAD returns the HTML view rather than the .load view. Thanks. On 6/1/11 2:23 PM, Massimo Di Pierro wrote: Please try LOAD('default','menu',ajax=True) you may

[web2py] Re: Bug in MSSQLAdapter.EXTRACT

2011-06-01 Thread Massimo Di Pierro
Can you try replace: return DATEPART('%s' FROM %s) % (what, self.expand(field)) with return DATEPART(%s, %s) % (what, self.expand(field)) -- Forwarded message -- From: Jose jjac...@gmail.com Date: Jun 1, 2:05 pm Subject: Bug in MSSQLAdapter.EXTRACT To: web2py-users Hi This

Re: [web2py] Re: Problems using LOAD function

2011-06-01 Thread pbreit
To get .load view: LOAD('default','menu.load',ajax=False) or LOAD('default','menu',extension='load',ajax=False)

[web2py] Re: Bug in MSSQLAdapter.EXTRACT

2011-06-01 Thread Jose
On 1 jun, 16:18, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Can you try replace: return DATEPART('%s' FROM %s) % (what, self.expand(field)) with return DATEPART(%s, %s) % (what, self.expand(field)) I tried from the console, this work fine. SQL: select * FROM my_table WHERE

[web2py] Re: Problems using LOAD function

2011-06-01 Thread Massimo Di Pierro
I need more information here. Set ajax=True. What are the generated URLs (before and after the upgrade). I cannot reproduce the problem. LOAD('default','action') never appended the .load extension. You had to be explicit LOAD('default','action.load') Do you see the problem only with ajax=False?

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread Massimo Di Pierro
Give it a day or to since new bugs always popup after a release with so many changes. On Jun 1, 1:56 pm, pbreit pbreitenb...@gmail.com wrote: Great release. I've been waiting for a stable release to move into production which I will probably stay with for awhile.

[web2py] Re: Bug in MSSQLAdapter.EXTRACT

2011-06-01 Thread Massimo Di Pierro
fixed in trunk... I am sure we will have 1.96.2 soon although this is a pre-existing problem. On Jun 1, 2:28 pm, Jose jjac...@gmail.com wrote: On 1 jun, 16:18, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Can you try replace: return DATEPART('%s' FROM %s) % (what,

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread szimszon
- URL(...,user_signature=True), LOAD(...,user_signature=True) can sign urls and @auth.requires_signature() will check the signature for any decorated action. Sorry for a stupid question but what is an url signature how does it work?

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread Massimo Di Pierro
Not a stupid question. Consider this code: def index(): if user_has_permission_to_call_other(): link = A('click',_href=URL('other')) else: link = DIV('do nothing') return dict() def other(): if not user_has_permission_to_call_other():

Re: [web2py] Re: Problems using LOAD function

2011-06-01 Thread David J.
I just upgraded the software to latest in trunk. I did explicitly use '.load'. It still happens. It loads the entire page into the target div. On 6/1/11 3:29 PM, Massimo Di Pierro wrote: I need more information here. Set ajax=True. What are the generated URLs (before and after the

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread Niphlod
from what I can see it pushes further variuos uses of the old functions from gluon.html import verifyURL to verify the hashed URL and URL(hmac_key='...') to generate the hashed one. Basically it's a method that appends a variable (as _signature=djhdsajhdasjhdasjhdas parameter in the URL) to allow

[web2py] Re: Problems using LOAD function

2011-06-01 Thread Massimo Di Pierro
Please post the exact code you used {{=LOAD(.)}} the look at the source of the generated page and post that as well. On Jun 1, 2:58 pm, David J. da...@styleflare.com wrote: I just upgraded the software to latest in trunk. I did explicitly use '.load'. It still happens. It loads the

[web2py] Re: Bug in MSSQLAdapter.EXTRACT

2011-06-01 Thread Jose
On 1 jun, 16:32, Massimo Di Pierro massimo.dipie...@gmail.com wrote: fixed in trunk... I am sure we will have 1.96.2 soon although this is a pre-existing problem. Work fine. Thanks. Jose

[web2py] Re: error on crud.update delete

2011-06-01 Thread selecta
just upgraded to 1.96.1 and the error is gone, the code was not special, but too complicated to post thanks for fixing this :D On Jun 1, 6:11 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: BTW... are you running stable. Can you try trunk. I remeber fixing something related to this.

Re: [web2py] Re: Problems using LOAD function

2011-06-01 Thread David J.
a href=javascript:web2py_component('quick_add_contact.load','contact_list') class=buttonQuick Add New Contacts/a On 6/1/11 4:02 PM, Massimo Di Pierro wrote: Please post the exact code you used {{=LOAD(.)}} the look at the source of the generated page and post that as well. On Jun 1,

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread Pystar
auth.settings.extra_fields['auth_user'].append(Field('country')) does this new release allow me to remove fields from the auth table? e.g. auth.settings.extra_fields['auth_user'].remove(Field('country'))? Thanks Max, great release.

[web2py] Re: How do we handle concurrent db update?

2011-06-01 Thread Niphlod
I don't know very well web2py internals (in the book at chapter 04 seems to behave like all operations inside a function are executed inside a transaction, if an exception raises all opened transaction are rollbacked). If it is like explained in web2py book this is the right way to do normal

[web2py] Re: Problems using LOAD function

2011-06-01 Thread Massimo Di Pierro
David and salbefe have different issues. @David web2py_component('quick_add_contact.load','contact_list') should be web2py_component('{{=URL('quick_add_contact.load'}}','contact_list') @salbefe what do you get if you visit this page? http:///init/default/menu My guess is you get a

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread Massimo Di Pierro
You can add fields before the table is defined. You cannot add or remove fields after the table is defined. You also cannot remove fields before the table is defined. I could add this but it would be less transparent that just make a custom table. On Jun 1, 3:31 pm, Pystar aitoehi...@gmail.com

[web2py] Re: Problems using LOAD function

2011-06-01 Thread pbreit
What happens when you go to http://127.0.0.1/init/default/menu or http://127.0.0.1/init/default/menu.html or http://127.0.0.1 /init/default/menu.load in your browser? Do you have a view menu.html or menu.load? Have you tried LOAD('default','menu.load',ajax=False)

Re: [web2py] Re: Problems using LOAD function

2011-06-01 Thread David J.
Massimo; Thank you! It seems to have solved my particular issue; @David On 6/1/11 4:48 PM, Massimo Di Pierro wrote: David and salbefe have different issues. @David web2py_component('quick_add_contact.load','contact_list') should be

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread pbreit
I saw in the changesets some notes about salts and smart_hashes. Is it now possible to salt password hashes?

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread Pystar
Ok, if I can not do auth.settings.extra_fields['auth_user'].remove(Field('country'))? can I do something like similar to this SQLFORM(database.table, fields[a, b])? Since I can not remove fields from the auth table, then I can add the fields I want and display them only. Thanks On Jun 1, 9:56 

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread Massimo Di Pierro
There is nothing new in this respect. I think you can salt the password in this way: import uuid session._salt = session._salt or str(uuid.uuid4() auth.settings.extra_fields['auth_user'].append(Field('salt',writable=False,readable=False,default=session._salt)) auth.define_tables() ... if

[web2py] Re: Problems using LOAD function

2011-06-01 Thread salbefe
Massimo, I have solved muy problem. My problem was that I had migrate=False in the table 'menu' on db.py and I was using an older version of the database where such table did not exist. Sorry for the inconveniencie. When I have tried to visit http:///init/default/menu is when I noticed

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread Grigory Antonov
Hi, please, give some comments about new features: - from gluon import * imports in every python module a web2py environment (A, DIV,..SQLFORM, DAL, Field,...) including current.request, current.response, current.session, current.T, current.cache, thanks Jonathan. While using ide's like

Re: [web2py] Re: jquery effect

2011-06-01 Thread Stifan Kristi
thank you so much for your hints, i'm using select input with 3 options, public, private and protected, on the form. so when user choose the protected value the field password will appears. i just modified what was written on the book. any idea? thank you so much in advance. On Thu, Jun 2, 2011

[web2py] how to upgrade Web2py in Webfaction?

2011-06-01 Thread JorgeH
Hello given that 1.96.1 has been just released, i am trying to upgrade it in webfaction via the web2py admin site. However when pressing the button to upgrade, i get this message: *unable to upgrade because [Errno 2] No such file or directory:

Re: [web2py] how to upgrade Web2py in Webfaction?

2011-06-01 Thread Bruno Rocha
have you tried to create the gluon/tests/__init__.py file? -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] [ Aprenda a programar: http://CursoDePython.com.br ] [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ] [ Consultoria em desenvolvimento web:

Re: [web2py] how to upgrade Web2py in Webfaction?

2011-06-01 Thread JorgeH
hmmm nope

  1   2   >