[web2py] Introducing myself

2012-02-26 Thread Luciano Pacheco
eem to be very worth, as far as I navigated in the archives. I've been working with Django and before I worked with Plone. I started to play with Python occasionally in 2005 and since 2008 I've been working only with it. :-) I looking forward to help the community. :-) Regards, -- Luciano Pacheco blog.lucmult.com.br

Re: [web2py] Re: Method to interactively experiment with web2py

2012-02-26 Thread Luciano Pacheco
bject? -> Details about 'object', use 'object??' for extra details. In [1]: What's the error you're getting ? [], -- Luciano Pacheco blog.lucmult.com.br On Sun, Feb 26, 2012 at 7:56 PM, Phyo Arkar wrote: > web2py shell no longer works with latest ipython 0.1

[web2py] Running a player in background - Thread

2012-02-26 Thread Luciano Pacheco
#x27;s about to finish the music dispatch the logic to get # the next music print '[%s] ended:' % datetime.now(), player.filename player = Mplayer('/path/to/a/file/199.mp3') #player = MPG123Player('199.mp3') player.s

Re: [web2py] Re: cron setup

2012-02-26 Thread Luciano Pacheco
is chapter. :-) Regards, -- Luciano Pacheco blog.lucmult.com.br On Mon, Feb 27, 2012 at 10:08 AM, Alan Etkin wrote: > It's all in the book (if you haven't seen yet) > > http://web2py.com/books/default/chapter/29/4#Cron > > By the way, The link in web2py to cron (http://web2py.com

Re: [web2py] Re: Sporadic ImportError with custom module

2012-02-26 Thread Luciano Pacheco
on the module are -rw-r--r--, apache:apache (the same > > user:group Apache is configured to use). > > > > The full source code can be found here[0], and I can provide > > additional information on the server if needed. > > > > What could be going wrong? > > > > [0] > https://github.com/spiffytech/MobileBlur/tree/master/applications/mob... [], -- Luciano Pacheco blog.lucmult.com.br

Re: [web2py] Re: cron setup

2012-02-27 Thread Luciano Pacheco
Example: http://movu.ca/demo/article/show/31/web2py-cron-task My first try in movu.ca :-) On Mon, Feb 27, 2012 at 2:32 PM, Sanjeet Kumar wrote: > Exactly I need the examples > > > On Mon, Feb 27, 2012 at 4:56 AM, Luciano Pacheco wrote: > >> I think Sanjeet means,

Re: [web2py] Re: cron setup

2012-02-28 Thread Luciano Pacheco
my application > > > On Mon, Feb 27, 2012 at 5:39 PM, Luciano Pacheco wrote: > >> Example: >> >> http://movu.ca/demo/article/show/31/web2py-cron-task >> >> My first try in movu.ca :-) >> >> >> On Mon, Feb 27, 2012 at 2:32 PM, Sanjeet Kumar w

Re: [web2py] About concurrent tasks

2012-02-28 Thread Luciano Pacheco
ay (even if the right is another > web framework or even another language). > Thank you very much. -- Luciano Pacheco blog.lucmult.com.br

Re: [web2py] Re: cron setup

2012-02-28 Thread Luciano Pacheco
he default controller and the index function can you > tell me how can i run the index function by using crontab which are in my > application folder. > > > On Tue, Feb 28, 2012 at 4:12 PM, Luciano Pacheco wrote: > >> Following the same

Re: [web2py] Re: About concurrent tasks

2012-02-28 Thread Luciano Pacheco
one waiting for another. > Just that. > The problem is the "just that" doen't scale. This application is supposed to be small ? If so, just use threads and will work. But, if you want to have 100 users opening each one 20 threads, it's clear that there is a limitation, isn&#

Re: [web2py] Re: cron setup

2012-02-28 Thread Luciano Pacheco
, Feb 28, 2012 at 10:33 PM, Sanjeet Kumar wrote: > Yes I want to run the index function of my default controller in a cron is > this possible or not ? > > On Tue, Feb 28, 2012 at 4:58 PM, Luciano Pacheco wrote: > >> You want to run the index function of your controller in a cr

Re: [web2py] Re: cron setup

2012-02-29 Thread Luciano Pacheco
On Wed, Feb 29, 2012 at 11:10 PM, Sanjeet Kumar wrote: > I have the following code in my crontab :- > > 0-59/1****root **applications/welcome/cron/test.py > put just 1 * before applications/ [], -- Luciano Pacheco blog.lucmult.com.br

Re: [web2py] Re: cron setup

2012-03-01 Thread Luciano Pacheco
gt; connect > return self.driver.Connection(dbpath, **driver_args) > OperationalError: unable to open database file > > > > On Wednesday, February 29, 2012 6:39:22 PM UTC+5:30, lucmult wrote: >> >> >> >> On Wed, Feb 29, 2012 at 11:10 PM, Sanjeet K