I found the reason, this may be interesting, Massimo,

I have a lot of math in /modules dir and they are obviously loaded
(imported) by framework at startup. Recently I turned on psycho
speeding up and this caused all those segmentation errors on Mac
(haven't yet tested this on Windows).
Which rises the question: how can we determine if module is imported
by framework (psycho off) or run from command line (psycho on). Pure
python way does not help because I have to run modules from command
line through web2py to be able to use gluon etc.
python web2py.py -S advantage -M -R ....

On Apr 16, 8:02 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Try 1.61.1 anyway Sqlite is buggy on Mac. I have had issue myself. I
> suggest also try running from the binary distribution.
>
> On Apr 16, 10:20 am, SergeyPo <ser...@zarealye.com> wrote:
>
> > No,  am on 1.57
>
> > On Apr 16, 5:04 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > 1.61.1 ?
>
> > > On Apr 16, 5:39 am, SergeyPo <ser...@zarealye.com> wrote:
>
> > > > Greetings!
>
> > > > I am running web2py on Mac OS X, SQLite from source code (for
> > > > development).
> > > > Sporadically I get this error:
>
> > > > ERROR:root:Traceback (most recent call last):
> > > >   File "/Users/vasilina/Documents/_Development/ADVANTAGE/web2py copy/
> > > > gluon/main.py", line 316, in wsgibase
> > > >   File "/Users/vasilina/Documents/_Development/ADVANTAGE/web2py copy/
> > > > gluon/main.py", line 123, in serve_controller
> > > >   File "/Users/vasilina/Documents/_Development/ADVANTAGE/web2py copy/
> > > > gluon/compileapp.py", line 253, in run_controller_in
> > > > IOError: [Errno 24] Too many open files: '/Users/vasilina/Documents/
> > > > _Development/ADVANTAGE/web2py/applications/admin/controllers/
> > > > default.py'
>
> > > > By the way, I did not touch admin interface when this error occurred.
> > > > Is it not caused with new version check feature?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to