[web2py:15175] Re: Web2py performance problems

2009-01-21 Thread voltron
Thanks Massimo, I will try that out On Jan 20, 8:05 pm, mdipierro wrote: > Voltron, > > if you have more than 100 cuncurrent users you should not use > wsgiserver. You need to use mod_wsgi. I would not swear on wsgiserver > on that heavy load. > > You also have 100 database connections. Make sur

[web2py:15176] Re: future of T2 is *almost* here

2009-01-21 Thread mdipierro
yes but only so that you can test them and provide feedback. I hope to finalize the APIs and documentations within the week. also I would like to change the name of the file from utils.py to something more catchy. Any suggestion? Massimo On Jan 21, 1:33 am, David Marko wrote: > These things lo

[web2py:15177] Mod_WSGI deployment problem

2009-01-21 Thread voltron
I cannot get my site to work using WSGI, this is the error I see in the Apache configs: [Wed Jan 21 10:57:11 2009] [error] [client 195.145.60.19] mod_wsgi (pid=31101): Target WSGI script '/projects/test_site/wsgihandler.py' cannot be loaded as Python module. [Wed Jan 21 10:57:11 2009] [error] [cl

[web2py:15178] Re: Mod_WSGI deployment problem

2009-01-21 Thread mdipierro
try edit wsgihandler.py and replace this line path=os.path.dirname(os.path.abspath(__file__)) with path='/bla/bla/bla' where '/bla/bla/bla' should be the absolute path to your web2py folder '/.../ web2py/' and make sure you have the folder gluon in there. Massimo On Jan 21, 4:09 am, voltro

[web2py:15180] Re: Mod_WSGI deployment problem

2009-01-21 Thread voltron
Hi Massimo! thanks for your help. Sadly, that did not work either , another idea? Thanks On Jan 21, 11:31 am, mdipierro wrote: > try edit wsgihandler.py and replace this line > > path=os.path.dirname(os.path.abspath(__file__)) > > with > > path='/bla/bla/bla' > > where > > '/bla/bla/bla' shoul

[web2py:15179] Re: CAS on GAE

2009-01-21 Thread mdipierro
good, let us know. On Jan 20, 7:47 pm, "Sebastian E. Ovide" wrote: > ok... I had assumed that it was setted to work both with sqlite and GAE... > > I've replaced > > db=SQLDB('sqlite://identity.db') > > with > > try: >     from gluon.contrib.gql import *         # if running on Google App > Engi

[web2py:15181] Re: future of T2 is *almost* here

2009-01-21 Thread Jonathan Benn
On Jan 21, 12:46 pm, mdipierro wrote: > also I would like to change the name of the file from utils.py to > something more catchy. Any suggestion? high_level_enhancements.py ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[web2py:15182] Re: future of T2 is *almost* here

2009-01-21 Thread Markus Gritsch
On Wed, Jan 21, 2009 at 12:08 PM, Jonathan Benn wrote: > On Jan 21, 12:46 pm, mdipierro wrote: > >> also I would like to change the name of the file from utils.py to >> something more catchy. Any suggestion? > > high_level_enhancements.py ? Way to unwieldy, IMO. The gluon folder already contai

[web2py:15183] IS_URL and Unicode URLs

2009-01-21 Thread Jonathan Benn
Hi all, About 2 months ago we were discussing allowing the IS_URL validator to validate Unicode URLs. I did some research, and learned that Python 3.0 supports the necessary codecs to do this. In Python 3, implementing Unicode URLs in IS_URL would require only a few extra lines of code in IS_URL

[web2py:15184] Re: patches

2009-01-21 Thread Jonathan Benn
Hi Massimo, On Jan 20, 8:36 pm, mdipierro wrote: > Make sure they apply to the latest trunk since we have a completely re- > factored template engine, a new SQLFORM that uses widgets, new > SQLField attributes, and cross-platform cron job functionality. Are the web2py syntax/library changes d

[web2py:15186] Re: future of T2 is *almost* here

2009-01-21 Thread Timothy Farrell
I might actually start using T2 functionality now. This is good stuff! mdipierro wrote: > I have a preliminary version of inclusion if T2 functionality into > web2py core. I am not yet promising backward compatibility here. The > module name many change. For now it is in trunk as gluon/utils.py

[web2py:15185] Re: Mod_WSGI deployment problem

2009-01-21 Thread Petros Diveris
Hi, Can you paste in a message the relevant lines from your httpd.conf? Also, what is the location of your web2py installation? Finally, what version of Apache? Cheers On Jan 21, 10:35 am, voltron wrote: > Hi Massimo! > > thanks for your help. Sadly, that did not work either , another idea? >

[web2py:15187] Re: IS_URL and Unicode URLs

2009-01-21 Thread Timothy Farrell
There's no place for a web framework in Python 3 yet because there are no database drivers (except SQLite) and no win32 support. web2py would need these. Most other frameworks use external templating and ORM solutions which will have to be ported over as well for them to work. I've been foll

[web2py:15188] Re: future of T2 is *almost* here

2009-01-21 Thread billf
I've been away a while so I am trying to catch up with all the new stuff. I've downloaded the version in trunk and I'm trying to get my head around it all. My first (admittedly very early) impressions are: 1) The functionality is nice but, personally, I don't see utils.py stuff as core web2py.

[web2py:15189] Re: future of T2 is *almost* here

2009-01-21 Thread Timothy Farrell
So the big question is...what would a plugin system look like? What would you want it to control? Currently the T2 functionality is a set of Python methods that you can expose and add to your app. I agree that it looks cludgy, but how can it be made better? I want to keep things narrow in t

[web2py:15190] Re: patches

2009-01-21 Thread mdipierro
Only in my posts to this group for now. Mind that the old syntax still works. On Jan 21, 6:53 am, Jonathan Benn wrote: > Hi Massimo, > > On Jan 20, 8:36 pm, mdipierro wrote: > > > Make sure they apply to the latest trunk since we have a completely re- > > factored template engine, a new SQLFORM

[web2py:15191] decoding url's

2009-01-21 Thread billf
I'm interested in different forms of url's and had a read about routes.py. But the manual tells me my app shouldn't rely on routes.py being present. So I thought of the following approach (it's the result of all of 15 minutes thinking/code/test so don't expect too much). * I want to be able to

[web2py:15192] Re: future of T2 is *almost* here

2009-01-21 Thread billf
For now, I don't know if there is a difference between module and plugin but let's assume there is to keep it discreet. * a plugin folder * each plugin is a) a file or b) a folder - latter is more flexible if more than file required * an admin UI can display all plugins from the plugin folder

[web2py:15193] Re: Mod_WSGI deployment problem

2009-01-21 Thread voltron
Hi Petros! the location of my web2py installation: "/project/test_site/" # config snippet ServerName test_site.com ### alias the location of applications (for static files) #Alias / /projects/test_site/applications/ ### setup WSGI WSGIScriptAlias / /projects/test_s

[web2py:15194] Re: URGENT! Apache FCGI config

2009-01-21 Thread voltron
Thanks Timothy for your help. I got it to work somewhat based on your files and tutorial. One thing though, I dad to modify the dispatch.fcgi file as in: #!/usr/bin/env python2.5 import os import sys WEB2PY_PATH = os.path.normpath('/path to web2py/') os.chdir(WEB2PY_PATH) if not WEB2PY_PATH i

[web2py:15195] Re: future of T2 is *almost* here

2009-01-21 Thread billf
RE plugins, I think the other area that could be addressed is how web2py allows certain types of plugin to operate. For example, it would be nice if web2py says "I provide for the following types of authorisation at point x, y, and z where I will call a function (either called a, b and c or store

[web2py:15196] Re: decoding url's

2009-01-21 Thread mdipierro
Let's hear some pros/cons from other users. On Jan 21, 8:36 am, billf wrote: > I'm interested in different forms of url's and had a read about > routes.py.  But the manual tells me my app shouldn't rely on routes.py > being present.  So I thought of the following approach  (it's the > result of

[web2py:15197] Re: future of T2 is *almost* here

2009-01-21 Thread mdipierro
Hi Bill, I will try to answer some of the questions you raised in the thread. We had an IRC meeting last week and we agreed that T2 was becoming common and people started to rely on it. At the same time maintaining web2py+T2+T3 as separate entities was becoming a nightmare. We agreed that it was

[web2py:15198] Re: URGENT! Apache FCGI config

2009-01-21 Thread Timothy Farrell
Yes, that's correct. gluon.contrib.gateways.fcgi is an adapter. It looks like fcgi to apache but wsgi to web2py. Glad you got it working. voltron wrote: > Thanks Timothy for your help. I got it to work somewhat based on your > files and tutorial. > One thing though, I dad to modify the dispa

[web2py:15199] Re: future of T2 is *almost* here

2009-01-21 Thread Robin B
To do 'last_modification_timestamp' add the more general cases: oncreate= and onupdate= callbacks to db.Field. A plugin system needs versioning and dependencies, and instead of creating a one off web2py plugin spec, it is better to reuse the standard egg spec. Eggs can be installed as directorie

[web2py:15200] Re: future of T2 is *almost* here

2009-01-21 Thread billf
Massimo I accept that whatever I think, the majority rules and if you don't contribute to the discussion you can't complain about the decision - and I'm not - I think it's all v.healthy. re T2 and plugins: * I think that the very fact that you can take parts of T2 and incorporate them in the c

[web2py:15201] Re: decoding url's

2009-01-21 Thread Timothy Farrell
Well, would this be considered breaking backward compatibility? Since before, if something wasn't there, it would automatically error, but now it looks somewhere else? If someone had a default function already in their controller, this could cause undesired effects. I'm generally in favor of

[web2py:15202] Re: future of T2 is *almost* here

2009-01-21 Thread mdipierro
> * I think that the very fact that you can take parts of T2 and > incorporate them in the core proves that a plugin is not necessarily > an app (in the recognised sense of the word). If Auth is replaceable > by a plugin, it is (or may as well be) a plugin itself.  The key > element is how that pl

[web2py:15203] Re: Mod_WSGI deployment problem

2009-01-21 Thread Fran
On Jan 21, 2:56 pm, voltron wrote: > the location of my web2py installation: "/project/test_site/" > # config snippet > ServerName test_site.com > >     ### alias the location of applications (for static files) >         #Alias / /projects/test_site/applications/ > >         ### setup WSGI >    

[web2py:15204] Re: future of T2 is *almost* here

2009-01-21 Thread vince
would it be better if plugin can share between application so we can only need to maintain one copy? also if the admin page can simplify the plugin installation that would be great. -vince On Jan 22, 2:05 am, mdipierro wrote: > > * I think that the very fact that you can take parts of T2 and >

[web2py:15205] Re: Web2py performance problems

2009-01-21 Thread vince
actually cherrypy can be faster than apache/mod_wsgi sometimes. but i often use mod_wsgi do recommend mod_wsgi as it's quite stable and flexible. i am just wondering how u crash cherrypy even if it's overloaded. -vince On Jan 21, 3:59 pm, voltron wrote: > Thanks Massimo, I will try that

[web2py:15206] Re: future of T2 is *almost* here

2009-01-21 Thread mdipierro
Yes that is the idea. That is what plugin_t2 and plugin_checkout do now. Admin can already handle them since a plugin is also an app. What is missing is a protocol for describing the functionality of the plugin. Massimo Massimo On Jan 21, 12:46 pm, vince wrote: > would it be better if plugin c

[web2py:15207] Re: future of T2 is *almost* here

2009-01-21 Thread Robin B
> What is missing is a protocol for describing the functionality > of the plugin. Paste uses an .ini file to explicitly describe what implements what: [app:myapp] paste.app_factory = myapp.modulename:app_factory http://pythonpaste.org/deploy/#config-format Robin > On Jan 21, 12:46 pm, v

[web2py:15209] Re: FCGI questions

2009-01-21 Thread Timothy Farrell
1) FCGI doesn't use ports. Just use your Apache hostname. 2) (see answer to #1 or use 'localhost' from the server) 3) Apache routes stuff to FCGI via the rewrite command. Read up on how to use it. The setting that I showed you routes all paths to to dispatch.fcgi. You'll want to modify that

[web2py:15208] FCGI questions

2009-01-21 Thread voltron
Hi all! I have a few questins concerning FCGI 1. I used to use mod_proxy, I had 2 web2py instances running on 2 ports, 8000 and 8002, what is the equivalent in FCGI? 2. I used putty to create tunnesl to my server so I can administer the servers remotely, how can I do this using FCGI 3. Using mp

[web2py:15210] Re: decoding url's

2009-01-21 Thread billf
I suppose you could set a global default constructor and default function (in db.py?). If not set then the behaviour would be exactly as before. Other people would probably have a better idea of this than me. Bill On Jan 21, 5:27 pm, Timothy Farrell wrote: > Well, would this be considered bre

[web2py:15211] DAL: Table aliases

2009-01-21 Thread Oleg
Is there some better way to do the next task with DAL? db.define_table('nodes', SQLField('name'), SQLField('parent_id', 'reference nodes')) id1 = db.nodes.insert(name='root') id2 = db.nodes.insert(name='child 1', parent_id=id1) db.nodes.insert(name='child 2', pare

[web2py:15212] Re: FCGI questions

2009-01-21 Thread voltron
hmm, on the contrary, I have seen some configurations of FCGI using IP addresses and ports, but not with Apache, see here: http://samdanielson.com/2007/1/19/fastcgi-ruby-on-rails-with-lighttpd-on-ubuntu 2. Localhost from the server, I do not understand, that would not be remote administration us

[web2py:15213] Re: FCGI questions

2009-01-21 Thread Timothy Farrell
I see. FastCGI "servers" need a socket or pipe to transfer data to/from the webserver. In the case of *nix (mostly) they use a pipes or unix domain sockets (as opposed to TCP sockets). In the case you mentioned, an fcgiserver was set up on a TCP socket. My bad. But for your (Apache) purpo

[web2py:15214] Re: Modules and plugins

2009-01-21 Thread b-global.net
Hi Massimo: Thank you for all your help!!! Now, I have other problem!!! When I modify the imported module, the application use the old module, then I read that I can use: reload(module) But I received an error!!! this is my code: exec('from applications.blog.modules.modulotest2 import MyMod

[web2py:15215] request.args proposal

2009-01-21 Thread vince
request.vars.any will return none if it's not exist. it is possible to add something like request.args.0 or request.args.id0 in addition to request.args[0]. -vince --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web

[web2py:15216] Re: decoding url's

2009-01-21 Thread billf
Looking into it deeper I guess that any changes should be made in main.py - either in wsgibase() or the beginning of serve_controller() as some defaulting is already carried out in these methods ('init' application, 'default' controller, 'index' action, default view name). Are the new defaults fi

[web2py:15218] Re: future of T2 is *almost* here

2009-01-21 Thread mdipierro
I will take a look. Thank you. On Jan 21, 1:33 pm, Robin B wrote: > >  What is missing is a protocol for describing the functionality > >  of the plugin. > > Paste uses an .ini file to explicitly describe what implements what: > > [app:myapp] > paste.app_factory = myapp.modulename:app_factory >

[web2py:15219] Re: DAL: Table aliases

2009-01-21 Thread mdipierro
parent=db.nodes.as('parent') db((db.nodes.name=='child 2')&(db.nodes.parent_id==parent.id)).select (parent.name)[0].name On Jan 21, 2:28 pm, Oleg wrote: > Is there some better way to do the next task with DAL? > > db.define_table('nodes', >                 SQLField('name'), >                 SQL

[web2py:15220] Re: DAL: Table aliases

2009-01-21 Thread Oleg
Awesome!! :) Thank you, Massimo On Jan 21, 10:41 pm, mdipierro wrote: > parent=db.nodes.as('parent') > db((db.nodes.name=='child 2')&(db.nodes.parent_id==parent.id)).select > (parent.name)[0].name > > On Jan 21, 2:28 pm, Oleg wrote: > > > Is there some better way to do the next task with DAL? >

[web2py:15221] Re: Modules and plugins

2009-01-21 Thread mdipierro
On Jan 21, 3:14 pm, "b-global.net" wrote: > Hi Massimo: > > Thank you for all your help!!! > > Now, I have other problem!!! When I modify the imported module, the > application use the old module, then I read that I can use: > >  reload(module) > > But I received an error!!! > > this is my code

[web2py:15222] Re: future of T2 is *almost* here

2009-01-21 Thread billf
What is a PLUGIN file and do any exist already? On Jan 21, 6:05 pm, mdipierro wrote: > > * I think that the very fact that you can take parts of T2 and > > incorporate them in the core proves that a plugin is not necessarily > > an app (in the recognised sense of the word). If Auth is replaceabl

[web2py:15223] Re: request.args proposal

2009-01-21 Thread mdipierro
yes. I was thinking the same. On Jan 21, 3:25 pm, vince wrote: > request.vars.any will return none if it's not exist. > it is possible to add something like request.args.0 or > request.args.id0 in addition to request.args[0]. > > -vince --~--~-~--~~~---~--~~ You r

[web2py:15224] Re: future of T2 is *almost* here

2009-01-21 Thread mdipierro
no. I can use help in "inventing" them. Massimo On Jan 21, 3:45 pm, billf wrote: > What is a PLUGIN file and do any exist already? > > On Jan 21, 6:05 pm, mdipierro wrote: > > > > * I think that the very fact that you can take parts of T2 and > > > incorporate them in the core proves that a pl

[web2py:15225] Re: FCGI questions

2009-01-21 Thread Timothy Farrell
Oh dang, virtual hosts. You're screwed! But seriously, you have few options but they are all ugly: - get a SSL certificate - spoof the virtual hostname in your browser (there used to be an Addon for Firefox that did this) and use SSH That's all I can think of. Have fun. voltron wrote: > 2.

[web2py:15217] Re: FCGI questions

2009-01-21 Thread voltron
2. Sorry to be so bothersome, one last thing, I am using vhosts, I have 2 instances of web2py using FCGI, one is a subdomain and both send on port 60 since Apache ist listening on all IPs *:80 test.mydomian.com www.mydomain.com so how do I differentiate which one I am connecting to via SSH? 3.

[web2py:15226] wsgi webfaction how-to

2009-01-21 Thread dhmorgan
Settting up Web2py as WSGI on Webfaction Make available two subdomain names, one for adminstration, the other for public display: 'admin.example.com' 'www.example.com' Create a webfaction application of type "mod_wsgi 2.0/Python 2.5": 'apachewsgi' Create two webfaction sites that :

[web2py:15227] Re: wsgi webfaction how-to

2009-01-21 Thread Timothy Farrell
It would be really great if you could put in this in the www.web2pywiki.com dhmorgan wrote: > Settting up Web2py as WSGI on Webfaction > > Make available two subdomain names, one for adminstration, the other > for public display: > 'admin.example.com' > 'www.example.com' > > Create a webf

[web2py:15228] Re: FCGI questions

2009-01-21 Thread mdipierro
voltron is expecting hunderds of requests/second. I strongly suggest getting at least two machines for the different virtual hosts. Massimo On Jan 21, 3:48 pm, Timothy Farrell wrote: > Oh dang, virtual hosts.  You're screwed! > > But seriously, you have few options but they are all ugly: >  - g

[web2py:15229] Re: wsgi webfaction how-to

2009-01-21 Thread dhmorgan
I have now put the above content in the wiki under "web2py/Setup/" https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/webfactionWSGI It misses some things I'll change soon -- static file handling in particular; but this is a reasonably good start. On Jan 21, 4:11 pm, Timothy Farrell wrote: >

[web2py:15230] t3 bugs

2009-01-21 Thread Wes James
I downloaded web2py trunk yesterday. (Version 1.56rc1 (2009-01-19 21:18:57) 1. with itemize in the search now, you can click on search and see the results, but if you click on [next page], all yo get is the search form - you can get the next page if you click on submit. 2. I have created an app

[web2py:15231] how to delete_uploads=True with t3?

2009-01-21 Thread Wes James
how do I do this with t3: db(...).delete(delete_uploads=True) and SQLFORM.accepts (delete_uploads=True) will delete all referenced uploaded files. that is when a file is deleted in the record it gets deleted on the file system. thx, -wj --~--~-~--~~~---~--~

[web2py:15232] Problems with Page Refresh/Redirect when submitting forms using REST URLs

2009-01-21 Thread jlegler
Okay everyone, I am completely new to web2py and have what I hope is a simple question. I have been hung up for days trying to build a custom form that, upon submittal, will reload the page it is on including the REST value at the end of the URL. I am generating a custom form in Python and passi

[web2py:15233] Re: t3 bugs

2009-01-21 Thread mdipierro
auch! I will try fix this tonight. On Jan 21, 5:03 pm, Wes James wrote: > I downloaded web2py trunk yesterday. (Version 1.56rc1 (2009-01-19 21:18:57) > > 1. with itemize in the search now, you can click on search and see the > results, but if you click on [next page], all yo get is the search >

[web2py:15234] Re: Problems with Page Refresh/Redirect when submitting forms using REST URLs

2009-01-21 Thread mdipierro
form = t2.create(db.function_test,next='test_case/%s'%t2.id) ;-) On Jan 21, 5:38 pm, jlegler wrote: > Okay everyone, I am completely new to web2py and have what I hope is a > simple question.  I have been hung up for days trying to build a > custom form that, upon submittal, will reload the

[web2py:15235] Re: how to delete_uploads=True with t3?

2009-01-21 Thread mdipierro
That is default. You cannot choose not to do it in T3. There is a bug in web2py that cases a problem in T3 which you just reported http://groups.google.com/group/web2py/browse_thread/thread/7a03a11780a053e0 It has been in trunk... now. Massimo On Jan 21, 5:04 pm, Wes James wrote: > how do I

[web2py:15236] Re: how to delete_uploads=True with t3?

2009-01-21 Thread Wes James
Massimo, thx for the fixes all works good! -wj On Wed, Jan 21, 2009 at 7:44 PM, mdipierro wrote: > > That is default. You cannot choose not to do it in T3. > > There is a bug in web2py that cases a problem in T3 which you just > reported > > http://groups.google.com/group/web2py/browse_thread/

[web2py:15237] Re: IS_URL and Unicode URLs

2009-01-21 Thread Jonathan Benn
Hi all, On Jan 21, 4:55 pm, Timothy Farrell wrote: > There's no place for a web framework in Python 3 yet Ok, thanks for that information. I wrote: > The Java implementation of libidn is 14,467 lines of code (including > comments and tests), so this is a substantial code base to be adding >

[web2py:15238] Re: doing a check for making a user and password

2009-01-21 Thread MadWalker
but how do the check do? rows=db(db.t2_person.email==form.vars.email)\ (db.t2_person.password==form.vars.password)\ (db.t2_person.registration_key=='').select() is the code the same as rows=db(db.t2_person.email==form.vars.email) (db.t2_person.password==form.vars.password)\

[web2py:15239] Explanation and phases of double form submission

2009-01-21 Thread voltron
Hi Massimo, can you detail out how double form submission is prevented using web2py in details and phases? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this grou

[web2py:15240] Re: FCGI questions

2009-01-21 Thread voltron
Hi Timothy, I have an SSL cert, how does that help when I try to use SSH to connect to the right Vhost? I will search for the addon you are speaking of @ Massimo Yes Massimo, it might be a good idea to use to physical machines, but thats not a solution that I can use to solve my immediate problem

[web2py:15241] Re: Explanation and phases of double form submission prevention

2009-01-21 Thread voltron
That should have read "prevention" :-)) On Jan 22, 6:39 am, voltron wrote: > Hi Massimo, > > can you detail out how double form submission is prevented using > web2py in details and phases? > > Thanks --~--~-~--~~~---~--~~ You received this message because you are

[web2py:15242] Re: FCGI questions

2009-01-21 Thread Fran
On Jan 21, 9:37 pm, voltron wrote: > 2. Sorry to be so bothersome, one last thing, I am using vhosts, I > have 2 instances of web2py using FCGI, one is a subdomain and both > send on port 60 since Apache ist listening on all IPs > *:80 > test.mydomian.comwww.mydomain.com > so how do I differentia

[web2py:15243] Re: Explanation and phases of double form submission prevention

2009-01-21 Thread mdipierro
if the form is accepted via accepts(request.vars,session) than it uses session to associate a one-time uuid to the form. if you submit twice, the second time the form is not accepted because the uuid was used. You can see this in the form Massimo On Jan 21, 11:54 pm, voltron wrote: > That sho

[web2py:15245] Re: web2py on dreamhost shell account?

2009-01-21 Thread TakeTheStage
I followed the above along with http://wiki.dreamhost.com/Web2py. Finally got everything working; however, cant access the admin pages. I get this message when I attempt: "Admin is disabled because unsecure channel". I tried the workaround mentioned in the wiki, but its a bit outdated and no long

[web2py:15244] Re: Problems with Page Refresh/Redirect when submitting forms using REST URLs

2009-01-21 Thread jlegler
Hahah, Awesome! I knew it was going to be something really easy. Thanks so much. I seriously love this framework. Every time I find something that is challenging I find that it is only challenging because I haven't thought about it the right way. Thanks so much. Seriously, this framework is br

[web2py:15246] Re: web2py on dreamhost shell account?

2009-01-21 Thread mdipierro
http://groups.google.com/group/web2py/browse_thread/thread/93a9e612f8455d78 On Jan 21, 9:22 pm, TakeTheStage wrote: > I followed the above along withhttp://wiki.dreamhost.com/Web2py. > Finally got everything working; however, cant access the admin pages. > I get this message when I attempt: > "A

[web2py:15247] bug in 1.55.2

2009-01-21 Thread mdipierro
I found a bug in 1.55.* which is now fixed in trunk. in gluon/sqlhtml.py '**' should be ''. the effect of this bug is that when you update your profile in T2 for example and you do not type your password, the password is reset to **. The normal behavior should be that if you do n