[web2py:9891] Re: Trouble web2py working w/ GAE development server

2008-10-06 Thread mdipierro
You are correct that "welcome" does not work unless you place session.forget() somewhere in the default controller. Could you give this a try? Reddish works for me. What error do you see in the logs? On Oct 7, 12:20 am, MHblue <[EMAIL PROTECTED]> wrote: > Hi Massimo, > > Thanks for the reply!

[web2py:9890] Re: Trouble web2py working w/ GAE development server

2008-10-06 Thread MHblue
Hi Massimo, Thanks for the reply! I was aware that not all of the functionality was to be present, but I was surprised that reddish doesn't work because I knew it was built to work with GAE. Since it can't write to disk in GAE, there's no way to see the errors (is there a way to set it to displa

[web2py:9889] Re: Ways to make AJAX tab panel?

2008-10-06 Thread mdipierro
email me your packed app and I will debug it for you. Massimo On Oct 6, 9:32 pm, Snoboardfreak <[EMAIL PROTECTED]> wrote: > thanks DenesL > > i found it now > > still can't get tabs working. > > is my post above with views correct code? > > sorry to push this but very frustrating as had no prob

[web2py:9888] Re: Ways to make AJAX tab panel?

2008-10-06 Thread Snoboardfreak
thanks DenesL i found it now still can't get tabs working. is my post above with views correct code? sorry to push this but very frustrating as had no problem getting jquery to work outside of web2py. i must be doing something stupid! snoboardfreak --~--~-~--~~~-

[web2py:9887] Re: Trouble web2py working w/ GAE development server

2008-10-06 Thread mdipierro
Hi MH, Admin, examples and appadmin are not supposed to work because they require access to the filesystem. You can use them locally for development but not when running GAE, not even on emulation. http://127.0.0.1:8017/welcome and http://127.0.0.1:8017/reddish work fine as far as I know but I

[web2py:9886] Re: t2 wiki beta

2008-10-06 Thread JorgeRpo
yes. got it working now. thanks yarko wrote: > ...that is because you're importing from applications/[whatever you > named the application]/modules/t2.py > > On Oct 6, 6:07�pm, yarko <[EMAIL PROTECTED]> wrote: > > You can name the wiki whatever you want; > > > > You can name the module plugin_t

[web2py:9885] Trouble web2py working w/ GAE development server

2008-10-06 Thread MHblue
I'm unable to get web2py working at all using the GAE development server. This is my first web2py install. I downloaded the latest trunk (when I log in it says web2py Version 1.43 (2008-09-22 11:22:03)). Starting web2py directly ("python web2py.py") works fine -- I can browse the admin interface e

[web2py:9884] Re: t2 wiki beta

2008-10-06 Thread yarko
...that is because you're importing from applications/[whatever you named the application]/modules/t2.py On Oct 6, 6:07 pm, yarko <[EMAIL PROTECTED]> wrote: > You can name the wiki whatever you want; > > You can name the module plugin_t2 - if you want to name it something > else, you will need to

[web2py:9883] Re: t2 wiki beta

2008-10-06 Thread yarko
You can name the wiki whatever you want; You can name the module plugin_t2 - if you want to name it something else, you will need to change models/db.py to import t2 from whatever you named it. Right now, it reads: from applications.plugin_t2.modules.t2 import T2 If you (for example) name

[web2py:9882] Re: t2 wiki beta

2008-10-06 Thread JorgeRpo
Do we need to name them plugin_t2 and t2_wiki upon installation? On Oct 6, 4:34 pm, Massimo Di Pierro <[EMAIL PROTECTED]> wrote: > http://mdp.cti.depaul.edu/examples/static/wiki.zip > contains two apps: plugin_t2.tar and t2_wiki.tar > > This is an example of a wiki built using t2 (plugin_t2 a

[web2py:9881] help with t2

2008-10-06 Thread mdipierro
I could use some help make the following improvements in t2. currently T2 has hardcoded error messages. Some are passed to the T operator, some not. I would like all error messages be passed as arguments of the respective functions, with default values in english, and left to the user the talk of

[web2py:9880] t2 wiki beta

2008-10-06 Thread Massimo Di Pierro
http://mdp.cti.depaul.edu/examples/static/wiki.zip contains two apps: plugin_t2.tar and t2_wiki.tar This is an example of a wiki built using t2 (plugin_t2 and the t2_wiki, the latter needs the former). Uses markdown wiki syntax, you can attach documents, comments and reviews to pages. Pages

[web2py:9879] version 1.44 is out

2008-10-06 Thread mdipierro
I posted version 1.44. It fixes a couple of bugs related to downloading static files that do not exist, form widget support, default values in select dropbox. Nothing major but give it a try and see if I broke anything. Hopefully not. Massimo --~--~-~--~~~---~--~~

[web2py:9878] Re: Site down?

2008-10-06 Thread mdipierro
Yes it was down. Now it is up again. My VM is running out of disk space. I cannot fix this without making a new VM. I will try do it later in the week. Massimo On Oct 6, 10:38 am, Ben Burton <[EMAIL PROTECTED]> wrote: > http://mdp.cti.depaul.edu/ > > Just looking for the most up to date version

[web2py:9877] Re: Site down?

2008-10-06 Thread yarko
Well, this points to a www.web2py.com location, or shows current svn download instructions on the source tab - you'll have to either use svn to download, or use bzr to download from https://code.launchpad.net/~mdipierro/web2py/devel (instructions on that page). I think they should both be equiv

[web2py:9876] Re: Site down?

2008-10-06 Thread Tito Garrido
Hi Ben, Try to get it here: http://code.google.com/p/web2py/ Regards, Tito On Mon, Oct 6, 2008 at 12:38 PM, Ben Burton <[EMAIL PROTECTED]> wrote: > > http://mdp.cti.depaul.edu/ > > Just looking for the most up to date version to download. Is there > another place I can get it? > > Thanks. > >

[web2py:9875] Site down?

2008-10-06 Thread Ben Burton
http://mdp.cti.depaul.edu/ Just looking for the most up to date version to download. Is there another place I can get it? Thanks. -Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group.

[web2py:9873] Re: Dynamic Form

2008-10-06 Thread mdipierro
Example (may need debugging) #in model db.define_table('cities', SQLField('state'), SQLField('city')) db.define_table('person', SQLField('name'), SQLField('state'), SQLField('city')) db.person.state.requires=IS_IN_SET(db,'cities.state') db.person.city.requires=IS_IN_SET(db(db

[web2py:9874] Re: Optimistic locking

2008-10-06 Thread mdipierro
I was thinking of more complex queries. Your method should work fine. On Oct 6, 7:25 am, billf <[EMAIL PROTECTED]> wrote: > I don't know postgresql plus I don't see how the "while True..." > action would work. > > How would it determine that a second update was an exception if the > action in "##

[web2py:9872] Re: Ways to make AJAX tab panel?

2008-10-06 Thread DenesL
Line 23: $(document).ready(function() { On Oct 5, 6:19 pm, Snoboardfreak <[EMAIL PROTECTED]> wrote: > i mean to say > > if i search i dont see a $(document).ready(function() in > web2py_ajax.html > > but this shouldn't matter as long as i have this script in the view > with the tab div code? > >

[web2py:9871] Re: Optimistic locking

2008-10-06 Thread billf
I don't know postgresql plus I don't see how the "while True..." action would work. How would it determine that a second update was an exception if the action in "### perform your op" was just an update? I guess the alternative is to start a transaction, re-select the record, check it is the sam

[web2py:9870] Re: menu background

2008-10-06 Thread yarko
the form of the SQLDB() for SQLite includes the filename - since SQLite database is based on this file. For other backends (such as postgres) you connect thru a server - so the form of your connection would be the same as your first connection. The point is that in both cases you want to connect

[web2py:9869] Re: shared methods for all (nested) controllers and more questions

2008-10-06 Thread yarko
you can find KPAX on www.web2py.com by following the link (on right) "Repository of free web2py apps", or simply at http://mdp.cti.depaul.edu/appliances On Oct 5, 11:24 pm, mdipierro <[EMAIL PROTECTED]> wrote: > Hi Jaroslaw > > On Oct 5, 10:53 pm, Jaroslaw Zabiello <[EMAIL PROTECTED]> wrote:

[web2py:/] Re: menu background

2008-10-06 Thread annet
> You can have two apps connect to the same database by using the same db URI > string. In the model of my initial application called b2c I have the following URI string: db=SQLDB('postgres://fitwise:[EMAIL PROTECTED]:5432/fitwise_nl') > For SQLite one of the two should have > SQLDB('sqli

[web2py:9866] Re: Optimistic locking

2008-10-06 Thread mdipierro
There is no problem putting web2py on multiple servers behind a load balanced. Just make sure everything goes in the DB and not on filesystem. This is documented in the book (and the free chapter on deplyment). --~--~-~--~~~---~--~~ You received this message becaus

[web2py:9867] Dynamic Form

2008-10-06 Thread Oscar
Hi Again, I'm exploring T2, and... there is a way to do a dynamic form, I mean, I have a dropdown STATE field populated from a db: db.define_table('cities', SQLField('state'), SQLField('city')) Then my form only shows State field at the view, but I want that when I select the state my f