[web2py:28783] Re: Can I define a relation across multiple SQLDB?

2009-08-17 Thread mdipierro
You cannot define a relation across multiple dbs. You can go around this limitation by doing: ann.define_table( 'target' , SQLField('username','string') , SQLField('thread', 'integer') , SQLField('thread_len', 'integer') )

[web2py:28784] Re: uploading a file with REST

2009-08-17 Thread mdipierro
This is the best way of doind it. Can you try add print request.vars.keys request.body.seek(0) ? On Aug 16, 9:56 pm, Ian Reinhart Geiser ian.gei...@gmail.com wrote: Right now im doing this but getting errors: @service.run def upload_image( camera_uuid ):     query = (db.cameras.macaddress

[web2py:28785] Re: web2py 1.66.0 is out

2009-08-17 Thread mdipierro
please remove verbose=True I will fix this in trunk. The mercurial folks must have a problem with backward compatibility of APIs. On Aug 17, 12:04 am, Álvaro Justen [Turicas] alvarojus...@gmail.com wrote: On Sun, Aug 16, 2009 at 15:40, mdipierromdipie...@cs.depaul.edu wrote: Minor typos and

[web2py:28786] Re: How do I get a cross reference model name?

2009-08-17 Thread Carlos Aboim
Hi, Didn't worked, maybe I missing something or do some error! this is my real model, with te last line added as suggested is it correct? thank you Carlos Aboim # coding: utf8 import datetime now = datetime.datetime.now() registos=SQLDB(sqlite://registos.db) registos.define_table('cliente',

[web2py:28787] Re: web2py 1.66.0 is out

2009-08-17 Thread Pynthon Pynthon
Ok, but what do you guys suggest me? I see in the new chapters you gave us you used DAL? 2009/8/17 mdipierro mdipie...@cs.depaul.edu please remove verbose=True I will fix this in trunk. The mercurial folks must have a problem with backward compatibility of APIs. On Aug 17, 12:04 am,

[web2py:28788] Re: web2py 1.66.0 is out

2009-08-17 Thread Carlos Aboim
Hi, Sorry for the newbie question, but how do I upgrade web2py? I tried to follow as FAQ but I am not sure that I did the all things correctly. What I did: Unzip the file dowloaded and copy ONLY the applications folder to the new web2py folder. Put the older one in the trash and fired up the

[web2py:28790] Re: New Book Chapters 7 (crud),8 (auth), 9 (services)

2009-08-17 Thread Pynthon Pynthon
Maybbe it sounds greedy but I bought the PDF file on Lulu.com. Is it really necessary to buy the new PDF? Otherwise I need to convince my parents again... 2009/8/16 mdipierro mdipie...@cs.depaul.edu Can somebody point me to the .sty and .cls files? Does it do syntax highliting too. The one I

[web2py:28791] Re: web2py 1.66.0 is out

2009-08-17 Thread Pynthon Pynthon
In the new chapters you still use SQLRows etc 2009/8/17 Pynthon Pynthon forumx...@gmail.com Lol, I also want to ask the same question! Thanks 2009/8/17 Carlos Aboim abo...@gmail.com Hi, Sorry for the newbie question, but how do I upgrade web2py? I tried to follow as FAQ but I am

[web2py:28792] Re: How do I get a cross reference model name?

2009-08-17 Thread mdipierro
This correct. Can you explain better what you mean by it did not work. Which is the controller that does not work. What is the view. What do you get instead? On Aug 17, 3:32 am, Carlos Aboim abo...@gmail.com wrote: Hi, Didn't worked, maybe I missing something or do some error! this is my

[web2py:28794] Re: web2py 1.66.0 is out

2009-08-17 Thread Kuba Kucharski
you have to go with python web2py -u UPGRADE.. to upgrade welcome and admin apps.. -- Kuba --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to

[web2py:28793] Re: New Book Chapters 7 (crud),8 (auth), 9 (services)

2009-08-17 Thread mdipierro
When it is out (only after it is out) email me a receipt of your purchase and I will send you the new book. Moreover I am happy to give the PDF for free to high school students everywhere and residents of countries that score low according to these table:

[web2py:28795] Re: New Book Chapters 7 (crud),8 (auth), 9 (services)

2009-08-17 Thread Pynthon Pynthon
Nice, I'm also a student :P. A 14 year old web2py student. But thanks Massimo! 2009/8/17 mdipierro mdipie...@cs.depaul.edu When it is out (only after it is out) email me a receipt of your purchase and I will send you the new book. Moreover I am happy to give the PDF for free to high school

[web2py:28797] Strange error:

2009-08-17 Thread Pynthon Pynthon
Hello I posted the error and my code here. I used the new methods as Massimo told us :P. Thanks in advance! Pynthon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send

[web2py:28799] Re: Strange error:

2009-08-17 Thread mdipierro
where did you post it? On Aug 17, 6:06 am, Pynthon Pynthon forumx...@gmail.com wrote: Hello I posted the error and my code here. I used the new methods as Massimo told us :P. Thanks in advance! Pynthon --~--~-~--~~~---~--~~ You received this message because

[web2py:28798] wsgi

2009-08-17 Thread Massimo Di Pierro
I want to publicly thank Graham Dupleton both for developing WSGI (which is critical for a professional and scalable web2py deployment) and for his help in the new book chapter 10 on deployment recipes. I discovered he has an Amazon wishlist and that may be a nice way to say thank you:

[web2py:28801] Re: Strange error:

2009-08-17 Thread Omar Munk
Wow, Is this real? Did i really forget to post it? Sorry man! http://pastebin.com/f4e374c6d Sorry again... 2009/8/17 mdipierro mdipie...@cs.depaul.edu where did you post it? On Aug 17, 6:06 am, Pynthon Pynthon forumx...@gmail.com wrote: Hello I posted the error and my code here. I used

[web2py:28796] Re: web2py 1.66.0 is out

2009-08-17 Thread Pynthon Pynthon
Do I also need to do that if everything is running fine? 2009/8/17 Kuba Kucharski kuba.kuchar...@gmail.com you have to go with python web2py -u UPGRADE.. to upgrade welcome and admin apps.. -- Kuba --~--~-~--~~~---~--~~ You received this message

[web2py:28800] Does 'versioning' Work?

2009-08-17 Thread Ahmed Soliman
Hello All, An exception is thrown when I try to access the 'versioning' link in the menu (ticket actually), I'm using Python 2.6 (in 2.5 I don't see the versioning link at all) Traceback (most recent call last): File /home/asoliman/workspace/cat/web2py-updated/gluon/restricted.py, line

[web2py:28802] Re: Does 'versioning' Work?

2009-08-17 Thread mdipierro
It is a problem with an incompatible mercurial library. Please edit applications/admin/controllers/mercurial.py and replace uio = ui.ui(debug=True,verbose=True) with uio = ui.ui() sorry about this. It will be fixed in the next version. On Aug 17, 6:20 am, Ahmed Soliman ah...@farghal.com

[web2py:28803] Re: Strange error:

2009-08-17 Thread mdipierro
LOL. it happens to the best of us. The error is that now = datetime.datetime.now should be now = datetime.datetime.now() or now = request.now On Aug 17, 6:21 am, Omar Munk omar.webs...@gmail.com wrote: Wow, Is this real? Did i really forget to post it? Sorry

[web2py:28804] Re: Strange error:

2009-08-17 Thread omar.webs...@gmail.com
Thanks :)! Lol, again a stupid noobiew mistake. Thanks On Aug 17, 1:28 pm, mdipierro mdipie...@cs.depaul.edu wrote: LOL. it happens to the best of us. The error is that now = datetime.datetime.now should be now = datetime.datetime.now() or now = request.now On Aug 17, 6:21 am,

[web2py:28805] Re: web2py 1.66.0 is out

2009-08-17 Thread Carlos Aboim
Could you be more especific with the commands?? I am really sorry, show me the way! Thanks Aboim 2009/8/17 Kuba Kucharski kuba.kuchar...@gmail.com you have to go with python web2py -u UPGRADE.. to upgrade welcome and admin apps.. -- Kuba

[web2py:28808] Re: uploading a file with REST

2009-08-17 Thread mdipierro
The problem is that I do not undestand where curl is putting the image. If it is not in request.vars.keys() then curl is not doing a multipart form submission. If the file is in request.body that it will not be parsed and stored in request.vars but this: request.body.seek(0)

[web2py:28807] Re: Strange error:

2009-08-17 Thread mdipierro
This helps other users too. The ticket is not very clear onthis one. On Aug 17, 6:42 am, omar.webs...@gmail.com omar.webs...@gmail.com wrote: Thanks :)! Lol, again a stupid noobiew mistake. Thanks On Aug 17, 1:28 pm, mdipierro mdipie...@cs.depaul.edu wrote: LOL. it happens to the best of

[web2py:/] Re: uploading a file with REST

2009-08-17 Thread Ian Reinhart Geiser
I see this when i return request.vars.keys() I get an empty array. That seems a little off... doesn't it? Could it be that I am missing a step with respects to reading the request object? Thanks for your insight so far! On Aug 17, 3:18 am, mdipierro mdipie...@cs.depaul.edu wrote: This is the

[web2py:28811] Re: simple join in DAL

2009-08-17 Thread max
Sorry, made a failure in my posting. I corrected it now. First Table: my_db.define_table('details', SQLField('lokid'), SQLField(''details'), ) Second table: my_db.define_table('keywords', SQLField('lokid',my_db.lokid)) SQLField('lokid',my_db.keyword)) my search form looks form2 =

[web2py:28809] simple join in DAL

2009-08-17 Thread max
I am having a small problem, that i can't solve using the example in book. I want to search in two tables for one search word and output only rows in one table. I can't write the joined statement using web2py DAL commands. First Table: my_db.define_table('details', SQLField('lokid'),

[web2py:28810] Re: simple join in DAL

2009-08-17 Thread mdipierro
I do not understand. Moreover in q1 = (my_db.details.titel.lower().like('%%%s%%' % my_search)) q1 = (my_db.keywords.schlagwortzo.like('%%%s%%' % my_search)) table details does not have a titel (nor title) field and table keywords does not have a schlagwortzo field. Something is missing. On

[web2py:28813] Re: web2py 1.66.0 is out

2009-08-17 Thread Jonathan Lundell
On Aug 17, 2009, at 4:52 AM, Carlos Aboim wrote: Could you be more especific with the commands?? I am really sorry, show me the way! The usage string is just a little confusing in this regard. Here's one way. 1. Download the new source code from the download page. 2. Put the downloaded zip

[web2py:28812] Re: simple join in DAL

2009-08-17 Thread mdipierro
Sorry, I still think your tables have something missing since q1 and q2 reference fields that do not exist. On Aug 17, 8:47 am, max dulip.withan...@gmail.com wrote: Sorry, made a failure in my posting. I corrected it now. First Table: my_db.define_table('details', SQLField('lokid'),

[web2py:28814] Re: web2py 1.66.0 is out

2009-08-17 Thread Carlos Aboim
YAh Thanks!! It worked pretty smooth, who knows, know it better!! :-) Carlos Aboim 2009/8/17 Jonathan Lundell jlund...@pobox.com On Aug 17, 2009, at 4:52 AM, Carlos Aboim wrote: Could you be more especific with the commands?? I am really sorry, show me the way! The usage string is just

[web2py:28816] stackless python

2009-08-17 Thread mdipierro
Just for fun I tried the following: 1) Installed Stackless Python 2.6.2 2) downloaded stacklesswsgi.py server from http://code.google.com/p/stacklessexamples/wiki/StacklessWSGI into web2py/ 3) create the following startup script # file: stackless_web2py.py import os import sys

[web2py:28818] Re: simple join in DAL

2009-08-17 Thread max
sorry for the failure in copy and pasting as i have a lot more fields and i just kept it simple. First Table: my_db.define_table('details', SQLField('lokid'), SQLField(''titel'), ) Second table: my_db.define_table('keywords', SQLField('lokid',my_db.lokid)), SQLField('keyword') ) my search

[web2py:28815] Re: How do I get a cross reference model name?

2009-08-17 Thread Carlos Aboim
Yah I am sorry... my nervous mind! On saying didn't worked I meant there was no change. On rendering I get the page with exactlly the same reference to the 'name' field of database 'cliente' which is a reference to de 'cliente_id'. But I wnat the string in it!! thank you and apologize for the

[web2py:28817] Re: How do I get a cross reference model name?

2009-08-17 Thread mdipierro
I do not see anything wrong in it. If in the view you have something like {{=row.cliente}} that gives you the id you may want to try replace it with {{=registos.obra.cliente.represent(row.cliente)}} On Aug 17, 9:39 am, Carlos Aboim abo...@gmail.com wrote: Yah I am sorry... my nervous mind!

[web2py:28819] Re: Can't get web2py working on dreamhost...

2009-08-17 Thread Jason (spot) Brower
I still can't get this to work. On Sun, Aug 16, 2009 at 7:08 AM, Jason Browerencomp...@gmail.com wrote: Dang, something is certainly wrong here... I wonder if I still need those virtualenv files... This is the error... - [redwings]$ mkvirtualenv web2py -bash: virtualenv: command not

[web2py:28820] Re: How do I get a cross reference model name?

2009-08-17 Thread Carlos Aboim
I don't want the number of the reference (that it shows) I want the 'string' tht is associated to it! Not the cliente_id: ex: 1, 2, 3, 4 But the name of the cliente in cliente.name field! Carlos Aboim 2009/8/17 mdipierro mdipie...@cs.depaul.edu I do not see anything wrong in it. If in

[web2py:28821] Re: simple join in DAL

2009-08-17 Thread mdipierro
I do not think this can be done in query (not a web2py issue but a SQL issue). You need to do s1=db(q1).select(db.details.lokid) s2=db(q2).select(db.keywords.lokid) s = list(set([row.lokid for row in s1]).union(set([row.lokid for row in s2]))) Perhaps somebody else has a better suggestion. On

[web2py:28822] Re: How do I get a cross reference model name?

2009-08-17 Thread mdipierro
I understand what you want. I do not understand why you do not get it but, since I do not know the controller and the view, I am making guesses. The function registos.obra.cliente.represent does the conversion you want. The issue is whether you are calling it or not. On Aug 17, 10:33 am, Carlos

[web2py:28823] postgresql error

2009-08-17 Thread ctalley
I've been using SQLite and am trying to migrate to PostgreSQL. I'm getting this error immediately when starting my application... NameError: global name 'psycopg2' is not defined ...on this configuration... operating system: Windows XP web2py: version 1.66.0 source python: version 2.6.2

[web2py:28824] Re: postgresql error

2009-08-17 Thread Yarko Tymciurak
if you try this from cmd shell, what do you get: C: python Python 2.6.2 Type help, copyright, credits or license for more information. import psycopg2 dir('psycopg2') On Mon, Aug 17, 2009 at 10:57 AM, ctalley ctal...@caci.com wrote: I've been using SQLite and am trying to migrate to

[web2py:28825] How to implement FaceBook Connect in Web2py Auth?

2009-08-17 Thread BearXu
The style of FaceBook Login is different from two types mentioned in the Web2py new Chapters. it needs you to click on a button instead of inputing your information like username or password. I see its the new trend of login because the Twitter also support this style. Is there any exiting

[web2py:28826] Re: How to implement FaceBook Connect in Web2py Auth?

2009-08-17 Thread BearXu
Plus, I think the UI of Facebook Login should integrated with the FORM style.So the user can choose if register on this site or login using Facebook Connect,Twitter Connect or others. 2009/8/17 BearXu bearx...@gmail.com The style of FaceBook Login is different from two types mentioned in the

[web2py:28827] Re: postgresql error

2009-08-17 Thread ctalley
from the command prompt... C:\python 'python' is not recognized as an internal or external command, operable program or batch file. On Aug 17, 12:16 pm, Yarko Tymciurak yark...@gmail.com wrote: if you try this from cmd shell, what do you get: C:  python Python 2.6.2 Type help, copyright,

[web2py:28829] Re: How to implement FaceBook Connect in Web2py Auth?

2009-08-17 Thread mdipierro
This is all we have http://www.web2py.com/appliances/default/show/48 On Aug 17, 11:21 am, BearXu bearx...@gmail.com wrote: Plus, I think the UI of Facebook Login should integrated with the FORM style.So the user can choose if register on this site or login using Facebook Connect,Twitter

[web2py:28831] Re: postgresql error

2009-08-17 Thread ctalley
web2py.exe is on the machine, but not running. I'm running from web2py.py (source). Does it matter how it's started? I started it by navigating to the web2py source folder and double clicking web2py.py. On Aug 17, 12:47 pm, Yarko Tymciurak yark...@gmail.com wrote: I see - are you running

[web2py:28832] Re: postgresql error

2009-08-17 Thread Yarko Tymciurak
ok - so that says you have python installed somewhere, and associated with your *.py files (to execute them) - but it is not in your path; You either need to type the path to your python executable (on windows, the default would be something like c:/python/python.exe) or add it to your path

[web2py:28830] Re: postgresql error

2009-08-17 Thread Pynthon
Hmm, did you installed Python :P? 2009/8/17 ctalley ctal...@caci.com from the command prompt... C:\python 'python' is not recognized as an internal or external command, operable program or batch file. On Aug 17, 12:16 pm, Yarko Tymciurak yark...@gmail.com wrote: if you try this from

[web2py:28833] web2py in events/meetings

2009-08-17 Thread Álvaro Justen [Turicas]
Hi all, I'm creating this thread to endorse that WE (yes, web2py-users!) must do presentations and talks about web2py - this framework only will be widely used if WE start to spread it. In Brazil we have web2py-users-brazil group[1] that I created and I'm trying to spread web2py into free/libre

[web2py:28834] Adopt a page layout for Web2Py

2009-08-17 Thread JohnMc
I have been approached by a school group to update an existing webpage. All Pro Bono. I intend to use their existing layout since they like it. So I am following the guidelines in the AlterEgo How to make a good page layout. I have -- * created the subfolder in /static and added all the

[web2py:28835] Re: Adopt a page layout for Web2Py

2009-08-17 Thread Fran
On Aug 17, 7:12 pm, JohnMc maruadventu...@gmail.com wrote: title{{=response.title if response.title else request.application)}}/title -- error title{{=response.title if response.title else request.application}}/ title You had an extra ) F

[web2py:28836] Re: Adopt a page layout for Web2Py

2009-08-17 Thread JohnMc
Heh. Wouldn't ya know it. Thanks Fran. On Aug 17, 1:37 pm, Fran francisb...@googlemail.com wrote: On Aug 17, 7:12 pm, JohnMc maruadventu...@gmail.com wrote: title{{=response.title if response.title else request.application)}}/title -- error title{{=response.title if response.title else

[web2py:28837] Unwanted text in Form

2009-08-17 Thread Pynthon Pynthon
Hello I have some unwanted text in my form. Here is the code (nah I did not forget it this time Massimo *grin*). The problem is it puts this on my screen: ID: 1 Title: Title (field) Body: Body (field) But I don't want the ID text. How can I fix this? Thanks!

[web2py:28839] possible bug in SQL WHERE clause parser

2009-08-17 Thread rb
In my client code (of my thick xmlrpc client) I perform a Read (or Select) with code, some of which follows: --- def Read( self, keyName=pri, maxRowCount=0): keyColNames = self.tblInfo.GetKeyColNames(keyName) keySegValues = self.record.GetNonNullColValues (keyColNames)

[web2py:28840] Re: Unwanted text in Form

2009-08-17 Thread Pynthon
Lol, this is no joke I did really forgot it again: http://pastebin.com/f3dd6c821. 2009/8/17 Pynthon Pynthon forumx...@gmail.com Hello I have some unwanted text in my form. Here is the code (nah I did not forget it this time Massimo *grin*). The problem is it puts this on my screen: ID: 1

[web2py:28841] Reddit Story Link does not work

2009-08-17 Thread Bottiger
Hello Massimo, I've noticed that you posted a reddit story here. http://www.reddit.com/r/programming/comments/9bg5i/draft_chapters_of_new_web2py_book_covers_forms/ Unfortunately, the link to the pdf does not work (at least for me). It does not appear to be a pdf file, and here is the binary

[web2py:28838] Re: cron issue

2009-08-17 Thread d77
Hello, I have a similar problem with the crontab. Did you solve your problem ? I'm interested in the solution. Kind regards. Denis On 12 août, 17:20, npye nick@gmail.com wrote: Hello, I'm having a problem with cron ... I have a cron task ( runs a script to update the DB ) defined in the

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

2009-08-17 Thread DenesL
On Aug 14, 4:12 pm, Timbo tfarr...@swgen.com wrote: This is really cool! Good Job! Perhaps you can get around 1 by having Apache handle the encryption and 2 by not using cron? I believe IBM's version of Apache server does not handle wsgi but I might be wrong. That would mean installing

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

2009-08-17 Thread Bottiger
I am planning to put up a web2py community website soon. I have only seen one website with a list of Web2Py powered websites here: http://www.appliedstacks.com/NewestFirst/web2py Unfortunately, it is very ugly, not web2py specific, probably isn't powered by web2py, and some of them are even

[web2py:28844] Re: Reddit Story Link does not work

2009-08-17 Thread Yarko Tymciurak
On Mon, Aug 17, 2009 at 3:34 PM, Bottiger bottig...@gmail.com wrote: Hello Massimo, I've noticed that you posted a reddit story here. http://www.reddit.com/r/programming/comments/9bg5i/draft_chapters_of_new_web2py_book_covers_forms/ Unfortunately, the link to the pdf does not work (at

[web2py:28845] Re: Reddit Story Link does not work

2009-08-17 Thread Bottiger
Well I am saying this because I know you cannot change the link of a Reddit story. I've already seen the drafts. People are probably clicking on it, finding out it doesn't work, and then downvoting the story. I suggest that Massimo delete it quickly before more people get annoyed. On Aug 17,

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

2009-08-17 Thread mdipierro
It is not a bug. db(query) query can be a DAL query or a SQL query (string). mind that what are you doing is dangerous unless you have a way to restrict who can access that xmlrpc function to the administrator. On Aug 17, 3:29 pm, rb rbspg...@gmail.com wrote: In my client code (of my thick

[web2py:28848] Re: Unwanted text in Form

2009-08-17 Thread mdipierro
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. 2009/8/17 Pynthon Pynthon forumx...@gmail.com Hello I have some unwanted text in my form. Here is the code  (nah I did

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

2009-08-17 Thread mdipierro
Let me know if I can help. On Aug 17, 3:45 pm, Bottiger bottig...@gmail.com wrote: I am planning to put up a web2py community website soon. I have only seen one website with a list of Web2Py powered websites here: http://www.appliedstacks.com/NewestFirst/web2py Unfortunately, it is very

[web2py:28850] Re: web2py 1.66.0 is out

2009-08-17 Thread Jonathan Lundell
On Aug 17, 2009, at 12:20 AM, mdipierro wrote: please remove verbose=True I will fix this in trunk. The mercurial folks must have a problem with backward compatibility of APIs. It seems that these options have been moved to the ui section of hgrc.

[web2py:28851] records from a form

2009-08-17 Thread FERNANDO VILLARROEL
Dear All. I am trying get records from a form like this: controller: def llamados(): import time hoy=time.time() desde=time.strftime('%Y-%m-%d 00:00:00',time.localtime(hoy)) hasta=time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(hoy))

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

2009-08-17 Thread Anand Vaidya
I am planning to present web2py in the next Python User Group in Singapore (Sep/Oct) Regards Anand --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to

[web2py:28853] an Auth security recommendation

2009-08-17 Thread BearXu
I found that the default setting of the password from other auth login methods is password. I think maybe the user should change this setting. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To

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

2009-08-17 Thread Anand Vaidya
Oh, BTW, we should probably collaborate on the presentation material too! -Anand On Aug 18, 9:35 am, Anand Vaidya anandvaidya...@gmail.com wrote: I am planning to present web2py in the next Python User Group in Singapore (Sep/Oct) Regards Anand

[web2py:28855] bug in auth (with 'username' field in 'auth_user' table) : web2py 1.66.0

2009-08-17 Thread ionel
If in form, username and password fields are empty: Traceback (most recent call last): File C:\site\web2py\gluon\restricted.py, line 178, in restricted exec ccode in environment File C:/site/web2py/applications/phoenix/controllers/default.py, line 88, in module File

[web2py:28856] Re: bug in auth (with 'username' field in 'auth_user' table) : web2py 1.66.0

2009-08-17 Thread Jonathan Lundell
On Aug 17, 2009, at 8:00 PM, ionel wrote: File C:\site\web2py\gluon\validators.py, line 1745, in __call__ failures.append(Minimum length is %s, str(self.min)) TypeError: append() takes exactly one argument (2 given) Hey, it could work in C

[web2py:28857] Re: Reddit Story Link does not work

2009-08-17 Thread Bottiger
Well its too late now, but as a rule of thumb, only 2% of visitors ever bother to read the comments of a website. On Aug 17, 2:28 pm, Yarko Tymciurak yark...@gmail.com wrote: Right - I posted a comment on reddit with the link corrections. On Mon, Aug 17, 2009 at 3:58 PM, Bottiger

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

2009-08-17 Thread ed
In sqlite I was able to register and login. However, in mysql I was able to register only and was not able to login. On Aug 18, 11:49 am, ed edbi...@rocketmail.com wrote: Hi, I recently downloaded web2py 1.66 and tried Welcome app out of the box using sqlite, it worked. I changed to mysql and

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

2009-08-17 Thread mdipierro
Feel free to reuse any of the slides already posted online. If you need anything in particular just ask. Massimo On Aug 17, 8:36 pm, Anand Vaidya anandvaidya...@gmail.com wrote: Oh, BTW, we should probably collaborate on the presentation material too! -Anand On Aug 18, 9:35 am, Anand

[web2py:28861] Re: bug in auth (with 'username' field in 'auth_user' table) : web2py 1.66.0

2009-08-17 Thread mdipierro
This is a bug. I will fix and post 1.66.1 today On Aug 17, 10:00 pm, ionel ionelanton...@gmail.com wrote: If in form, username and password fields are empty: Traceback (most recent call last):   File C:\site\web2py\gluon\restricted.py, line 178, in restricted     exec ccode in environment  

[web2py:28862] Re: Reddit Story Link does not work

2009-08-17 Thread mdipierro
In this case the 2% are the good ones! On Aug 17, 10:13 pm, Bottiger bottig...@gmail.com wrote: Well its too late now, but as a rule of thumb, only 2% of visitors ever bother to read the comments of a website. On Aug 17, 2:28 pm, Yarko Tymciurak yark...@gmail.com wrote: Right - I posted a

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

2009-08-17 Thread mdipierro
Can you tell us more? What is in the database after registration? Try appamdin. On Aug 17, 11:01 pm, ed edbi...@rocketmail.com wrote: In sqlite I was able to register and login. However, in mysql I was able to register only and was not able to login. On Aug 18, 11:49 am, ed

[web2py:28864] Re: an Auth security recommendation

2009-08-17 Thread mdipierro
That is not the valut of the password field. It is the name of the password field. Its main purpose is allow using Auth with database engines that do not allow a database field to be called password (for example Firebird). Massimo On Aug 17, 8:35 pm, BearXu bearx...@gmail.com wrote: I found

[web2py:28865] bug in IS_LENGTH, 1.66.1 posted

2009-08-17 Thread mdipierro
1.66.1 posted fixes a bug in IS_LENGTH allows actions to return unicode strings (automatically converted to utf8) please check it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to