[web2py:15946] Re: Zip a folder (not a file) and move a file/directory

2009-02-06 Thread achipa
These are really not web2py related python questions, but here you go :) 1) See http://docs.python.org/library/zipfile.html 2) AFAIK not without extracting and compressing again. On Feb 6, 7:41 am, INeedHelp wrote: > 1st > I know how to zip a file but is there a way to zip a folder (with > fil

[web2py:15947] Re: invalid function

2009-02-06 Thread Sebastian E. Ovide
in my model I've added: from applications.plugin_t2.modules.t2 import T2 t2=T2(request,response,session,cache,T,db) and in one action I added (this line causes the error) theUser=t2.display(db.auth_user) ) The cuntionality that I'm interested on is the image preview and zoom thanks On Fr

[web2py:15948] Re: invalid function

2009-02-06 Thread Sebastian E. Ovide
I've forgot to say that I've imported the plug in plugin_t2 the thing that I'm trying to do with T2 is to display the user information (a model that extends Auth) in a page where there are other informations and forms On Fri, Feb 6, 2009 at 9:02 AM, Sebastian E. Ovide wrote: > in my mod

[web2py:15949] Re: invalid function

2009-02-06 Thread mdipierro
Can you show us the entire controller? mind that when you use theUser=t2.display(db.auth_user) you need to call the corrsponding URL with http:///a/c/f/[id] where [id] is the id of the record you want to display. Massimo On Feb 6, 5:02 am, "Sebastian E. Ovide" wrote: > in my model I've a

[web2py:15950] record breaking

2009-02-06 Thread mdipierro
05/Feb/2009 in 24 hrs 44735 http requests 2340 distinct visitors 216 downloads from distinct visitors today, in 10 hrs we already got 564 distinct visitors and 73 downloads the average is 550 distinct visitors/day and about 50 downloads/day. --~--~-~--~~~---~--~~

[web2py:15951] Re: record breaking

2009-02-06 Thread Markus Gritsch
On Fri, Feb 6, 2009 at 4:17 PM, mdipierro wrote: > > 05/Feb/2009 in 24 hrs > > 44735 http requests > 2340 distinct visitors > 216 downloads from distinct visitors Nice. I think the line "Used by PyCon 2009 for registration" made a good impression :) Markus --~--~-~--~~

[web2py:15953] Re: PEP 8 (Style Guide for Python Code) Compliance

2009-02-06 Thread Markus Gritsch
On Fri, Feb 6, 2009 at 4:35 AM, Chuck Rhode wrote: > > achipa wrote this on Thu, Feb 05, 2009 at 03:53:31PM -0800. My reply is > below. > >> One more example of 'I didn't quite expect this': >> >> if os.name == 'nt': >> proc = Popen([self.cmd], stdin=PIPE, stdout=PIP

[web2py:15954] Re: PEP 8 (Style Guide for Python Code) Compliance

2009-02-06 Thread mdipierro
thanks On Feb 6, 9:38 am, Chuck Rhode wrote: > mdipierro wrote this on Thu, Feb 05, 2009 at 07:57:31PM -0800. My > reply is below. > > > May I ask you to sent me the latest version with the parameters set > > appropriately? > > I am not sure I have the latest. > > Here is *PythonTidy* as an att

[web2py:15955] Re: 1.56 Crud

2009-02-06 Thread carlo
thank you. On 5 Feb, 20:07, Fran wrote: > On Feb 5, 6:39 pm, carlo wrote: > > > I liked the new crud, never loved T2 that much, and maybe this is a > > well known question: which is the best way to customize crud tables > > layout (css) and maybe other details (column headers,etc..) > > Crud ta

[web2py:15956] errors on CRUD web2py site documentation

2009-02-06 Thread carlo
I read: http://locahost:8000/application/default/data/select/create/tablename http://locahost:8000/application/default/data/select/read/tablename/record_id http://locahost:8000/application/default/data/select/update/tablename/record_id http://locahost:8000/application/default/data/select/delete/t

[web2py:15957] Re: errors on CRUD web2py site documentation

2009-02-06 Thread carlo
Another quirk with CRUD: when I show one table, http://localhost:8000/application/default/data/select/tablename, clicking on one record_id I get: http://locahost:8000/application/default/data/read/tablename/record_id I expected record_id links to: http://locahost:8000/application/default/data

[web2py:15959] any example of a questionnaire ?

2009-02-06 Thread Stef Mientki
hello, I just discovered web2py. Looks great. Beautiful demo movies. Does someone has an example of a questionnaire or survey build with py2web ? thanks, Stef --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2

[web2py:15958] Re: errors on CRUD web2py site documentation

2009-02-06 Thread mdipierro
We should make this behaviour changable. Thanks for the typos. Massimo On Feb 6, 11:54 am, carlo wrote: > Another quirk with CRUD: > > when I show one > table,http://localhost:8000/application/default/data/select/tablename, > clicking on one record_id I get: > > http://locahost:8000/applicatio

[web2py:15960] Re: any example of a questionnaire ?

2009-02-06 Thread mdipierro
http://web2py.appspot.com/survey/survey/take/5ffc03a6-d848-41c2-90d5-7dd71e89df8d/46476 http://web2py.appspot.com/survey/survey to create your own. Reporting tools need to be improved. I found they have some problems. On Feb 6, 12:25 pm, Stef Mientki wrote: > hello, > > I just discovered web2p

[web2py:15961] new web2py t2 changes - how do they affectg t3

2009-02-06 Thread Wes James
Massimo, How do the new changes affect t3? I have been working on some changes in the older system t2 that was in t3. I made changes to the login form so that when there is an error logging in the username stays in the username field when the form comes back I have made changes to itemize it

[web2py:15962] Pyjamas and web2py

2009-02-06 Thread mdipierro
This is a draft and I have not tried it yet. Perhaps you can help me debug it. http://mdp.cti.depaul.edu/AlterEgo/default/show/203 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post

[web2py:15963] Re: Pyjamas and web2py

2009-02-06 Thread Timothy Farrell
Sweet! It doesn't seem to like line 34 of todoApp.py which looks like this: |if id<0: id =" self.remote.deleteTask(sender.getValue(sender.getSelectedIndex()),self)" method ="=" method ="=" method ="=">| what should that be instead? -tim mdipierro wrote: > This is a draft and I have not tri

[web2py:15964] Re: Pyjamas and web2py

2009-02-06 Thread Timothy Farrell
Well after a short but valiant effort, I'm going back to business as usual. I'll wait util someone else figures this out better than I. Basically, there's a discrepancy between the location of the static Pyjamas files and the data service (and that's after you fix the typos). Typos to fix are

[web2py:15965] Re: Pyjamas and web2py

2009-02-06 Thread dhmorgan
Fantastic idea! I've just been getting into the Pyjamas and would love to help. Tomorrow. ;-) Danny On Feb 6, 1:57 pm, mdipierro wrote: > This is a draft and I have not tried it yet. Perhaps you can help me > debug it. > > http://mdp.cti.depaul.edu/AlterEgo/default/show/203 --~--~-~--

[web2py:15966] Re: new web site

2009-02-06 Thread fpp
This Google Group used to be featured visibly on the main page. Now it's just a small link (as "mailing list") on the Support page, hard to find even when you're looking for it... probably many who don't know it's there will miss it. --~--~-~--~~~---~--~~ You recei

[web2py:15967] Patch for 'layout.html' to pass XHTML 1.0 Strict validation

2009-02-06 Thread Markus Gritsch
Hi, when having an empty response.menu the default 'layout.html' gives the following error when validating it on http://validator.w3.org/ Line 63, Column 7: end tag for "ul" which is not finished. The error is that an has to contain some items in XHTML. The attached 'layout.html' fixes this.

[web2py:15968] Re: PEP 8 (Style Guide for Python Code) Compliance

2009-02-06 Thread Chuck Rhode
Markus Gritsch wrote this on Fri, Feb 06, 2009 at 04:59:24PM +0100. My reply is below. > w.setDatesToMark( set( ( datetime.date( 2006, 2, 27 ), > datetime.date( 2006, 3, 6 ), > datetime.date( 2006, 3, 8 ), >

[web2py:15969] Re: Pyjamas and web2py

2009-02-06 Thread Ernesto Savoretti
On Feb 6, 8:12 pm, dhmorgan wrote: > Fantastic idea! I've just been getting into the Pyjamas and would love > to help. > +1 I've been out to Pyjamas the last couple of months :) and because of that I missed completely some important web2py trends (T2, T3 and so on). The trade-off was that I

[web2py:15970] Re: new web site

2009-02-06 Thread mdipierro
yes. I will put the link back. On Feb 6, 4:41 pm, fpp wrote: > This Google Group used to be featured visibly on the main page. Now > it's just a small link (as "mailing list") on the Support page, hard > to find even when you're looking for it... probably many who don't > know it's there will mi

[web2py:15971] Re: Patch for 'layout.html' to pass XHTML 1.0 Strict validation

2009-02-06 Thread mdipierro
thanks On Feb 6, 5:43 pm, Markus Gritsch wrote: > Hi, > > when having an empty response.menu the default 'layout.html' gives the > following error when validating it onhttp://validator.w3.org/ > > Line 63, Column 7: end tag for "ul" which is not finished. > > The error is that an has to contain

[web2py:15972] Re: new web2py t2 changes - how do they affectg t3

2009-02-06 Thread mdipierro
send me the code when done. ;-) Thanks. On Feb 6, 1:45 pm, Wes James wrote: > Massimo, > > How do the new changes affect t3?  I have been working on some changes > in the older system t2 that was in t3. > > I made changes to the login form so that when there is an error > logging in the username