[web2py] Multiprocessing Issue with Web2py

2011-06-01 Thread Nite
I'm trying to start a background process to monitor the audio and am using pyaudio to accomplish it. I started with a separate script, but decided it seemed simpler to move the code into my module. The issue is that once I call the p.open to create the stream the subprocess hangs and I never get

[web2py] Re: Multiprocessing Issue with Web2py

2011-06-01 Thread Nite
/browse_thread/thread/98e4e0ec731a97a1/cd2520facc0ee6ea?lnk=gstq=nitesedge#cd2520facc0ee6ea As far as I can understand (what am I missing?) the only distinction is opening the pyaudio stream. Perhaps there is an incompatibility between pyaudio and web2py? -- Nite On Jun 1, 12:19 pm, Massimo Di Pierro

[web2py] Re: What if Massimo got hit by a Bus?

2011-05-26 Thread Nite
. They just terminate and stay resident. -- Nite On May 26, 2:14 pm, David J. da...@styleflare.com wrote: Q. What if Massimo got hit by a Bus? A. The bus would break. My .02 :) On 5/26/11 2:08 PM, Jason Brower wrote: On 05/26/2011 05:15 PM, Bob Blanchett wrote: I just read

[web2py] Re: How to implement background processes elegantly..

2011-05-24 Thread Nite
()) db.commit() The reason I did it this way is that I need to control the start/stop of this secondary process. There will only be one instance of it running at any given time and special permissions are needed to access the control functions. --Nite (Note, this example doesn't really make sense

[web2py] Re: How to implement background processes elegantly..

2011-05-23 Thread Nite
I'll second the use of the multiprocessing library. I started out using cron to start up a couple independent processes, but quickly ran into issues depending on the complexity of what I was trying to do. In the end I settled on the mp library which has worked out well. On May 23, 4:58 am,

[web2py] Re: develop iphone apps with web2py with this plugin

2011-05-14 Thread Nite
happening. I'm guessing this is because the first level menu doesn't link to anything and the menu structure should be modified to support this layout? -- Nite On May 14, 5:50 pm, Anthony abasta...@gmail.com wrote: Excellent! Note, the demo page doesn't render properly in IE: https://lh3

[web2py] Re: develop iphone apps with web2py with this plugin

2011-05-14 Thread Nite
layout? Variablize (is that even a word?) the layout path and if/then fork the menus? Regardless of the annyoance of this feature it's still far less work that I had planned in converting the slablet template: http://host.sonspring.com/slablet/light.html --Nite On May 14, 7:11 pm, Massimo Di Pierro

[web2py] Creating an iTunes Compatible Podcast with Web2py

2011-04-27 Thread Nite
I am attempting to create an itunes compatible podcast using the RSS capabilities of Web2py. Per the Book (http://web2py.com/book/default/chapter/09#RSS) the format is as follows: def feed(): return dict(title=my feed, link=http://feed.example.com;,

[web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread Nite
The Quickstart guide is accessible without logging in. https://www.simpleauth.com/docs/quickstart I would give it a shot, but this is beyond me... On Apr 27, 10:52 am, Tom Atkins minkto...@gmail.com wrote: Their documentation is available after signing up (very easy as you can use your Google

[web2py] Re: Creating an iTunes Compatible Podcast with Web2py

2011-04-27 Thread Nite
x //-- Seems odd that it didn't generate a ticket. I'll do a bit of digging to see if I can find why... Any help is appreciated. On Apr 27, 11:51 am, Jonathan Lundell jlund...@pobox.com wrote: On Apr 27, 2011, at 8:30 AM, Nite wrote: def feed():    return dict

[web2py] Re: Creating an iTunes Compatible Podcast with Web2py

2011-04-27 Thread Nite
': 'my feed'}) My version of web2py: Version 1.95.1 (2011-04-25 15:04:14) web2py is up to date On Apr 27, 12:25 pm, Anthony abasta...@gmail.com wrote: On Wednesday, April 27, 2011 12:01:29 PM UTC-4, Nite wrote: entries = [   { 'itunes:name': foo, ...   } ] Results in the following

[web2py] Re: Creating an iTunes Compatible Podcast with Web2py

2011-04-27 Thread Nite
this is incompatible with the iTunes podcast specification and I will need a different view to generate the required file. On Apr 27, 12:52 pm, Nite nitese...@gmail.com wrote: Upgraded to 1.95.1 which is current. Still no joy. It doesn't appear that curly brace notation will work for generating RSS feeds or I

[web2py] Re: Creating an iTunes Compatible Podcast with Web2py

2011-04-27 Thread Nite
. By an large the feed works until I try to update the rss_attrs and use the itunes namespace which is required for a proper iTunes podcast. I'm going to write a simple view that can handle what I need without resorting to using this module. On Apr 27, 1:01 pm, Nite nitese...@gmail.com wrote: Ok

[web2py] Re: OpenID - Best Example

2011-04-20 Thread Nite
. Uncomment the (4) lines in db.py 3. ... 4. Profit! Cheers! On Apr 10, 2:09 pm, Nite nitese...@gmail.com wrote: Can someone point me to the preferred method/example for using Openid for authentication? There are examples (Web2py Book and elsewhere) that I have tried, but without luck

[web2py] OpenID - Best Example

2011-04-10 Thread Nite
or place to start I would appreciate the pointer. Kind Regards, -- Nite