[web2py:16832] Authentication with the new table doesn't work...

2009-02-24 Thread Jason Brower
I have the system setup, thanks to the help of a polish friend, and it seems to successfully register new users into the database. The issue lies in my login. It seems that the data itself it saved, but I notice that the password is set a string. It is not hashed. I think this is where the prob

[web2py:16833] Critical point in web2py

2009-02-24 Thread Joe Barnhart
It seems to me that we have reached a critical point in web2py. The development of web2py has been at such an accelerated pace that the environment has far outpaced its pool of documentation and examples. I am using the latest stable version and loving the new capabilities of "auth" and "crud",

[web2py:16834] Re: Critical point in web2py

2009-02-24 Thread Markus Gritsch
On Tue, Feb 24, 2009 at 10:15 AM, Joe Barnhart wrote: > > From where I sit, documentation and examples are the #1 problem faced > by web2py today. +1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Fram

[web2py:16835] Re: Critical point in web2py

2009-02-24 Thread Jason Brower
Though I know very little about web2py itself, I am willing to help contribute to better documentation where ever I can. How can I help? Regards, Jason Brower On Tue, 2009-02-24 at 01:15 -0800, Joe Barnhart wrote: > It seems to me that we have reached a critical point in web2py. > > The developm

[web2py:16836] Re: Critical point in web2py

2009-02-24 Thread AchipA
+1. My suggestion is to have an as detailed as possible changelog when a new version is released. This is a lot of time, admittedly, but would allow for people who do not enjoy spending the whole day in the gluon dir to integrate these detailed changelogs into the actual docs and take some load of

[web2py:16837] Re: Can hardcron work without being triggered by a request?

2009-02-24 Thread AchipA
Kind off puzzled myself. I can confirm that the windows distrib runs softcron, BUT, running it from the command line, from sources, DOES result in default hardcron. I'm not sure what the difference is between the distribution and source 'modes' are but apparently the two are not the same for some

[web2py:16838] Re: Critical point in web2py

2009-02-24 Thread Iceberg
+1 for improving documents, of course. I am not sure what Achipa means about changelog, but I believe the developer of a new feature is the most appropriate person to write some description about: 1. what is it; 2. how to use it? 3. background info (if any) I am afraid that changelog can no

[web2py:16839] Re: Critical point in web2py

2009-02-24 Thread Markus Gritsch
On Tue, Feb 24, 2009 at 12:37 PM, Iceberg wrote: > > Actually, most kindly buddies already wrote some decent docs. The > recent two examples I knew is Massimo's excellent doc about the new > tools: >  http://mdp.cti.depaul.edu/examples/default/tools Although being better than nothing, I would no

[web2py:16840] Re: Critical point in web2py

2009-02-24 Thread vihang
I think we need a bit more organized effort here. For instance someone can take a lead on docs. He could create a TOC of a manual/wiki, and then we can individually pick sections to fill in the doc/wiki, i.e. be a contributor. Point being there has to be someone constantly looking at it and adding

[web2py:16841] Re: Critical point in web2py

2009-02-24 Thread Alexandre Miguel de Andrade Souza
I think it is a really good idea. +1 2009/2/24 vihang > > I think we need a bit more organized effort here. For instance someone > can take a lead on docs. He could create a TOC of a manual/wiki, and > then we can individually pick sections to fill in the doc/wiki, i.e. > be a contributor. Poin

[web2py:16842] Re: Critical point in web2py

2009-02-24 Thread Timothy Farrell
This is why I pushed for having a wiki. Granted that now the wiki's CSS needs to be fixed, but this allows us all to have community-based documentation. With no offense intended, I don't think Massimo should be the one to write the docs. He's done a lot and things are plain to him that are

[web2py:16843] Re: Critical point in web2py

2009-02-24 Thread weheh
Agreed that skinny Doc is the #1 issue facing web2py and new users. If Doc goes on steroids web2py will end up in hall of fame for sure! +++1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" grou

[web2py:16844] Re: Critical point in web2py

2009-02-24 Thread Alexandre Miguel de Andrade Souza
I think I could help in documentation. Massimo, can you create a wiki to we begin to work? 2009/2/24 Timothy Farrell > > This is why I pushed for having a wiki. Granted that now the wiki's CSS > needs to be fixed, but this allows us all to have community-based > documentation. With no offen

[web2py:16845] Re: Critical point in web2py

2009-02-24 Thread AchipA
Yes, of course, I wasn't thinking about changelog in terms of format, but content (snippets which others can base their doc work on). The trouble with coders writing their own docs is that what might be obvious to the author isn't to the public. Also, different people have different styles, docs r

[web2py:16846] Re: Authentication with the new table doesn't work...

2009-02-24 Thread mdipierro
I think you just need: db.users.password.requires = [IS_NOT_EMPTY(), CRYPT()] On Feb 24, 2:48 am, Jason Brower wrote: > I have the system setup, thanks to the help of a polish friend, and it > seems to successfully register new users into the database.  The issue > lies in my login.  It seems t

[web2py:16847] Re: Critical point in web2py

2009-02-24 Thread mdipierro
This is not a new idea but I am happy to see new enthusiasm about it. I created this wiki some time ago: https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/main versioning was missing. Do you think we need another one or additional features? You can also create new pages in AlterEgo. Massimo

[web2py:16848] Re: Critical point in web2py

2009-02-24 Thread LEF
+1 I also think this is crucial. Massimo's book, is fast becoming out of date with each new feature. This makes the situation worse. Maybe it is time to slow down development and concentrate on full online documentation and any bug fixing/house keeping with the code base. --~--~-~--~

[web2py:16851] Re: DAL mssql DSN connection

2009-02-24 Thread DenesL
On Feb 22, 10:47 am, carlo wrote: > db400=pyodbc.connect("DSN=myAS400;UID=myUID;PWD=myPWD") carlo, are you using iSeries Access to define this DSN? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framewo

[web2py:16849] T3 on appengine questions

2009-02-24 Thread Efe
After investigating for a while, I have decided to use T3 on appengine to build a website for my company. I got everything right as it was easy, T3 is working on appengine nicely, it allows me to create pages all nice. But i have couple of problems 1) i dont know how to map directly www.mydomai

[web2py:16852] Re: Critical point in web2py

2009-02-24 Thread mdipierro
I think in 1.55/1.56 we got a lot of new features. The manual was fine before that. I agree that now the documentation behind. Here is my list of priorities: 1) create a uniform interface in tools to all services (json, jsonrpc, xmlrpc, pyamf, etc.) 2) amend the manual meanwhile, if time permits

[web2py:16853] Re: T3 on appengine questions

2009-02-24 Thread mdipierro
> 1) i dont know how to map directlywww.mydomain.com to > myapp.appspot.com/myt3app/default/wiki/main On GAE you have two options. Ask the domain name registrar to do it (other they can via parking) or map the domain into yourapp.appspot.com can call your app "init". Or write an app "init" that l

[web2py:16850] T3 on appengine questions

2009-02-24 Thread Efe
After investigating for a while, I have decided to use T3 on appengine to build a website for my company. I got everything right as it was easy, T3 is working on appengine nicely, it allows me to create pages all nice. But i have couple of problems 1) i dont know how to map directly www.mydomai

[web2py:16854] Re: Critical point in web2py

2009-02-24 Thread vihang
- I had seen the wiki at https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/main earlier, but it seemed like a non-starter because it did not come out as a wiki we all are used to seeing typically... format-wise. Also, we should start by focusing just on Web2py and keep it simple (refering to T

[web2py:16855] Re: Critical point in web2py

2009-02-24 Thread mdipierro
Excellent points On Feb 24, 10:49 am, vihang wrote: > - I had seen the wiki > athttps://mdp.cti.depaul.edu/web2py_wiki/default/wiki/main > earlier, but it seemed like a non-starter because it did not come out > as a wiki we all are used to seeing typically... format-wise. Also, we > should sta

[web2py:16856] Re: DAL mssql DSN connection

2009-02-24 Thread carlo
I suppose iSeries Access is the new name for the old Client Access: in this case yes. Or better said, the DSN is created in Windows ODBC connections but you need the odbc driver which comes with Client Access. carlo On 24 Feb, 16:05, DenesL wrote: > On Feb 22, 10:47 am, carlo wrote: > > > db40

[web2py:16857] Re: Ubuntu Apache server setup problem

2009-02-24 Thread AchipA
The problem with non-official repositories is that I cannot guarantee to be in-sync with the official ones and also am not sure about all the 'regulations' that might be in effect for a particular distribution. I can make a package that works (in my own repo) but it might break something for someo

[web2py:16858] Re: DAL mssql DSN connection

2009-02-24 Thread DenesL
On Feb 22, 8:29 pm, mdipierro wrote: > cd gluon > python sql.py 'db2:DSN=myAS400;UID=myUID;PWD=myPWD' It works fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this grou

[web2py:16859] Re: DAL mssql DSN connection

2009-02-24 Thread mdipierro
I cannot believe it passes all tests at the first pass. Can you actually check it is connecting to the db and storing something? Massimo On Feb 24, 1:04 pm, DenesL wrote: > On Feb 22, 8:29 pm, mdipierro wrote: > > > cd gluon > > python sql.py 'db2:DSN=myAS400;UID=myUID;PWD=myPWD' > > It works

[web2py:16860] Re: Ubuntu Apache server setup problem

2009-02-24 Thread mdipierro
Achipa, I think you should contact the maintainer of one of the official repositories and figure out the process. Massimo On Feb 24, 12:56 pm, AchipA wrote: > The problem with non-official repositories is that I cannot guarantee > to be in-sync with the official ones and also am not sure about

[web2py:16861] Re: DAL mssql DSN connection

2009-02-24 Thread DenesL
I tried emailing you but I get: : No MX or A records for cs.depaul.edu I tested using IDLE: >>> import sys >>> sys.path.append('c:\\web2py\\trunk') >>> sys.path.append('c:\\web2py\\trunk\\gluon') >>> import sql WARNING:root:no file locking >>> sql.SQLDB('db2:DSN=dot8;UID=test;PWD=db2py') , '_la

[web2py:16862] Re: DAL mssql DSN connection

2009-02-24 Thread DenesL
(Using pyodbc-2.1.3.win32-py2.5) Version 1.56.4 (2009-02-23 09:43:44) Database drivers available: SQLite3, MSSQL/DB2 Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole) >>

[web2py:16863] convert SQLRows to list

2009-02-24 Thread ctalley
Given these statements... rows=db(db.colortable.color!=None).select() print rows ...that return something like this... colortable.color red green blue How can 'rows' (a SQLRows object) be converted to a list like this... colorlist=['red','green','blue'] ...such that 'print colorlist' would prod

[web2py:16864] Re: convert SQLRows to list

2009-02-24 Thread DenesL
colorlist=[ c[1] for c in rows.response ] or colorlist=[ str(c[1]) for c in rows.response ] if you don't want encoding. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this

[web2py:16865] Can't pass formname to view

2009-02-24 Thread Jim
I'm attempting to use http://www.plus2net.com/html_tutorial/set-focus.php to set the focus to a search box for the user. However, I'm having problems because I can't pass the formname from the controller to the view. I can set it on the controller side but it does not show up on the view side.

[web2py:16866] Re: DAL mssql DSN connection

2009-02-24 Thread mdipierro
Can you try change line 785 from self._execute = lambda *a, **b: self._cursor.execute(*a, **b) to self._execute = lambda a: self._cursor.execute(a[:-1]) Any better? Massimo On Feb 24, 1:54 pm, DenesL wrote: > (Using pyodbc-2.1.3.win32-py2.5) > > Version 1.56.4 (2009-02-23 09:43:44) > Data

[web2py:16867] Re: Can't pass formname to view

2009-02-24 Thread mdipierro
Only arguments starting in _ get passed. You want return dict(form=FORM('business: ',INPUT(_id='keyword', _onkeyup="ajax('bg_find', ['keyword'],'target');"),_name='f1'), target_div=DIV(_id='target')) On Feb 24, 3:43 pm, Jim wrote: > I'm attempting to usehttp://www.

[web2py:16868] help bragging...

2009-02-24 Thread mdipierro
This page scores very high when googling web2py http://www.reddit.com/comments/6kfye/web2py_or_django_which_would_you_use_for_a_new_app feel free to post your opinion --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[web2py:16869] government data source in xml

2009-02-24 Thread mdipierro
This may be useful. Can you think of any cool app? http://usgovxml.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To un

[web2py:16870] Re: DAL mssql DSN connection

2009-02-24 Thread DenesL
On Feb 24, 4:44 pm, mdipierro wrote: > Can you try change line 785 from > > self._execute = lambda *a, **b: self._cursor.execute(*a, **b) > > to > > self._execute = lambda a: self._cursor.execute(a[:-1]) In my sql.py the line number is 789, changed as instructed. > > Any better? > >>> db=SQLDB

[web2py:16871] Re: DAL mssql DSN connection

2009-02-24 Thread mdipierro
guess not. leave it as it was. One of the execute in create table was failing. Perhaps it did not like the trailing ; or traling \n. Or perhaps the query was wrong. Can you help debug which one was failing? Massimo On Feb 24, 4:37 pm, DenesL wrote: > On Feb 24, 4:44 pm, mdipierro wrote: > > >

[web2py:16873] Re: Critical point in web2py

2009-02-24 Thread Joe Barnhart
One problem is that our docs are too fragmented at present. Perhaps we should undertake a central wiki and bring all of the other content into it. A single wiki could handle: -- AlterEgo documents -- Appliances -- the current Wiki -- important articles such as the Auth page on web2py.com --

[web2py:16872] Re: Critical point in web2py

2009-02-24 Thread Jason Brower
As it looks like, it seems that a lot of the documentation and website are hosted on the university server. I have some dreamhost space if anyone wants to scrape up the 10 a year for domain name. They have a media wiki I can quickly setup there. Not sure if I can setup web2py, but I still think

[web2py:/] Using a new domain...

2009-02-24 Thread Jason Brower
Another thing about having a new domain, it can be a good time to make a site that allows other web2py code to be uploaded. For example if you have a project that uses web2py, then you can host that content there in a nice way. Wiki's are nice, but they can never replace a good web2py page. :P R

[web2py:16875] Re: Authentication with the new table doesn't work...

2009-02-24 Thread Jason Brower
Sadly with the change it still is giving the same issue. I can register successfully. When I try to login, it tells me that it was an "invalid login". Although it is nice having the password "crypted". Woot! Regards, Jason Brower On Tue, 2009-02-24 at 06:38 -0800, mdipierro wrote: > I think you

[web2py:16876] Re: Critical point in web2py

2009-02-24 Thread Jason Brower
I hope we can find a way to keep the dev momentum going and work on the docs. Regards, Jason On Tue, 2009-02-24 at 06:00 -0800, LEF wrote: > +1 > I also think this is crucial. Massimo's book, is fast becoming out of > date with each new feature. This makes the situation worse. Maybe it > is time t

[web2py:16877] Re: Authentication with the new table doesn't work...

2009-02-24 Thread Joe Barnhart
Double-check your email address and see if you used any capital letters. This is exactly the scenario my users get when they register an email addy with upper/lower case characters and then don't enter it exactly the same way during login. The login email address is case- sensitive!!! On Feb 24

[web2py:16878] Re: T3 on appengine questions

2009-02-24 Thread Efe
thanks Massimo, while further googling web2py, i got the answer to my first question here; http://dotnetmafia.com/blogs/jamesashley/archive/2008/05/13/581.aspx i know how to map the domain in google apps/appengine, so naming T3 app as 'init' redirects and works out well, but URL looks a little u

[web2py:16879] GAE: orderby bug:

2009-02-24 Thread Sebastian E. Ovide
Hi All, following the documentation about orderby ( http://mdp.cti.depaul.edu/AlterEgo/default/show/35) I'm getting an error on this instruction: r=db().select(orderby=~db.cas_user.first_name) (db().select(db.cas_user.ALL) works) the errors I'm getting is ERROR2009-02-25 02:33:33,566 mai

[web2py:16880] Re: Authentication with the new table doesn't work...

2009-02-24 Thread Jason Brower
I just checked it. You know, it may be nice to just lower case them emails (New features: db.users.blabla(TO_LOWER_CASE()) or something like that). I don't there are currently any "multi"-case emails are there? Regards, Jason On Tue, 2009-02-24 at 18:07 -0800, Joe Barnhart wrote: > Double-check

[web2py:16881] Re: GAE: orderby bug:

2009-02-24 Thread mdipierro
You need to specify what to sort r=db().select(db.cas_user.ALL,orderby=~db.cas_user.first_name) On Feb 24, 8:37 pm, "Sebastian E. Ovide" wrote: > Hi All, > > following the documentation about orderby > (http://mdp.cti.depaul.edu/AlterEgo/default/show/35) > > I'm getting an error on this instru

[web2py:16882] Re: Authentication with the new table doesn't work...

2009-02-24 Thread mdipierro
the validator IS_LOWER() does what you say: converts to lower case. The problem is that if you have already data in lower case you must do db(db.table.id>0).update(email=db.table.email.lower()) ### does not work on GAE On Feb 24, 8:37 pm, Jason Brower wrote: > I just checked it. You know, it

[web2py:16883] earn more money in 2009>>>>>>>>>>>>>>>>>>>>

2009-02-24 Thread selvaz
no investment: no physical work: no tension: earn more money in the home: per day earning is 10$ to 12$: we can do it as part time job: click here below: http://internettelephony.webs.com/ --~--~-~--~

[web2py:16884] NAMITHA ? PICTURES

2009-02-24 Thread NAMITHA
NAMITHA ? PICTURES AND XXX ?MOVIES * WWW.GEOCITIES.COM/HARANH28/ * --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this

[web2py:16885] IIS6+web2py+MSSQL

2009-02-24 Thread Kirby Turner
Hi All, There is a possibility I can convince a customer of mind to switch from ASP.NET MVC to web2py. The catch? It must run under IIS 6 with SQL Server 2005. Are there others hosting production web2py apps under IIS 6 with MSSQL 2005? If so, how was the setup experience? Difficult,

[web2py:16886] Re: IIS6+web2py+MSSQL

2009-02-24 Thread Paul Eden
I don't have any production experience yet with web2py under IIS but I do know that it hypothetically runs because the cherrypy webserver that web2py runs on is wsgi compatible and there is a wsgi adapter for IIS (http://code.google.com/p/isapi-wsgi/). I have used MSSQL 2005 with python using the

[web2py:16887] Re: Authentication with the new table doesn't work...

2009-02-24 Thread Jason Brower
Would just sending my app to someone be a quicker solution in this case? I can't see what it wrong with this app at this point. Regards, Jason Brower On Tue, 2009-02-24 at 18:07 -0800, Joe Barnhart wrote: > Double-check your email address and see if you used any capital > letters. This is exactl

[web2py:16888] Re: Authentication with the new table doesn't work...

2009-02-24 Thread mdipierro
send it to me. But please state the problem clearly in the email since I am not convinced I understand it. Massimo On Feb 24, 10:00 pm, Jason Brower wrote: > Would just sending my app to someone be a quicker solution in this case? > I can't see what it wrong with this app at this point. > Regar

[web2py:16889] Re: IIS6+web2py+MSSQL

2009-02-24 Thread mdipierro
According to this http://code.google.com/p/isapi-wsgi/wiki/ISAPISimpleHandlerDocs the iis-wsgi adapter is single threaded. If this means what I think it means I would not use it. You can, instead use fastCGI which is provided by Microsoft http://www.iis.net/downloads/default.aspx?tabid=3

[web2py:16890] Re: web2py server for automations

2009-02-24 Thread Cro
Good day, ArchipA. I tried to play with PostConnectionTask a lot of times, but failed. I tried this : # from gluon.contrib.wsgihooks import PostConnectionTask, localposttasks import logging # class dummy(PostConnectionTask): def __init__(self): PostConnectionTask.__init__(self, reque

[web2py:16891] Remote Refresh

2009-02-24 Thread Cro
Hello again. I wonder if there is any possibility to call a refresh on the page when a certain event on the server occurs. For example, i have a server for a 'in-browser-game'. It's a real time strategy game. (quite improbable, but possible) Now, if the player doesn't do anything at all, the brow