Revision history [back]
How to fix "SystemExit" error in the startup_procedures?
After installation I see the error in the log:
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] mod_wsgi (pid=12194): SystemExit exception raised by WSGI script '/home/scriptology/webapps/django_forum/myproject/myproject/wsgi.py' ignored.
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/core/handlers/wsgi.py", line 219, in __call__
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] self.load_middleware()
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/core/handlers/base.py", line 45, in load_middleware
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] mod = import_module(mw_module)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/utils/importlib.py", line 35, in import_module
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] __import__(name)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/middleware/view_log.py", line 7, in <module>
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] from askbot.models import signals
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/models/__init__.py", line 2, in <module>
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] startup_procedures.run()
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/db/transaction.py", line 209, in inner
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] return func(*args, **kwargs)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/startup_procedures.py", line 886, in run
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] sys.exit(1)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] SystemExit: 1
How to fix the problem?
How to fix "SystemExit" After installation I see the error in the startup_procedures?log:
After installation I see the error in the log:
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] mod_wsgi (pid=12194): SystemExit exception raised by WSGI script '/home/scriptology/webapps/django_forum/myproject/myproject/wsgi.py' ignored.
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/core/handlers/wsgi.py", line 219, in __call__
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] self.load_middleware()
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/core/handlers/base.py", line 45, in load_middleware
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] mod = import_module(mw_module)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/utils/importlib.py", line 35, in import_module
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] __import__(name)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/middleware/view_log.py", line 7, in <module>
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] from askbot.models import signals
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/models/__init__.py", line 2, in <module>
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] startup_procedures.run()
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/db/transaction.py", line 209, in inner
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] return func(*args, **kwargs)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/startup_procedures.py", line 886, in run
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] sys.exit(1)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] SystemExit: 1
How to fix the problem?
After installation I see the error in the log:
After installation I see the error in the log:
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] mod_wsgi (pid=12194): SystemExit exception raised by WSGI script '/home/scriptology/webapps/django_forum/myproject/myproject/wsgi.py' ignored.
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/core/handlers/wsgi.py", line 219, in __call__
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] self.load_middleware()
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/core/handlers/base.py", line 45, in load_middleware
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] mod = import_module(mw_module)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/utils/importlib.py", line 35, in import_module
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] __import__(name)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/middleware/view_log.py", line 7, in <module>
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] from askbot.models import signals
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/models/__init__.py", line 2, in <module>
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] startup_procedures.run()
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/db/transaction.py", line 209, in inner
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] return func(*args, **kwargs)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/startup_procedures.py", line 886, in run
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] sys.exit(1)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] SystemExit: 1
How to fix the problem?
After installation I see the error in the log:Ошибки при установке askbot
After installation I see the error in the log:
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] mod_wsgi (pid=12194): SystemExit exception raised by WSGI script '/home/scriptology/webapps/django_forum/myproject/myproject/wsgi.py' ignored.
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/core/handlers/wsgi.py", line 219, in __call__
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] self.load_middleware()
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/core/handlers/base.py", line 45, in load_middleware
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] mod = import_module(mw_module)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/utils/importlib.py", line 35, in import_module
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] __import__(name)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/middleware/view_log.py", line 7, in <module>
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] from askbot.models import signals
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/models/__init__.py", line 2, in <module>
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] startup_procedures.run()
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/webapps/django_forum/lib/python2.7/django/db/transaction.py", line 209, in inner
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] return func(*args, **kwargs)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] File "/home/scriptology/lib/python2.7/askbot-0.7.44-py2.7.egg/askbot/startup_procedures.py", line 886, in run
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] sys.exit(1)
[Sat Nov 24 14:04:10 2012] [error] [client 127.0.0.1] SystemExit: 1
How to fix the problem?