isso/isso
Martin Zimmermann fcd0a01de3 make_app uses threading.Lock now by default
Uses keyword arguments to use multiprocessing or uwsgi mixin. This
fixes an issue on exotic *BSDs such as NetBSD where Python comes not
with inter-process semaphores (issue 3307):

     mod_wsgi (pid=14365): Target WSGI script '/var/www/vhosts/my.hostname.org/htdocs/isso.wsgi' cannot be loaded as Python module.
     mod_wsgi (pid=14365): Exception occurred processing WSGI script '/var/www/vhosts/my.hostname.org/htdocs/isso.wsgi'.
     Traceback (most recent call last):
       File "/var/www/vhosts/my.hostname.org/htdocs/isso.wsgi", line 8, in <module>
         application = make_app(Config.load("/var/www/vhosts/my.hostname.org/htdocs/isso.cfg"))
       File "/usr/pkg/lib/python2.7/site-packages/isso/__init__.py", line 155, in make_app
         isso = App(conf)
       File "/usr/pkg/lib/python2.7/site-packages/isso/__init__.py", line 91, in __init__
         super(Isso, self).__init__(conf)
       File "/usr/pkg/lib/python2.7/site-packages/isso/core.py", line 223, in __init__
         self.lock = multiprocessing.Lock()
       File "/usr/pkg/lib/python2.7/multiprocessing/__init__.py", line 175, in Lock
         from multiprocessing.synchronize import Lock
       File "/usr/pkg/lib/python2.7/multiprocessing/synchronize.py", line 59, in <module>
         " function, see issue 3770.")
     ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
2013-12-16 15:40:18 +01:00
..
css reduce heading size in comments, fix #26 2013-12-12 12:10:50 +01:00
db remove unnecessary imports 2013-11-17 15:49:25 +01:00
ext add Date header, close #42 2013-12-07 13:17:56 +01:00
js italian translation by alzeco 2013-12-12 17:30:40 +01:00
utils override thread discovery with data-isso-id="...", close #27 2013-12-12 13:04:29 +01:00
views Merge branch 'feature/27', override thread id 2013-12-12 13:07:57 +01:00
__init__.py make_app uses threading.Lock now by default 2013-12-16 15:40:18 +01:00
compat.py improve doctests and refactor title extraction 2013-10-29 12:01:45 +01:00
core.py isso.dispatch now dispatches multiple sites based on relative URLs 2013-12-08 19:09:56 +01:00
dispatch.py isso.dispatch now dispatches multiple sites based on relative URLs 2013-12-08 19:09:56 +01:00
migrate.py use <link> tag to extract the relative post url, fixes #37 2013-11-16 20:30:48 +01:00
run.py make_app uses threading.Lock now by default 2013-12-16 15:40:18 +01:00
wsgi.py isso.dispatch now dispatches multiple sites based on relative URLs 2013-12-08 19:09:56 +01:00