How can i enable the spooler?

I have pass target='spooler' to the decorator args but it gives the
same error.


On Jul 22, 7:44 pm, Tiago Moutinho <tiago...@gmail.com> wrote:
> I'M sorry Roberto for this boring question, but it gives an error in
> web2py when i try to run the controller, and i don't know ao to solve
> this.
>
> Exception: you have to enable the uWSGI spooler to use the @spool
> decorator
>
> Thks in advance
>
> On Jul 22, 5:39 pm, "Roberto De Ioris" <robe...@unbit.it> wrote:
>
>
>
>
>
>
>
> > > I using 0.9.8.1.
> > > How can i update to 0.9.8.2
>
> > > thks in advance
>
> > pip install uwsgi
> > (or pip install -U uwsgi)
>
> > Or download the sources from the official site and recompile them.
>
> > BTW we are getting a bit Off-topic i suppose we can move the discussion to
> > the uWSGI list (or the irc channel) and come back here when you have a
> > working setup :)
>
> > > On Jul 22, 10:15 am, Roberto De Ioris <robe...@unbit.it> wrote:
> > >> Il giorno 22/lug/2011, alle ore 11:09, Tiago Moutinho ha scritto:
>
> > >> > thks Roberto,
>
> > >> > tiago@tiago:~$ cd /opt/web2py/
> > >> > tiago@tiago:/opt/web2py$ mkdir myspool
> > >> > tiago@tiago:/opt/web2py$ uwsgi --socket :3031 --spooler myspool --
> > >> > master --processes 4 --import mytasks --module web2py.wsgihandler
> > >> > uwsgi: unrecognized option '--import'
>
> > >> Are you using the latest stable release ?
>
> > >> --import was added in 0.9.8.2 (there are other ways to implement this in
> > >> 0.9.8.1 but --import
> > >> is so handy that the upgrade is worthy :) )
>
> > >> --
> > >> Roberto De Iorishttp://unbit.it
>
> > --
> > Roberto De Iorishttp://unbit.it

Reply via email to