[web2py:32937] Re: A simple patch to provide upload progress

2009-10-15 Thread mdipierro
yes. Thank you! We should post a web2pyslice about this. On Oct 14, 11:50 pm, Richard richar...@gmail.com wrote: is this it?http://pastebin.com/f69e7b008 On Oct 15, 11:55 am, mdipierro mdipie...@cs.depaul.edu wrote: I remember the author of the patch posted an example but I cannot find

[web2py:32936] Re: tempory table and store procedure

2009-10-15 Thread mdipierro
There is no mechanism for temporary tables. The options are 1) user db.executesql to define the temporary table then make it visible to web2py DAL using db.define_table ('yourtemptable',,migrate=False) 2) use a Rows object instead of a temporary table. If you show us an example of the raw

[web2py:32938] Re: web2py + matplotlib, is there a how-to posted

2009-10-15 Thread mdipierro
I am giving a tutorial at supercomputing 2009 about this topic. You can find my slides and the code here: http://web2py.com/examples/static/supercomputing2009.zip Massimo On Oct 14, 10:42 pm, Vincent vinc...@vincentdavis.com wrote: I have been reading a bit about matplotlib plots into a

[web2py:32939] Re: Recursive One2Many relation

2009-10-15 Thread mdipierro
The best way to do it is discussed here with code examples in web2pyL http://www.mail-archive.com/web2py@googlegroups.com/msg06396.html On Oct 15, 12:44 am, Vasile Ermicioi elff...@gmail.com wrote: php examples use classes (but we don't have an ORM, so data doesn't map that wayThank you,

[web2py:32940] Re: Recursive One2Many relation

2009-10-15 Thread Yarko Tymciurak
ah, yes - that is very clean... On Thu, Oct 15, 2009 at 1:17 AM, mdipierro mdipie...@cs.depaul.edu wrote: The best way to do it is discussed here with code examples in web2pyL http://www.mail-archive.com/web2py@googlegroups.com/msg06396.html On Oct 15, 12:44 am, Vasile Ermicioi

[web2py:32941] Re: web2py wiki

2009-10-15 Thread CJSteel
Alvaro (and Massimo), Awesome work. It is great to know that we have such a great app and that it run on GAE. I was going to suggest meta data, but after thinking it over a bit I am really like the flexibility, power and simplicity of a straight up tagging system but that got me thinking...

[web2py:32942] Returning rows as xml results in badly formed xml

2009-10-15 Thread Adi
Hi, I have an HTTPService which returns a result of a query as xml, which I need to display in Flex 3 frontend. Here's the simplified code snippet: @service.xml def records(): rows = db().select(db.videodata.id, db.videodata.title, db.videodata.thumbnail, \

[web2py:32943] SQLFORM.factory conditional Field in form

2009-10-15 Thread ed
Hi, In the example on conditional fields given in Web2py manual the convention is, every INPUT field have a name equal to tablename_fieldname and it contained in a called tablename_fieldname_row. However, SQLFORM.factory doesn't have a table, it is all fields. Can someone tell me, what name is

[web2py:32944] Re: web2py wiki

2009-10-15 Thread CJSteel
Thadeus, The email issue has been on my mind as well. I know I always promise my self to go mining for those awesome tidbits that get filed under obscure titles but never seem to come up for air via googling of various sorts... A site dedicate to sorting and tagging email automagically might be

[web2py:32945] Re: Extjs2web2py

2009-10-15 Thread Fran
On Oct 14, 8:05 am, luz dottor@gmail.com wrote: just for a matter of fun and to get some practice, I would like to write a small plugin for Web2py that should make Extjs development easier. Funnily enough this is something that I've just started looking at as well :) Ext's UI seems so

[web2py:32946] Re: Returning rows as xml results in badly formed xml

2009-10-15 Thread Thadeus Burgess
Doesn't the view get rendered to a generic.xml? You should be able to use a custom view for the controller to render the xml exactly how you want it. -Thadeus On Thu, Oct 15, 2009 at 1:55 AM, Adi aditya.sa...@gmail.com wrote: Hi, I have an HTTPService which returns a result of a query as

[web2py:32947] Re: SQLFORM.factory conditional Field in form

2009-10-15 Thread Boris Manojlovic
no_table_fieldname so no_table is what you need On Thu, Oct 15, 2009 at 8:55 AM, ed edbi...@rocketmail.com wrote: Hi, In the example on conditional fields given in Web2py manual the convention is, every INPUT field have a name equal to tablename_fieldname and it contained in a called

[web2py:32948] Re: How can I set a view to a controller manually?

2009-10-15 Thread Renato-ES-Brazil
Simple and perfect! Thanks. On Oct 14, 9:56 pm, mdipierro mdipie...@cs.depaul.edu wrote: response.view='default/theview.html' On Oct 14, 7:47 pm, Renato-ES-Brazil caliari.ren...@gmail.com wrote: Can I manually choose which view (template file) I will use to render a controller? I

[web2py:32949] Re: Extjs2web2py

2009-10-15 Thread Alex Fanjul
I would like to choose an option who can use/integrate with jquery ui widgets easily otherwise we'll want another wrapper in near future for other cool framework, so maybe option 2? Alex F El 15/10/2009 9:33, Fran escribió: On Oct 14, 8:05 am, luzdottor@gmail.com wrote: just for a

[web2py:32951] Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-15 Thread Web2py-SuperFan
WARNING:root:no file locking default applications appear to be installed already web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2009 Version 1.67.2 (2009-09-28 16:29:33) Database drivers available: SQLite3 Starting cron... please visit: http://127.0.0.1:8000

[web2py:32952] Re: Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-15 Thread mdipierro
The first line says you have no file locking. What hardware? What OS? What Python version? Massimo On Oct 15, 8:24 am, Web2py-SuperFan mwkan...@gmail.com wrote: WARNING:root:no file locking default applications appear to be installed already web2py Enterprise Web Framework Created by

[web2py:32953] Re: FYI: Ext JS Designer Preview

2009-10-15 Thread Timbo
Negative. jQuery-UI does not (yet) have an IDE. There are two main types of Javascript libraries: - Help enhance a designed page (jQuery, Prototype+Scriptaculous, Mootools, Dojo, ExtCore) - Generally these are used to AJAX goodness to an already pretty page - Help build a web application (YUI,

[web2py:32954] Re: It is alive!!! (the new book is on sale)

2009-10-15 Thread snfctech
Woo-hoo! Now I can stop printing out each chapter one at a time. ;-) On Oct 14, 9:29 am, Zoom.Quiet zoom.qu...@gmail.com wrote: Up ! so great news... but that Chinese translation, set many tome for:http://www.zeuux.org/campaign/zeuux-summit-2009.cn.html after 091017 will rush for

[web2py:32955] Re: It is alive!!! (the new book is on sale)

2009-10-15 Thread CJSteel
Congrats! It makes me s happy to know that students will have the opportunity to learn about and work with high quality current technology. It is so awesome to see a current book in a university book store! Cheers, Chris On Oct 14, 10:57 am, Massimo Di Pierro mdipie...@cs.depaul.edu

[web2py:32956] Re: deploying web2py on cpanel shared hosting

2009-10-15 Thread dekushrub
Did you ever figure it out? I'm trying to do the same thing On Oct 6, 7:57 pm, whiskeyjuvenile whiskeyjuven...@gmail.com wrote: This works: from mod_python import apache def handler(req):     req.content_type = 'text/plain'     req.write(Hello World!)     return apache.OK If I insert

[web2py:32957] Re: It is alive!!! (the new book is on sale)

2009-10-15 Thread mdipierro
The old format was terrible because of a miscommunication problem. This one feels really good. It is the right size. Moreover Peter did a wonderful job with the cover. On Oct 15, 10:04 am, CJSteel chris.st...@gmail.com wrote: Congrats! It makes me s happy to know that students will have

[web2py:32958] Re: web2py and python 2.4

2009-10-15 Thread pepe_eloy
Thanks Massimo for the answer, but what's hashlib?, How can I install it? Regards José Eloy Torres Mexico --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to

[web2py:32959] Re: web2py and python 2.4

2009-10-15 Thread mdipierro
which os? Massimo On Oct 15, 2:11 pm, pepe_eloy pepe.e...@gmail.com wrote: Thanks Massimo for the answer, but what's hashlib?, How can I install it? Regards José Eloy Torres Mexico --~--~-~--~~~---~--~~ You received this message because you are subscribed

[web2py:32960] Re: web2py and python 2.4

2009-10-15 Thread Yarko Tymciurak
http://pypi.python.org/pypi/hashlib/20060408a The install instructions are at the hashlib home page: http://code.krypto.org/python/hashlib/ On Thu, Oct 15, 2009 at 2:11 PM, pepe_eloy pepe.e...@gmail.com wrote: Thanks Massimo for the answer, but what's hashlib?, How can I install it?

[web2py:32961] Re: Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-15 Thread Wes James
do you have run web2py on vista as administrator? On Thu, Oct 15, 2009 at 7:24 AM, Web2py-SuperFan mwkan...@gmail.com wrote: WARNING:root:no file locking default applications appear to be installed already web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2009

[web2py:32962] Re: Cron table deletion on GAE

2009-10-15 Thread Robin B
You could look at the task queue to build a more dynamic version of what you are doing with cron polling. Also tasks can execute in parallel, so instead of 30,000/200 units of time to delete, you can do (30,000/200)/N where N is the level of concurrency you set for your task queue. Robin On

[web2py:32963] Re: db rollback on GAE

2009-10-15 Thread Robin B
If you need to use a transaction, you could still do it using web2py: from google.appengine.ext import db as gaedb def txn(): counter = db.counters[cid] if counter: counter.update_record(count = counter.count+1) return counter counter = gaedb.run_in_transaction(txn) print

[web2py:32964] Re: web2py + matplotlib, is there a how-to posted

2009-10-15 Thread weheh
Massimo, I've reviewed your slide presentation and have the following comments (page numbers refer to pdf page numbers): p. 4: bullets are dark gray on darker gray and are illegible (this occurs in other slides as well) p. 13: Field('seuqence') should be spelled Field('sequence') p. 25: apposite

[web2py:32966] Re: db rollback on GAE

2009-10-15 Thread mdipierro
Cool. I added an AlterEgo entry about this. On Oct 15, 3:36 pm, Robin B robi...@gmail.com wrote: If you need to use a transaction, you could still do it using web2py: from google.appengine.ext import db as gaedb def txn(): counter = db.counters[cid] if counter:

[web2py:32967] Re: web2py + matplotlib, is there a how-to posted

2009-10-15 Thread mdipierro
Thanks. On Oct 15, 4:00 pm, weheh richard_gor...@verizon.net wrote: Massimo, I've reviewed your slide presentation and have the following comments (page numbers refer to pdf page numbers): p. 4: bullets are dark gray on darker gray and are illegible (this occurs in other slides as well) p.

[web2py:32968] Re: Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-15 Thread mr.freeze
He said he is running Vista in the subject. On Oct 15, 4:05 pm, mdipierro mdipie...@cs.depaul.edu wrote: No. He did not say he is running vista. SuperFan, are you running Vista? He seems to be running a non-posix non win32 os that does not support file locking On Oct 15, 3:26 pm, Wes James

[web2py:32969] Re: Cron table deletion on GAE

2009-10-15 Thread Chris S
Thanks for the tip I'll have to look at Task Queues I don't know anything about them. For anyone else looking to do what I was (cron a 'kind' deletion). Mine did complete. I was able to simply check my Cron tab and when the process didn't fail that meant all items were deleted and I could stop

[web2py:32970] Re: Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-15 Thread mdipierro
oops. Anybody else getting this on vista? WARNING:root:no file locking There could be a bug with the Python version. On Oct 15, 4:08 pm, mr.freeze nat...@freezable.com wrote: He said he is running Vista in the subject. On Oct 15, 4:05 pm, mdipierro mdipie...@cs.depaul.edu wrote: No. He

[web2py:32971] Re: web2py and python 2.4

2009-10-15 Thread pepe_eloy
Linux (RedHat, CentOS, Debian, Ubuntu) Regards Jose Eloy Torres --~--~-~--~~~---~--~~ 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

[web2py:32972] Re: Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-15 Thread mr.freeze
I have always gotten 'WARNING:root:no file locking' on Vista and 7 RTM. Maybe XP too but I can't remember. I am using Python 2.5. It doesn't seem to cause any problems for me though. On Oct 15, 4:44 pm, mdipierro mdipie...@cs.depaul.edu wrote: oops. Anybody else getting this on vista?

[web2py:32973] website creator app

2009-10-15 Thread Richard
hello, I am after a simple website creator app where the logged in user can: - create pages with rich text and images - edit/delete existing pages - choose which pages to link from menu Basically a very limited CMS for static websites. I had been using Google Sites, but it doesn't give enough

[web2py:32974] Re: Add button next to combo box

2009-10-15 Thread Renato-ES-Brazil
Hi guys! Another problem found: - The form.accepts fails when I trying submit the form with the links add. Some lines shown in the log: if form.accepts(request.vars, session): File /home/renato/Desenvolvimento/web2py/gluon/sqlhtml.py, line 777, in accepts

[web2py:32975] Re: Add button next to combo box

2009-10-15 Thread Renato-ES-Brazil
I'll to try do it. :-) On 14 out, 12:42, Thadeus Burgess thade...@thadeusb.com wrote: Write a web2pyslice when you get it hashed out! -Thadeus On Wed, Oct 14, 2009 at 6:24 AM, Renato-ES-Brazil caliari.ren...@gmail.comwrote: xample, I wanted to put the link add next to the Product

[web2py:32976] Re: Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-15 Thread mdipierro
It will cause major problems. It is not locking files. You can have corrupted files. we need to get to the bootom of this. Can you help debug? The problem is in gluon/portalocker.py On Oct 15, 5:56 pm, mr.freeze nat...@freezable.com wrote: I have always gotten 'WARNING:root:no file locking'

[web2py:32977] Re: website creator app

2009-10-15 Thread mdipierro
look into web2py.appspot.com/t3 On Oct 15, 7:23 pm, Richard richar...@gmail.com wrote: hello, I am after a simple website creator app where the logged in user can: - create pages with rich text and images - edit/delete existing pages - choose which pages to link from menu Basically a

[web2py:32978] Re: Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-15 Thread mr.freeze
It's just a dependency issue. I just needed to install pywin32. http://sourceforge.net/projects/pywin32/files/ It's happy now. On Oct 15, 8:02 pm, mdipierro mdipie...@cs.depaul.edu wrote: It will cause major problems. It is not locking files. You can have corrupted files. we need to get to

[web2py:32979] Re: Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-15 Thread mdipierro
good. Feeling better now. Did you check the binary version? It should work fine without the warning. Massimo On Oct 15, 8:30 pm, mr.freeze nat...@freezable.com wrote: It's just a dependency issue.  I just needed to install pywin32.http://sourceforge.net/projects/pywin32/files/ It's happy

[web2py:32980] Re: Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-15 Thread mr.freeze
Just did. No warnings or problems. On Oct 15, 9:09 pm, mdipierro mdipie...@cs.depaul.edu wrote: good. Feeling better now. Did you check the binary version? It should work fine without the warning. Massimo On Oct 15, 8:30 pm, mr.freeze nat...@freezable.com wrote: It's just a dependency

[web2py:32981] running from source on Vista requires pywin32

2009-10-15 Thread mdipierro
Good. I changed the title to reflect your findings. On Oct 15, 9:14 pm, mr.freeze nat...@freezable.com wrote: Just did.  No warnings or problems. On Oct 15, 9:09 pm, mdipierro mdipie...@cs.depaul.edu wrote: good. Feeling better now. Did you check the binary version? It should work fine

[web2py:32982] Re: hg and google

2009-10-15 Thread Bottiger
I recommend Google. Bitbucket has had way too much downtime. The downtime that happened a couple of days ago was not the first (speaking from experience). On Oct 10, 9:16 am, mdipierro mdipie...@cs.depaul.edu wrote: http://googlecode.blogspot.com/2009/10/mercurial-server-side-clone-su...

[web2py:32983] Re: It is alive!!! (the new book is on sale)

2009-10-15 Thread mdipierro
Today I bought a few copy of the book (and for the record they charge me the same price as you for the book). I noticed something strange with the web site http://he-cda.wiley.com/WileyCDA/Section/id-321954.html The price is $35 then goes to $44 in the second page then they apply a discount (to

[web2py:32984] Re: website creator app

2009-10-15 Thread Richard
hmm that looks interesting. Is there a plan for t3? I haven't heard much about it lately. Richard On Oct 16, 12:03 pm, mdipierro mdipie...@cs.depaul.edu wrote: look into web2py.appspot.com/t3 On Oct 15, 7:23 pm, Richard richar...@gmail.com wrote: hello, I am after a simple website

[web2py:32985] Re: website creator app

2009-10-15 Thread mdipierro
For me t3 is dead because it does not the new Mail/Auth/Sevice/Crud but my plan to graw t4: http://www.mail-archive.com/web2py@googlegroups.com/msg20943.html merge it with the plugin system we are working on and create a kick- ass cms. Massimo On Oct 15, 10:05 pm, Richard richar...@gmail.com

[web2py:32986] Re: hg and google

2009-10-15 Thread mdipierro
Keep us posted. I like mercurial because it is pure Python and we could integrate further into web2py. Make sure to look into web2py/ applications/admin/controllers/mercurial.py I also agree we should use external services where available. I am not good with bookkeeping, backups, etc. Massimo

[web2py:32987] Re: website creator app

2009-10-15 Thread mr.freeze
Gimme On Oct 15, 10:08 pm, mdipierro mdipie...@cs.depaul.edu wrote: For me t3 is dead because it does not the new Mail/Auth/Sevice/Crud but my plan to graw t4: http://www.mail-archive.com/web2py@googlegroups.com/msg20943.html merge it with the plugin system we are working on and create

[web2py:32988] vim for the admin editor

2009-10-15 Thread Richard
Might be a nice extension for the admin editor: http://gpl.internetconnection.net/vi/ --~--~-~--~~~---~--~~ 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

[web2py:32989] Re: website creator app

2009-10-15 Thread Richard
awesome! I can wait a bit before needing to roll my own, so do you have any expected dates for a stable API? Richard On Oct 16, 2:08 pm, mdipierro mdipie...@cs.depaul.edu wrote: For me t3 is dead because it does not the new Mail/Auth/Sevice/Crud but my plan to graw t4:

[web2py:32990] Case sensitive application name

2009-10-15 Thread mr.freeze
http://web2py.com/AlterEgo works. http://web2py.com/alterego doesn't. Is this by design? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to