[web2py:28918] Adding fields in auth_user

2009-08-18 Thread ed
Hi, I added fields in mysql table auth_user and would like to show the fields in Edit Profile. Is there a source code where I can modify the function def user() and all the functionalities it exposes like login, change password, profile, etc.. If there is what is the folder name? Thanks ed --~--~-

[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 > wrote: > > Hey guys; > > I downloaded web2py from http:/

[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 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 > wrote: > > its not working... acce

[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 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 running web2py

[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\web2py>web2py.exe Traceback (most recent call last): File "web2py.py", line 3, in zipimpo

[web2py:28913] upload filename inconsistency

2009-08-18 Thread Richard
hello, >From an upload form should request.vars..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 this variabl

[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: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 wrote: > On Aug18, 11:37pm, rev wrote: > > > > > Hi, > > > I have some code that are 'helper' functions for a controller. > > Instead of putting this code in the controller I'd like

[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 wrote

[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)" wrote: > So there are no members in Linkedin, as Massimo needs to authorise > users who request to join the group :) or altern

[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 wrote: > I do not know what Ning is. There are groups on linked-in and facebook > but no action there. All the a

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

2009-08-18 Thread Álvaro Justen [Turicas]
On Tue, Aug 18, 2009 at 15:07, fpp 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 minutes max, in a t

[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 shoul

[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 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 are found

[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 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: 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 fr

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

2009-08-18 Thread Iceberg
On Aug18, 11:37pm, rev 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(). > In my controlle

[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 import gluon.widget File "/QOpenSys/

[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 applications.%s.modules

[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 o

[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, 8:46

[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 T

[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 > Well it does not work if I put it into the edit SQLFORM. Or is it model > only? > > 2009/8/17 mdipierro > > >> db.table.id.readable=False >> >> On Aug 17, 3:30 pm, Pynthon wrote: >> > Lol, th

[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 > > db.table.id.readable=False > > On Aug 17, 3:30 pm, Pynthon wrote: > > Lol, this is no joke I did really forgot it again: > http://pastebin.com/f3dd6c821. > > > > 2009/8/17 Pynthon Pynthon > >

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

2009-08-18 Thread max
thanks. got it worked. On 18 Aug., 14:52, mdipierro 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 > result_dict as a dict, as th

[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: result_dict[i

[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 wrote: > - Howto run web2py apps on GAEhttp://www.web2py.com/AlterEgo/default/show/138 > > -How to export to Google App > Enginehttp://www.web2py.com/

[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 'lokid'

[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? Thanx.

[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 relatio

[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 wrote: > Hi Massimo, > > I have a suggestion: > > Why not web2py be released on a schedule (say one stable release ever

[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, 4:3

[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 Anan

[web2py:28884] Re: simple join in DAL

2009-08-18 Thread max
Massiomo, Thanks for the reply. Got the code working and now I have a python problem where i can't put the end results in a dictionary where my view can output it. result_dict={} s = list(set([row.lokid for row in s1]).union(set([row.lokid for row in s2]))) what i tried was __

[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 wrote: > its not working... access to websitehttp://www.web2py.com/  is very slow. > can someone try from different location. > > On Tue, Aug 18, 2009 a

[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 wrote: > > can you try again, works for me. > > On Aug 18, 1:10 am, durga wrote: > > cannot download from > http://www.web2py.com/ex

[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 Gr

[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 checking

[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: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: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 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 wrote: > > > This is odd. Y

[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: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 wrote: > auth_user.registration_key is blank. > > On Aug 18, 3:00 pm, mdipierro wrote: > > > All I meant is visithttp

[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 wrote: > 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

[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 wrote: > This is odd. You should be able to login. I do not see how this can > fail. > > Have you changed anything else? > Has anybod

[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 wrote: > I am pl

[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 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 wrote: > > > I registered 2 users and both were in mysql database tables au

[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 wrote: > I registered 2 users and both were in mysql database tables auth_user, > auth_group, auth_event and auth_memebership. I remembered their > passwords