[web2py:34922] Re: Join web2py wave

2009-11-09 Thread Jason Brower
I too would love an invatation. :D BR, Jason On Sun, 2009-11-08 at 13:29 -0800, Richard wrote: > yeah! - can invite again. > > Have invited: > denes1...@yahoo.ca > roger.gicq...@gmail.com > mbelle...@gmail.com > whalb...@gmail.com > debe...@yahoo.com > digitalcry...@gmail.com > maxu...@gmail.com

[web2py:34923] Re: Using web2py with jython

2009-11-09 Thread Vasile Ermicioi
I have to convince someone that python is better than Java (and even can work with Java) - Jython+Web2py is my best argument :) On Mon, Nov 9, 2009 at 8:38 AM, mdipierro wrote: > > I changed it in trunk so that it is automatic and now (again) web2py > works with Jython out of the box. I have ema

[web2py:34924] Re: T2 and Empty Flash Messages

2009-11-09 Thread jensk_dk
On Nov 9, 12:20 am, mdipierro wrote: > On Nov 8, 4:43 pm, jensk_dk wrote: > > By the way, is T2 still being maintained? > > No. Sorry. Something better coming out soon. Hi Massimo Thanks for the prompt reply - and your work on web2py. I read your answer as if I shouldn't use T2 at all and

[web2py:34925] Apache vs Cherokee vs all the rest

2009-11-09 Thread David
I recently setup a VPS host over at Santrex.net for testing web2py. It took me about two shifts to get Cherokee installed and running with Web2Py. What a pain. For those others that seemed to miss "libcherokee-mod-libssl" that was a painful lesson that could have been remarked elsewhere and sav

[web2py:34926] Re: problem with web2py with Postgresql on OS/X 10.5

2009-11-09 Thread David
Hi Steve, The biggest headache for me while setting up my Mac was the pythonpath. Even though I had Python in OSX, for some reason I had also Python from MacPorts installed and the two different installations were confusing me. I resorted to setting it in .bashrc so every time I launched a term

[web2py:34927] Re: Join web2py wave

2009-11-09 Thread Richard
oh right On Nov 9, 10:01 am, hcvst wrote: > Hi Richard, > > in fact you can write > athttp://wavedirectory.appspot.com/init/default/wave/676f6f676c65776176... > too. Unfortunately you need to be logged into wave (to read or write). > The embed mechanism (an iframe) requires > that. > > HC > > O

[web2py:34928] Creating Models the Web2Py way

2009-11-09 Thread David
So I have the following code and it's not generating tables but perhaps my thinking isn't quite clear on this. I can't link two tables unless one exists previously and that table cannot reference any other table that is not created unless a reference is used explain why this gives me "Tables

[web2py:34929] Re: cron and permissions

2009-11-09 Thread mika
I have no idea for such condition. Maybe it is possible to add support for built-in user 'cron', so calling functions from cron would be called as user 'cron'? On Nov 6, 6:29 pm, mdipierro wrote: > You cannot do > > @auth.requires_membership() > > and call it from cron because there is no u

[web2py:34930] Re: Creating Models the Web2Py way

2009-11-09 Thread Mladen Milankovic
Hi. When using reference you don't need the db. part. Only the name of the table. Like: Field('description', 'reference product_description'), It uses the same database as the table you are just creating. regards mmlado On Monday 09 November 2009 13:51:05 David wrote: > So I have the followin

[web2py:34931] Re: Creating Models the Web2Py way

2009-11-09 Thread David
Ok so I removed the db. from all the references. I am still getting a similar error about tables not existing. == Traceback (most recent call last): File "/var/www/web2py/gluon/restricted.py", line 184, in restricted exec ccode in environment File "/var/www/web2py/applications/invent

[web2py:34932] Re: Creating Models the Web2Py way

2009-11-09 Thread Mladen Milankovic
Hi. Please, explain why you need a separate description table, and why is it referencing product while the same time product references description table. I think something is wrong with the database design. I didn't come across any database that would need this kind of referencing. If you writ

[web2py:34933] Re: Creating Models the Web2Py way

2009-11-09 Thread David
It was before coffee. I see where my thinking went astray. The product doesn't need to reference multiple objects but should have a relationship with many pictures and reviews etc. I removed those references and it works ok. I am not sure at this point if I need multiple description tables or

[web2py:34934] Re: Using web2py with jython

2009-11-09 Thread Timbo
Jython does support TCP_NODELAY, but it does so in the Java fashion...that is to say only on a client socket. The short story is this: most platforms allow you to set socket options to server (accepting) sockets and the accepted (client) sockets that come from them inherit the options from the se

[web2py:34935] Re: Creating Models the Web2Py way

2009-11-09 Thread Mladen Milankovic
Hi. In case of different descriptions for one product, one-to-many, I would recommend leaving out description reference in the product. This way one product can have multiple entries in description table, which are identified by the product id. This should be enough. I can imagine a need for

[web2py:34936] Re: testing a SQLFORM with doctest

2009-11-09 Thread mdipierro
There are some doctests at the bottom of gluon/sqlhtml.py you may be able to find some examples there. On Nov 9, 1:25 am, Ahmed Soliman wrote: > Yes, I would like to hear the answer of that too, what if I want to > prepare a SQLFORM variables to be passed during doctest, how can > possible this

[web2py:34937] Re: T2 and Empty Flash Messages

2009-11-09 Thread mdipierro
On Nov 9, 5:16 am, jensk_dk wrote: > On Nov 9, 12:20 am, mdipierro wrote: > > > On Nov 8, 4:43 pm, jensk_dk wrote: > > > By the way, is T2 still being maintained? > > > No. Sorry. Something better coming out soon. > > Hi Massimo > > Thanks for the prompt reply - and your work on web2py. > > I

[web2py:34938] Re: cron and permissions

2009-11-09 Thread mdipierro
Need to think about this one. On Nov 9, 6:53 am, mika wrote: > I have no idea for such condition. > Maybe it is possible to add support for built-in user 'cron', > so calling functions from cron would be called as user 'cron'? > > On Nov 6, 6:29 pm, mdipierro wrote: > > > You cannot do > > > @a

[web2py:34939] Re: Using web2py with jython

2009-11-09 Thread mdipierro
Can you send me the view that creates the regex problem in Jython. I have seen it before and I thought it was fixed. On Nov 9, 7:53 am, Timbo wrote: > Jython does support TCP_NODELAY, but it does so in the Java > fashion...that is to say only on a client socket.  The short story is > this: most

[web2py:34940] Re: Accents in URL's and Actions / Functions

2009-11-09 Thread Christopher Steel
Thank you M. I ran a URL test on another Python based app and noticed that creating a URL with accents results in a non-accented URL. So for example creating a folder called "Marie-Josée" results in a folder titled Marie-Josée (with the URL "marie-josee"). I am guessing they have a little convers

[web2py:34941] Re: Accents in URL's and Actions / Functions

2009-11-09 Thread Christopher Steel
One possible solution ? http://www.diveintopython.org/xml_processing/unicode.html On Nov 6, 8:11 pm, mdipierro wrote: > Python 2.x does not allow special chars in function names. I think 3.x > does. > > On Nov 6, 5:48 pm, Christopher Steel wrote: > > > I am having some users do accessibility t

[web2py:34942] Re: problem with web2py with Postgresql on OS/X 10.5

2009-11-09 Thread Steve
David and Pierro, Thank you both for these suggestions. I'm pretty sure you both have identified my problem. I think I have three Python installations now what with the original, then an old install of IDLE and its Python, and now MacPorts. I think when I used MacPorts to install psycopg2 it def

[web2py:34943] SQLFORM problem

2009-11-09 Thread Sophie
Hi, in my controller i create a SQLFORM. I am using the slyce of the "add link". It works perfectly, tnnx renatocaliari. I made a demo to do a multicombo, thnx Massimo for you help. So i want to do this, i dont know if this is possible. I want to get the combos that are in the SQLFORM, in the vi

[web2py:34944] Re: Join web2py wave

2009-11-09 Thread Massimiliano
thank you Richard :D On Sun, Nov 8, 2009 at 10:29 PM, Richard wrote: > > yeah! - can invite again. > > Have invited: > denes1...@yahoo.ca > roger.gicq...@gmail.com > mbelle...@gmail.com > whalb...@gmail.com > debe...@yahoo.com > digitalcry...@gmail.com > maxu...@gmail.com > > > > On Nov 9, 2:35

[web2py:34945] flexible routes

2009-11-09 Thread eggy_
Hello, I want to divide my controller logic up into packages, where the controller part will be 'package/subpackage/module' instead of just 'module'. Currently, I can only use a module as the controller, and the corresponding view will be a directory with the module's name, containing a bunch of

[web2py:34946] template inheritance controller super()

2009-11-09 Thread eggy_
Hello, when I have two templates, A and B, where A extends B. How can I call "super" from A's request function. With "super" I mean "execute the controller that corresponds with B and optionally have its dict automatically merge with the dict that is returned from A's request function". I'm curre

[web2py:34947] Re: Join web2py wave

2009-11-09 Thread gkalab
I would be grateful if I'd receive an invitation, too. Thanks, Gerhard On Nov 8, 7:15 am, Roger Gicquel wrote: > +1 pls. > > On Nov 8, 4:37 am, DenesL wrote: > > > I will take one. Thank you. > > > On 7 nov, 16:08, Nicolás de la Torre wrote: > > > > Invited: > > > > debe...@yahoo.com > > > ku

[web2py:34948] Validators during db.insert

2009-11-09 Thread Frederik Wagner
Hi .*, is there a way of making web2py run the validators configured in the model on a dataset inserted via a direct db.table.insert statement? It looks like I'm able to insert any kind of data, it's validated... Thanks and Bye, Frederik --~--~-~--~~~---~--~~ You

[web2py:34949] Validators during db.insert

2009-11-09 Thread fnerdwq
Hi .*, is there a way of making web2py run the validators configured in the model on a dataset inserted via a direct db.table.insert statement? It looks like I'm able to insert any kind of data, it's validated... Thanks and Bye, Frederik --~--~-~--~~~---~--~~ You

[web2py:34950] Re: cron and permissions

2009-11-09 Thread mdipierro
Can you try: @auth.requires(auth.has_membership(...) or not request.env) On Nov 9, 6:53 am, mika wrote: > I have no idea for such condition. > Maybe it is possible to add support for built-in user 'cron', > so calling functions from cron would be called as user 'cron'? > > On Nov 6, 6:29 pm, md

[web2py:34951] Re: SQLFORM problem

2009-11-09 Thread mdipierro
Sorry Sophie. I am not sure I understand how this is different from what you have. Massimo On Nov 9, 9:15 am, Sophie wrote: > Hi, in my controller i create a SQLFORM. I am using the slyce of the > "add link". It works perfectly, tnnx renatocaliari. > > I made a demo to do a multicombo, thnx Mas

[web2py:34952] Re: flexible routes

2009-11-09 Thread mdipierro
Not sure I understand. You can put modules in modules/ and you can have a subfolder structure. You can also have a subfolder structure in views but your actions have to be explicit on which view to use (response.view="html"). controllers have to be files without a subfolder structure. On Nov

[web2py:34953] Re: template inheritance controller super()

2009-11-09 Thread mdipierro
{{include ...}} end {{extend ...}} cannot be conditional because they would prevent bytecode compilation. I would be interesting in seeing how you are using decorators now. It may give us ideas for improvement. On Nov 9, 4:31 am, eggy_ wrote: > Hello, > > when I have two templates, A and B, wher

[web2py:34954] Newbie on web2py

2009-11-09 Thread giotech27
Hi guys. I'm new to web2py. I need a tutorial site for first timers. Please help. T.Y. Gio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegro

[web2py:34955] Re: Validators during db.insert

2009-11-09 Thread mdipierro
Validators apply to forms only not database insert. This is for speed but also because the workflow would be unclear: how would error be reported? As exceptions? I guess you can define your own insert function that validates before insert and throws an exception on failed validation. Massimo

[web2py:34956] Re: Using web2py with jython

2009-11-09 Thread Timbo
No need, it blows up for me on the admin interface. I have no special customizations. I'm trying this on Sun JRE6/Jython2.5.1 on WinXP. On Nov 9, 8:34 am, mdipierro wrote: > Can you send me the view that creates the regex problem in Jython. I > have seen it before and I thought it was fixed. >

[web2py:34957] Other new DAL features in trunk

2009-11-09 Thread mdipierro
Thanks to Michael Fig we have two new important features in trunk 1) to deal with legacy databases db.define_table('mytable',Field('myfield','id'),Field ('otherfield')) allows to redefine the name of the 'id' field. 2) If you mess up .table files you ca try: delete all .table files

[web2py:34958] Re: flexible routes

2009-11-09 Thread Timbo
Because web2py exec()s controllers rather than importing them, packages are not currently an option. Whats you're reason for needing packages? Maybe we can help you find a better solution. On Nov 9, 4:18 am, eggy_ wrote: > Hello, > > I want to divide my controller logic up into packages, where

[web2py:34959] Re: web2py and keyed tables

2009-11-09 Thread Timbo
You are my hero. If you ever make your way down to Oklahoma I'll take you out for a steak dinner or something. On Nov 8, 8:46 am, mdipierro wrote: > Denese. You did a fanstatic job. This was needed for some time. > > On Nov 8, 7:38 am, DenesL wrote: > > > A) What are they? > > > Keyed tables ar

[web2py:34960] Re: Using web2py with jython

2009-11-09 Thread mdipierro
I cannot reproduce this with jython2.5rc3 on mac. On Nov 9, 9:52 am, Timbo wrote: > No need, it blows up for me on the admin interface.  I have no special > customizations.  I'm trying this on Sun JRE6/Jython2.5.1 on WinXP. > > On Nov 9, 8:34 am, mdipierro wrote: > > > Can you send me the view

[web2py:34961] Re: Newbie on web2py

2009-11-09 Thread mdipierro
Consider the web2py book here: http://web2py.com/examples/default/docs If you know python skip chapter 2. Chapter 3 is a gentle intro. Massimo On Nov 9, 9:37 am, giotech27 wrote: > Hi guys. > > I'm new to web2py. I need a tutorial site for first timers. Please > help. T.Y. > > Gio --~--~--

[web2py:34962] Re: flexible routes

2009-11-09 Thread mdipierro
I do not understand what you mean by "packages". You can use python "import whatevermodule.py" On Nov 9, 9:56 am, Timbo wrote: > Because web2py exec()s controllers rather than importing them, > packages are not currently an option.  Whats you're reason for needing > packages?  Maybe we can help

[web2py:34963] Re: Apache vs Cherokee vs all the rest

2009-11-09 Thread Thadeus Burgess
I use apache on virtualhost at slicehost running multiple web2py virtualhosts. With one web2py instance, my server stands at around 90MB average for memory, it *might* spike up to 115MB if I start some ram caching, however my reports have never reported anything higher. I am running apache with mo

[web2py:34964] Re: Join web2py wave

2009-11-09 Thread Thadeus Burgess
When will those of us who have been invited be able to invite? -Thadeus On Mon, Nov 9, 2009 at 6:01 AM, gkalab wrote: > > I would be grateful if I'd receive an invitation, too. > > Thanks, > Gerhard > > On Nov 8, 7:15 am, Roger Gicquel wrote: > > +1 pls. > > > > On Nov 8, 4:37 am, DenesL w

[web2py:34965] Re: Creating Models the Web2Py way

2009-11-09 Thread Dominic
Actually, you don't need the link from product to product_description in this DB structure as you define a 1:N join (multiple descriptions per product) in the product_description table. Maybe you want one product_description designated as the "current description" of the product, in which case y

[web2py:34966] Howto to make your own layouts

2009-11-09 Thread mdipierro
Assuming the 408 layouts in http://web2py.com/layouts are not enough you can use this: http://code.google.com/p/web2py/source/browse/trunk/scripts/layout_make.py It would be nice if somebody where to start a business of hosting web2py layouts. ;-) Massimo --~--~-~--~~~--

[web2py:34967] Re: web2py and keyed tables

2009-11-09 Thread DenesL
@ mr.freeze: you are welcome @ Massimo: thanks for merging it into web2py @ Timbo: LOL, maybe someday. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py

[web2py:34968] Re: Howto to make your own layouts

2009-11-09 Thread david bain
Massimo, This is very useful. An excellent start to the plugin system. On Mon, Nov 9, 2009 at 11:55 AM, mdipierro wrote: > > Assuming the 408 layouts in http://web2py.com/layouts are not enough > you can use this: > > http://code.google.com/p/web2py/source/browse/trunk/scripts/layout_make.py > >

[web2py:34969] Re: Using web2py with jython

2009-11-09 Thread Timbo
OK so I downloaded fresh versions of both. If put in the above workaroudn for the TCP_NODELAY issue. And upon running I get: C:\jython2.5.1>jython.bat \web2py2\web2py.py WARNING:root:no file locking WARNING:root:unable to import dbhash WARNING:root:GUI not available because Tk library is not in

[web2py:34970] Re: Using web2py with jython

2009-11-09 Thread mdipierro
The first problem is because you did not upgraded admin in a while ;-) cd applications/admin tar zxvf ../../admin.w2p The second error. Can you help me fix it? Try each one of these models? {{='hello world'} {{='''hello world'''} {{="hello world"} {{="""hello world"""} which ones break? An

[web2py:34971] Re: Using web2py with jython

2009-11-09 Thread mdipierro
another test. in gluon/templates.py can you replace re_strings = re.compile(r'(?P' + r"[uU]?[rR]?'''([^']+|'{1,2}(?!'))*'''|" + r"'([^'\\]|\\.)*'|" + r'"""([^"]|"{1,2}(?!"))*"""|' + r'"([^"\\]|\\.

[web2py:34972] Re: Join web2py wave

2009-11-09 Thread Vidul Petrov
I got "Internal Error" while trying http://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2521w%252BDPsJaggYA On Nov 4, 8:54 am, hcvst wrote: > http://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2... > > A public wave to discuss wave development on web2py. > > HC -

[web2py:34973] Re: flexible routes

2009-11-09 Thread eggy_
I guess the term 'package' is not really applicable. What I meant was that I want to have the ability to use subdirectories as part of the controller. So that the controller part basically becomes 'somedirectory/somecontroller'. You can currently only have a 'somecontroller'. On Nov 9, 5:03 pm, m

[web2py:34974] Re: Howto to make your own layouts

2009-11-09 Thread Vasile Ermicioi
Since web2py already have jquery included why not using jquery UI css framework ? http://jqueryui.pbworks.com/jQuery-UI-CSS-Framework http://jqueryui.com/themeroller/ On Mon, Nov 9, 2009 at 7:06 PM, david bain wrote: > Massimo, > This is very useful. An excellent start to the plugin system. > >

[web2py:34975] Re: flexible routes

2009-11-09 Thread mdipierro
This would require a change in the URL convention and could make dispatching slower. Why do you need this? I am not saying no but I need to be convinced. On Nov 9, 12:02 pm, eggy_ wrote: > I guess the term 'package' is not really applicable. What I meant was > that I want to have the ability to

[web2py:34976] Re: Howto to make your own layouts

2009-11-09 Thread mdipierro
I would love to see some layouts using it. Could you send me some exmaples? On Nov 9, 12:07 pm, Vasile Ermicioi wrote: > Since web2py already have jquery included why not using jquery UI css > framework > ?http://jqueryui.pbworks.com/jQuery-UI-CSS-Frameworkhttp://jqueryui.com/themeroller/ > > O

[web2py:34977] Re: Chapter 1 from 2nd edition web2py book in Spanish

2009-11-09 Thread drayco
I think, you need more help in this kind of work. Buenas tardes. Puedo ayudarlos revisando la traducción, por el momento. A partir del 15 de Diciembre podría contribuir con uno o dos capítulos. Sin embargo, no quisiera dejar pasar la oportunidad para comentar que existen frases que no refieren e

[web2py:34978] Re: template inheritance controller super()

2009-11-09 Thread eggy_
Indeed, the fact that {{include ...}} and {{extend ...}} can't be conditional is a problem if you need that. But if you meant your template to be inherited from, it's not really a problem. This is the decorator I'm currently using: http://paste.pocoo.org/show/149598/ . You use it (in 'controller'

[web2py:34979] Re: flexible routes

2009-11-09 Thread eggy_
I don't "need" it as such, but I want to group certain related parts of the web application that don't necessarily need to be in the same controller. This would be akin to a python package structure. Of course, in python code, any program written as a set of packages and modules can be written as

[web2py:34980] Re: Using web2py with jython

2009-11-09 Thread Timbo
No difference. I think this is the bug we're dealing with: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5050507 Since it's a wont-fix, our only option is to work around it by relying less on regexps. Is that an acceptable solution? On Nov 9, 11:58 am, mdipierro wrote: > another test. i

[web2py:34981] Re: Chapter 1 from 2nd edition web2py book in Spanish

2009-11-09 Thread DenesL
On Nov 9, 1:15 pm, drayco wrote: > I think, you need more help in this kind of work. All the help I can get ;-) > Buenas tardes. Puedo ayudarlos revisando la traducción, por el > momento. A partir del 15 de Diciembre podría contribuir con uno o dos > capítulos. Excelente. > Sin embargo, no qui

[web2py:34982] Re: Join web2py wave

2009-11-09 Thread DenesL
Same here. On Nov 9, 12:58 pm, Vidul Petrov wrote: > I got "Internal Error" while > tryinghttp://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "w

[web2py:34983] Re: Using web2py with jython

2009-11-09 Thread mdipierro
This is clearly a Java bug. A major one. I love the "won't fix" On Nov 9, 12:33 pm, Timbo wrote: > No difference. > > I think this is the bug we're dealing with: > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5050507 > > Since it's a wont-fix, our only option is to work around it by rely

[web2py:34984] Re: Join web2py wave

2009-11-09 Thread Marat Maksumov
Thank you, Richard! On Nov 9, 12:29 am, Richard wrote: > yeah! - can invite again. > > Have invited: > denes1...@yahoo.ca > roger.gicq...@gmail.com > mbelle...@gmail.com > whalb...@gmail.com > debe...@yahoo.com > digitalcry...@gmail.com > maxu...@gmail.com > > On Nov 9, 2:35 am, Marat Maksumov

[web2py:34985] 1.72.1 is OUT

2009-11-09 Thread mdipierro
New stuff: - bug fix in select(...,cache=) - bug fix in internationalization with default languages - better polish and french translations - better support for KeyedTables (thanks Denes) and alternate names for 'id' fields (thanks Michael). This allow better support for legacy databases. Please

[web2py:34986] Re: 1.72.1 is OUT

2009-11-09 Thread Wes James
do you mean 1.71.2? On Mon, Nov 9, 2009 at 1:12 PM, mdipierro wrote: > > New stuff: > - bug fix in select(...,cache=) > - bug fix in internationalization with default languages > - better polish and french translations > - better support for KeyedTables (thanks Denes) and alternate names > for '

[web2py:34987] video on internationalization

2009-11-09 Thread mdipierro
http://www.vimeo.com/7520812 20 minutes extract from one of the IPD lectures. You need web2py 1.72.1 to use T.current_languages. There was a bug in the previous versions. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[web2py:34988] Re: 1.72.1 is OUT

2009-11-09 Thread Wes James
nevermind - i see now it's 1.71.1 to 1.72.1 - i was thinking 1.71.1 to 1.71.2 -wes On Mon, Nov 9, 2009 at 1:15 PM, Wes James wrote: > do you mean 1.71.2? > > On Mon, Nov 9, 2009 at 1:12 PM, mdipierro wrote: >> >> New stuff: >> - bug fix in select(...,cache=) >> - bug fix in internationali

[web2py:34989] Re: Join web2py wave

2009-11-09 Thread hcvst
Hi Vidul, the wave's now at http://wavedirectory.appspot.com/init/default/wave/676f6f676c65776176652e636f6d21772b4450734a6167675941 But I guess I should add the old query string method again too. Regards, HC On Nov 9, 7:58 pm, Vidul Petrov wrote: > I got "Internal Error" while > tryinghttp:

[web2py:34990] Re: Join web2py wave

2009-11-09 Thread mdipierro
This is really nice. Hope you do not mind, I posted a link on reddit/ programming. On Nov 9, 2:41 pm, hcvst wrote: > Hi Vidul, > > the wave's now > athttp://wavedirectory.appspot.com/init/default/wave/676f6f676c65776176... > > But I guess I should add the old query string method again too. > >

[web2py:34991] Re: Apache vs Cherokee vs all the rest

2009-11-09 Thread Graham Dumpleton
On Nov 10, 3:10 am, Thadeus Burgess wrote: > I use apache on virtualhost at slicehost running multiple web2py > virtualhosts. > > With one web2py instance, my server stands at around 90MB average for > memory, it *might* spike up to 115MB if I start some ram caching, however my > reports have n

[web2py:34992] Re: Join web2py wave

2009-11-09 Thread David Mitchell
Could you please invite me too? Thanks Dave M. 2009/11/10 mdipierro > > This is really nice. Hope you do not mind, I posted a link on reddit/ > programming. > > On Nov 9, 2:41 pm, hcvst wrote: > > Hi Vidul, > > > > the wave's now athttp:// > wavedirectory.appspot.com/init/default/wave/676f6f6

[web2py:34993] Re: Join web2py wave

2009-11-09 Thread Napas
Hey could i get invitation to na...@napas.lt ? On Nov 5, 6:11 am, Richard wrote: > sure. And if anyone else is interested post in this thread. > > On Nov 5, 2:19 pm, Thadeus Burgess wrote: > > > Richard, could you keep me in mind when the invites start back up? > > > -Thadeus > > > On Wed, Nov

[web2py:34994] 2 year moratorium on python syntax changes

2009-11-09 Thread mikech
http://python.org/dev/peps/pep-3003/ --~--~-~--~~~---~--~~ 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 from this group, send email to we

[web2py:34995] Re: Join web2py wave

2009-11-09 Thread mikech
Invite please? On Nov 7, 4:00 pm, Thadeus Burgess wrote: > I think we should all start a public web2py wave! :) > > -Thadeus > > > > On Sat, Nov 7, 2009 at 3:54 PM, mdipierro wrote: > > > I have account. I just have not figured out what I am supposed to do > > with it. > > > On Nov 7, 3:08 pm,

[web2py:34996] installing web2py on Ubuntu

2009-11-09 Thread Massimo Di Pierro
If you have sudo access to a fresh ubuntu install just run this script sudo setup-web2py.sh and it will: 1) install a bunch of packages you need including ssh, emacs, apache2, python2.5, postgresql 2) download and start web2py on port 8123 as user www-data 3) configure apache to prosy web2py an

[web2py:34997] Re: T2 and Empty Flash Messages

2009-11-09 Thread jensk_dk
On 9 Nov., 15:26, mdipierro wrote: > > Can you shed some light on the upcoming "replacement"? Has web2py > > developed so much since T2 was written that it actually implements > > some of the higH level patterns that T2 implements? > > Almost everything in T2 but the wiki and widgets is not in

[web2py:34998] Re: 1.72.1 is OUT

2009-11-09 Thread drayco
I use MySQL and auth. When i try to login, Web2py 1.72.1 give me this error. But With Web2py 1.71.1 this dosen't happend. Traceback (most recent call last): File "/media/RESPALDO/web2py/gluon/restricted.py", line 184, in restricted exec ccode in environment File "/media/RESPALDO/web2py/ap

[web2py:34999] Re: Join web2py wave

2009-11-09 Thread Richard
invited: encomp...@gmail.com ka...@gmx.net monch1...@gmail.com na...@napas.lt mp.ch...@gmail.com (4 invites left) On Nov 10, 9:40 am, mikech wrote: > Invite please? > > On Nov 7, 4:00 pm, Thadeus Burgess wrote: > > > I think we should all start a public web2py wave! :) > > > -Thadeus > > > On

[web2py:/] Re: 2 year moratorium on python syntax changes

2009-11-09 Thread mdipierro
http://www.reddit.com/r/programming/comments/a2k4b/pep_3003_python_language_moratorium_is_accepted/c0fk610 My two cents On Nov 9, 4:38 pm, mikech wrote: > http://python.org/dev/peps/pep-3003/ --~--~-~--~~~---~--~~ You received this message because you are subscri

[web2py:35001] Re: 1.72.1 is OUT -> 1.72.2 is OUT

2009-11-09 Thread mdipierro
please check 1.72.2 On Nov 9, 5:06 pm, drayco wrote: > I use MySQL and auth. When i try to login, Web2py 1.72.1 give me this > error. But With Web2py 1.71.1 this dosen't happend. > > Traceback (most recent call last): >   File "/media/RESPALDO/web2py/gluon/restricted.py", line 184, in > restrict

[web2py:35002] Re: Join web2py wave

2009-11-09 Thread
Can you send me an invitation please, Richard? Thanks 2009/11/10 Richard : > > invited: > encomp...@gmail.com > ka...@gmx.net > monch1...@gmail.com > na...@napas.lt > mp.ch...@gmail.com > > (4 invites left) > -- Luyun Xie 谢路云 http://magefromhell.blogspot.com/ (http://blog.hellmage.info/) --~-

[web2py:35003] get html content

2009-11-09 Thread MrGoni
Hi guys, Do any of you know a way to get data from a web table using its url? Thanks in advance and best regards, MrGoni --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group,

[web2py:35004] Re: get html content

2009-11-09 Thread mr.freeze
Something like this? Controller -- def call(): session.forget() return service() @service.xml def tableservice(): limitby = (int(request.vars.start),int(request.vars.count)) table = SQLTABLE(db().select(db [request.vars.table].ALL,limitby=limitby)) return table URL -

[web2py:35005] Re: get html content

2009-11-09 Thread mr.freeze
Whoops, limitby should be: limitby = (int(request.vars.start),int(request.vars.start)+int (request.vars.count)) On Nov 9, 9:14 pm, "mr.freeze" wrote: > Something like this? > > Controller > -- > def call(): >     session.forget() >     return service() > > @service.xml > def tableservice

[web2py:35006] cron job debug

2009-11-09 Thread
Hi I've a controller function as a cron job, which fetches some data from a remote server and updates local db. It runs correctly when accessed directly from browser. But as a cron job, web2py just keep saying: WARNING:root:WEB2PY CRON Call returned code 1: No error message available and no

[web2py:35007] Re: get html content

2009-11-09 Thread mdipierro
This: @service.xml def tableservice(): limitby = (int(request.vars.start),int(request.vars.count)) table = SQLTABLE(db().select(db [request.vars.table].ALL,limitby=limitby)) return table should be @service.xml def tableservice(start,count): limitby = (int(start),int(start)+int(c

[web2py:35008] Re: cron job debug

2009-11-09 Thread mdipierro
I am sorry cron errors need to be improved. You can add some try: except Exception,e: print e in the cron task. On Nov 9, 9:21 pm, "Xie&Tian" wrote: > Hi > > I've a controller function as a cron job, which fetches some data from > a remote server and updates local db. It runs correctly wh

[web2py:35009] Re: Other new DAL features in trunk

2009-11-09 Thread Iceberg
Off topic. Recently web2py evolutes with many great enhancement. That is, without doubt, a good thing. Yet it will be better if the new features are documented, even roughly mentioned, in some well-known place. So that people who missed a post in google mail list (and google-maillist- search suck

[web2py:35010] Re: Other new DAL features in trunk

2009-11-09 Thread mdipierro
I will update the documentation as soon as possible. If you can send me a patch it will happen sooner. On Nov 9, 11:07 pm, Iceberg wrote: > Off topic. > > Recently web2py evolutes with many great enhancement. That is, without > doubt, a good thing. Yet it will be better if the new features are >

[web2py:35011] Re: web2py and keyed tables

2009-11-09 Thread Richard
I don't need this right now, but it's great to have this flexibility in the future. Thanks On Nov 10, 3:57 am, DenesL wrote: > @ mr.freeze: you are welcome > @ Massimo: thanks for merging it into web2py > @ Timbo: LOL, maybe someday. --~--~-~--~~~---~--~~ You rec