Re: [web2py] Re: nightly built

2010-04-17 Thread Jason Brower
Woah nelly. These are cool features! br, Jason On Fri, 2010-04-16 at 22:40 -0700, mdipierro wrote: Replaced CherryPy with Rocket web server, thanks Tim CacheOnDisk allows to specify a folder IS_DATE/DATETIME can handle any year since 0 Field().with_alias, thanks Nathan and Mengu

Re: [web2py] Re: options.py problem

2010-04-17 Thread Tomas Pelka
Still: Cannot import config file [options] Btw I need to start web2py from script using: gluon.widget.start(cron=True) Is there any way how to preset options? Looking in source I can see that 647 parser.add_option('-L', 648'--config', 649

[web2py] _href and src url not rendered

2010-04-17 Thread annet
In the view of a html mail function I have got the following A-helper and img tag: td class=browserversion align=left pHaving trouble viewing this email? {{=A('View it in your browser',

[web2py] Re: _href and src url not rendered

2010-04-17 Thread annet
Maybe the following information is of help to help me solve the problem. The mail function reads like: def send_mail(): mailinglist=db((db.bedrijfcontactpersoon.bedrijf==db.bedrijf.id)(db.bedrijfcontactpersoon.bedrijf==db.bedrijfinschrijving.bedrijf) \

[web2py] Re: _href and src url not rendered

2010-04-17 Thread annet
I converted the send_mail function to a none mail function. The send_mail function: def send_mail(): mailinglist=db((db.bedrijfcontactpersoon.bedrijf==db.bedrijf.id)(db.bedrijfcontactpersoon.bedrijf==db.bedrijfinschrijving.bedrijf) \

[web2py] Re: How to return the resources?

2010-04-17 Thread aabelyakov
Yes, this is the right decision! Topic closed. Thanks On 16 апр, 17:30, mdipierro mdipie...@cs.depaul.edu wrote: I think there is a problem with multithreading because of PySerial. Pyserial open a post connected to COM and COM is a resource that cannot be shared. In web2py every request is

[web2py] Re: NameError: global name 'formstyle' is not defined

2010-04-17 Thread aabelyakov
I re-downloaded a working copy of trunk from https://web2py.googlecode.com/hg/. Error disappeared. Topic closed. Thanks On 16 апр, 17:25, mdipierro mdipie...@cs.depaul.edu wrote: where did you get web2py from? On Apr 16, 2:01 am, aabelyakov aabelya...@gmail.com wrote: On 16 апр, 10:21,

Re: [web2py] Re: How to return the resources?

2010-04-17 Thread Jason Brower
To add to the closed topic. (: Massimo and I worked over this with PySerial and yeah, having a separate program to manage the serial connection is actually VITAL. Especially if your making devices that send important other data. Have that external app just update a file in queue with

[web2py] Re: How to return the resources?

2010-04-17 Thread aabelyakov
Jason, thank you for the important addition... On 17 апр, 13:07, Jason Brower encomp...@gmail.com wrote: To add to the closed topic. (: Massimo and I worked over this with PySerial and yeah, having a separate program to manage the serial connection is actually VITAL.  Especially if your

[web2py] Jquery Modal with values from

2010-04-17 Thread ChrisM
Hi, I have web2py return a selection from a controller function i.e. return dict(beats=beats) which I am iterating on a page using: I have a jquery Modal dialog which is shown after this click function for each b: {{for b in beats:}} $('#msemp_{{=b.uuid}}').click(function() {

[web2py] Re: nightly built

2010-04-17 Thread DenesL
Indeed, thanks fly off to all involved. The readme says 1.77.1, but no official announce? On Apr 17, 1:54 am, Jason Brower encomp...@gmail.com wrote: Woah nelly.  These are cool features! -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

[web2py] Re: nightly built

2010-04-17 Thread Yarko Tymciurak
On Apr 17, 6:49 am, DenesL denes1...@yahoo.ca wrote: Indeed, thanks fly off to all involved. The readme says 1.77.1, but no official announce? More importantly: there README says 1.77.1, but: - The VERSION file doesn't; - There was no action: hg tag 1.77.1 (I can tell from the .hgtags

[web2py] Re: nightly built

2010-04-17 Thread Yarko Tymciurak
On Apr 17, 9:24 am, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: On Apr 17, 6:49 am, DenesL denes1...@yahoo.ca wrote: Indeed, thanks fly off to all involved. The readme says 1.77.1, but no official announce? More importantly:   there README says 1.77.1, but: -  The VERSION file

[web2py] Re: nightly built

2010-04-17 Thread mdipierro
I have not tagged it because this is not 1.77.1 yet. The reade shows what 1.77.1 will show. Massimo On Apr 17, 9:28 am, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: On Apr 17, 9:24 am, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: On Apr 17, 6:49 am, DenesL denes1...@yahoo.ca

Re: [web2py] Re: compiling apps and reporting errors

2010-04-17 Thread Jonathan Lundell
On Apr 16, 2010, at 6:39 PM, mdipierro wrote: I think I fixed it in trunk, please let check it. It looks right. I'll try to make a test case. Two minor things. You added , e to the except clause, but e appears to be unused. Is there a reason for it? Second, while it makes no difference to

Re: [web2py] Re: error compiling app

2010-04-17 Thread Jonathan Lundell
On Apr 16, 2010, at 6:47 PM, mdipierro wrote: I am readying your question and my answer again and I said something silly. You should be able to do what you originally proposed {{extend request.layout}} although I'd probably do {{extend reponse.layout}} instead. I tried and both work for me

Re: [web2py] Digest for web2py@googlegroups.com - 25 Messages in 12 Topics

2010-04-17 Thread Ron K. Jeffries
Would someone please point me to a web shop site implemented using web2py? Thanks in advance. --- Ron K. Jeffries http://ronkjeffries.posterous.com On Sat, Apr 17, 2010 at 08:33, web2py+nore...@googlegroups.com wrote:   Today's Topic Summary Group:

[web2py] Re: optgroup support

2010-04-17 Thread Iceberg
Hi Denes and/or Massimo, I just pick up this old post from http://groups.google.com/group/web2py/browse_frm/thread/971433920541935a I used the code suggested by Denes, e.g. using TAG.SELECT and TAG.OPTGROUP. The code shows proper drop-down box but, after form.accepts(...) the

[web2py] Re: compiling apps and reporting errors

2010-04-17 Thread mdipierro
ok On Apr 17, 10:17 am, Jonathan Lundell jlund...@pobox.com wrote: On Apr 16, 2010, at 6:39 PM, mdipierro wrote: I think I fixed it in trunk, please let check it. It looks right. I'll try to make a test case. Two minor things. You added , e to the except clause, but e appears to be

[web2py] Re: Jquery Modal with values from

2010-04-17 Thread mdipierro
I am sorry I do not understand. Could you explain the logic first? What is the purpose of the modal? On Apr 17, 6:03 am, ChrisM cjjmur...@gmail.com wrote: Hi, I have web2py return a selection from a controller function i.e. return dict(beats=beats) which I am iterating on a page using: I

[web2py] Re: error compiling app

2010-04-17 Thread mdipierro
uploading to trunk! On Apr 17, 10:23 am, Jonathan Lundell jlund...@pobox.com wrote: On Apr 16, 2010, at 6:47 PM, mdipierro wrote: I am readying your question and my answer again and I said something silly. You should be able to do what you originally proposed {{extend request.layout}}

[web2py] Re: Digest for web2py@googlegroups.com - 25 Messages in 12 Topics

2010-04-17 Thread mdipierro
by web shop. Do you mean a web store? We (actually Yako did) run the pycon registration for 2009 and 2010. That is kind of a store. Massimo On Apr 17, 11:13 am, Ron K. Jeffries rjeffr...@gmail.com wrote: Would someone please point me to a web shop site implemented using web2py? Thanks in

[web2py] Re: optgroup support

2010-04-17 Thread mdipierro
you must user SELECT and not TAG.SELECT. The former is derived from INPUT an knows how to process options, tha latter is simply derived from a DIV and does not. On Apr 17, 1:08 pm, Iceberg iceb...@21cn.com wrote: Hi Denes and/or Massimo, I just pick up this old post

[web2py] Application logging

2010-04-17 Thread Keith Edmunds
What are others doing for application logging? I'm not referring to the HTTP logs, but program-generated logs. I've recently been looking at the Python 'logging' module, which I've not used before. I initiate logging from a file in the 'modules' directory which does this:

[web2py] cool html5 stuff

2010-04-17 Thread mdipierro
http://apirocks.com/html5/html5.html#slide39 -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

[web2py] Re: Jquery Modal with values from

2010-04-17 Thread ChrisM
Sorry if I didn't explain enough. I have a series of messages called beats (db.beats) which are displayed on the page in tabulated div elements. Each beat has fields one of which is user_id. Within each div is a link that will open the modal which contains the form with the slider widget. I want

Re: [web2py] Re: options.py problem

2010-04-17 Thread Tomas Pelka
Tomas Pelka wrote: Still: Cannot import config file [options] Btw I need to start web2py from script using: gluon.widget.start(cron=True) Is there any way how to preset options? I get it, I have to run directly HttpServer(option here). Looking in source I can see that 647

[web2py] Re: web2py on IDE

2010-04-17 Thread Doug Elkin
Feel free to take these requests with a grain of salt... I know most things with development are easier said than done, but these are just things I'd really like to see: When doing tab-completion on web2py functions, I'd like to be able to see any other possible variables that can be passed to

Re: [web2py] Re: web2py on IDE

2010-04-17 Thread Thadeus Burgess
Instead of Create new file you can have Create Controller/Create Model/Create View etc etc.. And it will just make the file in the proper place for that framework. I would also like to see, for web2py, is to have exec/build mapped to F5, but for web2py projects it will launch a single instance of

[web2py] Re: cas_auth.py

2010-04-17 Thread Erik Southworth
On Mar 4, 11:48 pm, mdipierro mdipie...@cs.depaul.edu wrote: thanks to Gyuris Szabolcs we have a working gluon/contrib/ login_methods/cas_auth.py Let us know if you give it a try. massimo From the index page: 'register' link action does NOT redirect to CAS like the 'login' link action

[web2py] Re: web2py on IDE

2010-04-17 Thread Mengu
On 18 Nisan, 04:10, Doug Elkin drelki...@gmail.com wrote: Feel free to take these requests with a grain of salt... I know most things with development are easier said than done, but these are just things I'd really like to see: When doing tab-completion on web2py functions, I'd like to be

[web2py] Re: web2py on IDE

2010-04-17 Thread mdipierro
Something that would make easy to move file and plugins across applications, pack and unpack apps and plugins may also be useful. On Apr 17, 9:57 pm, Thadeus Burgess thade...@thadeusb.com wrote: Instead of Create new file you can have Create Controller/Create Model/Create View etc etc.. And it

[web2py] Re: cas_auth.py

2010-04-17 Thread mdipierro
I think I broke this when I moved it from mdp.cti.depaul.edu to web2py.com. I will check tomorrow. On Apr 17, 10:56 pm, Erik Southworth erik.southwo...@gmail.com wrote: On Mar 4, 11:48 pm, mdipierro mdipie...@cs.depaul.edu wrote: thanks to Gyuris Szabolcs we have a working gluon/contrib/