[web2py:28866] Re: possible bug in SQL WHERE clause parser

2009-08-18 Thread rb
I don't see why it would be dangerous. If the rowSelectStr is empty then all rows are selected. Otherwise, (and it is not shown above) the string of the list of table fields to compare for row selection is created programmatically from column definitions. At no time is user input directly used to

[web2py:28867] download problem of web2py_src.zip from web2py.com site. are there any other mirrors to download..?

2009-08-18 Thread durga
cannot download from http://www.web2py.com/examples/static/web2py_src.zip --~--~-~--~~~---~--~~ 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

[web2py:28869] Re: Welcome login does not work with mysql

2009-08-18 Thread ed
I registered 2 users and both were in mysql database tables auth_user, auth_group, auth_event and auth_memebership. I remembered their passwords and logged out. When I login, message Invalid login was displayed. You suggested trying appamdin, but didn't know how to execute this. Sorry. On Aug

[web2py:28870] Re: possible bug in SQL WHERE clause parser

2009-08-18 Thread mdipierro
You are sending via xmlrpc a string and the tring is eval-ed on the server. A malicious client could send a string like os.system('rm -f *') instead of a database query. Massimo On Aug 18, 1:09 am, rb rbspg...@gmail.com wrote: I don't see why it would be dangerous. If the rowSelectStr is empty

[web2py:28871] Re: Welcome login does not work with mysql

2009-08-18 Thread mdipierro
All I meant is visit http:///yourapp/appadmin and check what is in the registration_key field of those records. On Aug 18, 1:56 am, ed edbi...@rocketmail.com wrote: I registered 2 users and both were in mysql database tables auth_user, auth_group, auth_event and auth_memebership. I

[web2py:28872] Re: Welcome login does not work with mysql

2009-08-18 Thread ed
auth_user.registration_key is blank. On Aug 18, 3:00 pm, mdipierro mdipie...@cs.depaul.edu wrote: All I meant is visithttp:///yourapp/appadmin and check what is in the registration_key field of those records. On Aug 18, 1:56 am, ed edbi...@rocketmail.com wrote: I registered 2 users

[web2py:28868] Re: web2py in events/meetings

2009-08-18 Thread Richard
Are you making something like djangopeople.net where we can upload our contact details and location? I get emails every few months from people who saw my profile on djangopeople.net asking if I am available to work, so it is very effective. Richard On Aug 18, 6:45 am, Bottiger

[web2py:28875] Re: Welcome login does not work with mysql

2009-08-18 Thread ed
How can I override password encryption. I want to check if the content of password is the same as what I inputted. Is this possible? On Aug 18, 3:26 pm, mdipierro mdipie...@cs.depaul.edu wrote: This is odd. You should be able to login. I do not see how this can fail. Have you changed

[web2py:28873] Re: Welcome login does not work with mysql

2009-08-18 Thread mdipierro
This is odd. You should be able to login. I do not see how this can fail. Have you changed anything else? Has anybody else tried Ath with mysql? Massimo On Aug 18, 2:13 am, ed edbi...@rocketmail.com wrote: auth_user.registration_key is blank. On Aug 18, 3:00 pm, mdipierro

[web2py:28874] Re: download problem of web2py_src.zip from web2py.com site. are there any other mirrors to download..?

2009-08-18 Thread mdipierro
can you try again, works for me. On Aug 18, 1:10 am, durga durgaprasadmoga...@gmail.com wrote: cannot download from  http://www.web2py.com/examples/static/web2py_src.zip --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[web2py:28876] Error ticket usability for developers

2009-08-18 Thread sgtpep
Hi Massimo and all web2piers! Displaying a link to ticket on error for visitor is a very nice idea. But how about displaying full ticket with error traceback at once if the visitor is administrator. This will prevent me, developer, from clicking on ticket link every time the error occurs.

[web2py:28877] Re: Welcome login does not work with mysql

2009-08-18 Thread mdipierro
Yes, after auth.define_tables() db.auth_user.password.requires=[] On Aug 18, 2:30 am, ed edbi...@rocketmail.com wrote: How can I override password encryption. I want to check if the content of password is the same as what I inputted. Is this possible? On Aug 18, 3:26 pm, mdipierro

[web2py:28878] Re: Welcome login does not work with mysql

2009-08-18 Thread ed
I can now login but the password is not encrypted in auth_user. Is it possible the password field in login, edit profile and change password are not encrypted so that when comparison is made to the auth_user.password it is not equal and issues error Invalid login? On Aug 18, 3:50 pm, mdipierro

[web2py:28879] Re: Error ticket usability for developers

2009-08-18 Thread sgtpep
To achieve such behavior I've added some code in two places in gluon/ main.py: is_local_user = request.client == request.env.http_host.split (':')[0] if is_local_user: # redirecting to error ticket return HTTP(303, error_message_ticket

[web2py:28880] Re: Error ticket usability for developers

2009-08-18 Thread mdipierro
I am afraid it is a little more complex than that. - a local user is not necessarily the administrator - the server may be behind a proxy so all users are local users - request.client can be spoofed by remote malicious clients it is possible to detect if the user is the administrator by

[web2py:28881] out of reach

2009-08-18 Thread mdipierro
I may be out of reach (no or limited network access) starting tomorrow for 5 days. Sorry about that. If there are serious issues please open an issue in google code. Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[web2py:28882] Re: download problem of web2py_src.zip from web2py.com site. are there any other mirrors to download..?

2009-08-18 Thread durga moganty
its not working... access to website http://www.web2py.com/ is very slow. can someone try from different location. On Tue, Aug 18, 2009 at 12:56 PM, mdipierro mdipie...@cs.depaul.edu wrote: can you try again, works for me. On Aug 18, 1:10 am, durga durgaprasadmoga...@gmail.com wrote:

[web2py:28883] Re: download problem of web2py_src.zip from web2py.com site. are there any other mirrors to download..?

2009-08-18 Thread mdipierro
I am trying form Italy and I have no problem. I don't think the problem is with the web2py server or network. On Aug 18, 3:37 am, durga moganty durgaprasadmoga...@gmail.com wrote: its not working... access to websitehttp://www.web2py.com/  is very slow. can someone try from different location.

[web2py:28885] Re: bug in IS_LENGTH, 1.66.1 posted

2009-08-18 Thread Anand Vaidya
Hi Massimo, I have a suggestion: Why not web2py be released on a schedule (say one stable release every six months), and all the minor releases such as 1.66.0 , 1.66.1 etc folded into either beta or release candidates? This will help in stable releases with adequate test releases. Regards

[web2py:/] Re: simple join in DAL

2009-08-18 Thread mdipierro
for i in s: result_dict[i]=(my_db.details.lokid == i).select (my_db.details.row1,my_db.details.row2,my_db.details.row3)[0] or for i in s: result_dict[i]=(my_db.details.lokid == i).select (my_db.details.row1,my_db.details.row2,my_db.details.row3).as_list() [0] On Aug 18,

[web2py:28887] Re: bug in IS_LENGTH, 1.66.1 posted

2009-08-18 Thread mdipierro
I think would be an unnecessary constraint. Bugs are always in new features and the more people use is the more likely they are found. Massimo On Aug 18, 5:24 am, Anand Vaidya anandvaidya...@gmail.com wrote: Hi Massimo, I have a suggestion: Why not web2py be released on a schedule (say one

[web2py:28888] web2py, bigtable and the '09 DAL

2009-08-18 Thread Carl
hi I'm currently building a project with python, web2py pyjamas; I will be deploying on gae. As you will know gae isn't a relational store but leverages a different design so I want to experiment with two different approaches: a) accessing gae thru web2py (treating gae as a subset of a

[web2py:28889] Howto run web2py apps on GAE (news?)

2009-08-18 Thread Peterle
- Howto run web2py apps on GAE http://www.web2py.com/AlterEgo/default/show/138 -How to export to Google App Engine http://www.web2py.com/AlterEgo/default/show/186 I'm wondering if the situation has recently evolved. Something goes better? Are there plans to improve in that crucial field?

[web2py:28890] Re: simple join in DAL

2009-08-18 Thread max
that doesn't give my desired result and i get the failure in my view when i want to run throught the dictionary: I am doing this in the view. {{for record in result:}} {{ if record.lokid:}} {{=XML(record.lokid)}} {{pass}} {{pass}} AttributeError: 'int' object has no attribute

[web2py:28891] Re: Howto run web2py apps on GAE (news?)

2009-08-18 Thread mdipierro
OMG. the first post is very old. I updated it a big (i.e. removed lots of stuff that is done automatically for you). On Aug 18, 6:41 am, Peterle newsv...@tiscali.it wrote: - Howto run web2py apps on GAEhttp://www.web2py.com/AlterEgo/default/show/138 -How to export to Google App

[web2py:28892] Re: simple join in DAL

2009-08-18 Thread mdipierro
there is one missing piece of information. If result in the view the same as result_dict in the controller? If so, you loop over result which means it is a list not a dictionary. While you initialize result_dict as a dict, as the name suggests. Perhpas you want for i in s:

[web2py:28893] Issue Solved: simple join in DAL

2009-08-18 Thread max
thanks. got it worked. On 18 Aug., 14:52, mdipierro mdipie...@cs.depaul.edu wrote: there is one missing piece of information. If result in the view the same as result_dict in the controller? If so, you loop over result which means it is a list not a dictionary. While you initialize

[web2py:28894] Re: Unwanted text in Form

2009-08-18 Thread Pynthon Pynthon
Well it does not work if I put it into the edit SQLFORM. Or is it model only? 2009/8/17 mdipierro mdipie...@cs.depaul.edu db.table.id.readable=False On Aug 17, 3:30 pm, Pynthon omar.webs...@gmail.com wrote: Lol, this is no joke I did really forgot it again: http://pastebin.com/f3dd6c821.

[web2py:28895] Re: Unwanted text in Form

2009-08-18 Thread Pynthon Pynthon
I can't look at it now but I thought it said something with an expression. 2009/8/18 Pynthon Pynthon forumx...@gmail.com Well it does not work if I put it into the edit SQLFORM. Or is it model only? 2009/8/17 mdipierro mdipie...@cs.depaul.edu db.table.id.readable=False On Aug 17, 3:30

[web2py:28896] Create a group on Ning?

2009-08-18 Thread Michael - afewtips.com
Does anyone think it would be worthwhile to create a group for Web2py on ning.com? --~--~-~--~~~---~--~~ 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

[web2py:28897] Re: Create a group on Ning?

2009-08-18 Thread mdipierro
I do not know what Ning is. There are groups on linked-in and facebook but no action there. All the action is on this list. I think it is a good idea to create groups if you sense there already users there of if you can use the groups to point new prospective users here. Massimo On Aug 18,

[web2py:28898] Re: bug in IS_LENGTH, 1.66.1 posted

2009-08-18 Thread Jonathan Lundell
On Aug 18, 2009, at 3:59 AM, mdipierro wrote: I think would be an unnecessary constraint. Bugs are always in new features and the more people use is the more likely they are found. web2py is especially easy to update, so managing fixes is relatively painless. Not quite as easy as the

[web2py:28899] Can changes in modules reload automatically?

2009-08-18 Thread rev
Hi, I have some code that are 'helper' functions for a controller. Instead of putting this code in the controller I'd like to structure things a bit. So I placed the functions in modules/utils.py. One of the functions is called doit(). In my controller I added exec('from

[web2py:28901] Re: test on IBM AS/400 iSeries System i

2009-08-18 Thread Timbo
Thanks for the brief how-to. Seems like everything is complicated on OS400. I didn't have as much success. My first run stopped at: $ /QOpenSys/download/INSTALLDIR/bin/python web2py.py Traceback (most recent call last): File web2py.py, line 17, in module import gluon.widget File

[web2py:/] Re: Can changes in modules reload automatically?

2009-08-18 Thread Iceberg
On Aug18, 11:37pm, rev reneversch...@gmail.com wrote: Hi, I have some code that are 'helper' functions for a controller. Instead of putting this code in the controller I'd like to structure things a bit. So I placed the functions in modules/utils.py. One of the functions is called doit().

[web2py:/] Re: test on IBM AS/400 iSeries System i

2009-08-18 Thread DenesL
I see that you used 2.6, maybe there is a problem with it. Denes. --~--~-~--~~~---~--~~ 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

[web2py:/] Re: out of reach

2009-08-18 Thread Yarko Tymciurak
Enjoy your Holiday! (finally!!! :-)) On Tue, Aug 18, 2009 at 3:32 AM, mdipierro mdipie...@cs.depaul.edu wrote: I may be out of reach (no or limited network access) starting tomorrow for 5 days. Sorry about that. If there are serious issues please open an issue in google code. Massimo

[web2py:/] Re: bug in IS_LENGTH, 1.66.1 posted

2009-08-18 Thread mdipierro
do not be too hard on yourself. Thanks for checking. On Aug 18, 9:39 am, Jonathan Lundell jlund...@pobox.com wrote: On Aug 18, 2009, at 3:59 AM, mdipierro wrote: I think would be an unnecessary constraint. Bugs are always in new features and the more people use is the more likely they

[web2py:28906] Re: web2py in events/meetings

2009-08-18 Thread fpp
As I mentioned before, there is a wealth of material online, but one thing that is lacking is a short presentation with a summary of what is considered most important and original in web2py - something that can be presented in 5 minutes max, in a typical lightning talk... such as the one I should

[web2py:28907] Re: web2py in events/meetings

2009-08-18 Thread Álvaro Justen [Turicas]
On Tue, Aug 18, 2009 at 15:07, fppfpp@gmail.com wrote: As I mentioned before, there is a wealth of material online, but one thing that is lacking is a short presentation with a summary of what is considered most important and original in web2py - something that can be presented in 5

[web2py:28908] Re: Create a group on Ning?

2009-08-18 Thread Francois (Jersey)
So there are no members in Linkedin, as Massimo needs to authorise users who request to join the group :) or alternatively should allow everyone to join. On Aug 18, 3:09 pm, mdipierro mdipie...@cs.depaul.edu wrote: I do not know what Ning is. There are groups on linked-in and facebook but no

[web2py:28909] Re: Create a group on Ning?

2009-08-18 Thread mdipierro
I changed the settings. the group is not open. Mind that I do not use use linked in much although I plan to use it more. Massimo On Aug 18, 2:43 pm, Francois (Jersey) francois.ches...@googlemail.com wrote: So there are no members in Linkedin, as Massimo needs to authorise users who request to

[web2py:28910] Re: web2py 1.66.0 is out

2009-08-18 Thread Richard
Do I also need to do that if everything is running fine? no, but new versions have bug fixes and new features. And they are backwards compatible so it shouldn't break anything. I upgraded a web2py application developed a year back and it still worked. On Aug 17, 9:04 pm, Pynthon Pynthon

[web2py:28911] Re: Can changes in modules reload automatically?

2009-08-18 Thread Richard
an alternative solution is to use 'reload(module)' while you are developing. Richard On Aug 19, 2:05 am, Iceberg iceb...@21cn.com wrote: On Aug18, 11:37pm, rev reneversch...@gmail.com wrote: Hi, I have some code that are 'helper' functions for a controller. Instead of putting this

[web2py:28912] Call for Papers - PyCon Asia Pacific 2010

2009-08-18 Thread Maurice Ling
Dear fellow friends and colleagues, I apologize if you had received multiple copies of this Call for Papers. Maurice == Call for Papers - PyCon Asia Pacific 2010

[web2py:28913] upload filename inconsistency

2009-08-18 Thread Richard
hello, From an upload form should request.vars.upload_name.filename contain the original file basename, full path, or the raw string of whatever was in content-disposition? I had assumed it was the basename but from some error tickets found it must be the raw string. Would it be worth parsing

[web2py:28914] web2py 1.66.1 (win) zipimport.ZipImportError

2009-08-18 Thread rppowell
Hey guys; I downloaded web2py from http://www.web2py.com/examples/static/web2py_win.zip and unzipped it to a temporary directory. I tried running web2py and got this error on the console: F:\PortableDev\web2pyweb2py.exe Traceback (most recent call last): File web2py.py, line 3, in module

[web2py:28915] Re: web2py 1.66.1 (win) zipimport.ZipImportError

2009-08-18 Thread Yarko Tymciurak
Indeed - I get the same, although there is library/gluon - it's not found... On Tue, Aug 18, 2009 at 10:21 PM, rppowell rppow...@hotmail.com wrote: Hey guys; I downloaded web2py from http://www.web2py.com/examples/static/web2py_win.zip and unzipped it to a temporary directory. I tried

[web2py:28916] Re: download problem of web2py_src.zip from web2py.com site. are there any other mirrors to download..?

2009-08-18 Thread durga moganty
today its working fine..i could download new version On Tue, Aug 18, 2009 at 2:58 PM, mdipierro mdipie...@cs.depaul.edu wrote: I am trying form Italy and I have no problem. I don't think the problem is with the web2py server or network. On Aug 18, 3:37 am, durga moganty

[web2py:28917] Re: web2py 1.66.1 (win) zipimport.ZipImportError

2009-08-18 Thread Jonathan Lundell
On Aug 18, 2009, at 9:27 PM, Yarko Tymciurak wrote: Indeed - I get the same, although there is library/gluon - it's not found... OS X version, too. The source copy works OK, though. On Tue, Aug 18, 2009 at 10:21 PM, rppowell rppow...@hotmail.com wrote: Hey guys; I downloaded web2py