On Wednesday, March 25, 2015 at 6:54:31 PM UTC+1, Ron Chatterjee wrote:
>
> Try to commit the database in shell. That should take the lock off.
>
> On Wednesday, March 25, 2015 at 5:02:40 AM UTC-4, Roberto De Ioris wrote:
>>
>>
>> > Hello Peter.
>> >
>> > I've got also a problem with scheduler/s
Try to commit the database in shell. That should take the lock off.
On Wednesday, March 25, 2015 at 5:02:40 AM UTC-4, Roberto De Ioris wrote:
>
>
> > Hello Peter.
> >
> > I've got also a problem with scheduler/sqlite, "OperationalError:
> database
> > is locked".
> > Have you found a solution
> Hello Peter.
>
> I've got also a problem with scheduler/sqlite, "OperationalError: database
> is locked".
> Have you found a solution?
>
> Thanks.
>
>
You can't generally solve it.
Sqlite has a pretty "weak" concurrent support, so if a process try to do
something while another has initiated a
Hello Peter.
I've got also a problem with scheduler/sqlite, "OperationalError: database is
locked".
Have you found a solution?
Thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/i
Thanks Vasile. There is a typo in your reply
Enabled-shared should read enable-shared.
This was a good suggestion, but when I try it, sqlite version still stubbornly
remains at 3.3.6. Quite a mystery.
At the shell I have tried setting LD_LIBRARY_PATH but this also does not help .
I have even tr
if I remember correctly I downloaded sqlite amalgamation from sqlite
website,
and did
./configure --enabled-shared --prefix=$HOME
then
compile python from sources
and after that an equivalent line to your
/opt/python2.7/bin/python2.7 uwsgiconfig.py --build
On Sun, Feb 2, 2014 at 6:03 PM, pete
Here is what I get when I run python 2.7
[root@mail3 uwsgi-python]# /opt/python2.7/bin/python2.7
Python 2.7.1 (r271:86832, Feb 1 2014, 11:45:32)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" fo
>>> import sqlite3
>>> sqlite3.sqlite_version
'3.7
I have exactly the same problem as Vasile. The site version within python2.7 is
sqlite 3.7. My only difference is that I am on Centos 5.
I have tried both of Roberto's suggested solutions and neither seem to work for
me. I built uwsgi with python2.7, but this still left me with sqlite 3.3.6
with
got it . i better use --http :port
On Tue, Mar 6, 2012 at 4:59 PM, Roberto De Ioris wrote:
>
> > Thank you very much! i am going to give uWSGI standalone mode a try!
>
>
> Forgot an important point:
>
>
> --http :port
> will spawn the http router/filter/proxy
>
> --http-socket :port
> will let
> Thank you very much! i am going to give uWSGI standalone mode a try!
Forgot an important point:
--http :port
will spawn the http router/filter/proxy
--http-socket :port
will let uWSGI speaking the http protocol (instead of the uwsgi one).
You need the first form if you plan to put uWSGI
Thank you very much! i am going to give uWSGI standalone mode a try!
On Tue, Mar 6, 2012 at 4:47 PM, Roberto De Ioris wrote:
>
> > I would like to know about uWSGI . i haven't tried it yet.
> >
> > 1 - Is that a gateway to interface between other web servers ?
> > (Apache/Cherokee/nginx etc)
> I would like to know about uWSGI . i haven't tried it yet.
>
> 1 - Is that a gateway to interface between other web servers ?
> (Apache/Cherokee/nginx etc)
it depends, if you need a specific webserver front-end you can use it and
connect to uWSGI via one of the supported protocols (oviously th
On Sep 29, 2011, at 7:36 AM, Vasile Ermicioi wrote:
> /home/my_user/bin/python2.7 uwsgiconfig.py --build
>
> but I did so
>
> will that work
>
> export LD_LIBRARY_PATH=/home/my_user/lib/python2.7
>
> then running the uwsgi command?
>
A note of caution when modifying LD_LIBRARY_PATH: like PAT
>
> Are you sure you have added --enable-shared in your ./configure script ?
to me, this seems to be the cause, I will give it a try later today
thank you very much for quick responses
Il giorno 29/set/2011, alle ore 16:36, Vasile Ermicioi ha scritto:
> /home/my_user/bin/python2.7 uwsgiconfig.py --build
>
> but I did so
>
> will that work
>
> export LD_LIBRARY_PATH=/home/my_user/lib/python2.7
>
> then running the uwsgi command?
>
This is the directory where python core m
>
> /home/my_user/bin/python2.7 uwsgiconfig.py --build
but I did so
will that work
export LD_LIBRARY_PATH=/home/my_user/lib/python2.7
then running the uwsgi command?
Il giorno 29/set/2011, alle ore 15:50, elffikk ha scritto:
> hi,
>
> sqlite 3.7+ supports better concurrency (see
> http://www.sqlite.org/draft/wal.html),
> on webfaction, there are multiple python versions installed, but
> python2.7 is built against 3.3.6
> so I built from sources sqlite, pyt
17 matches
Mail list logo