---------- Forwarded message ---------- From: sami nathan <itssami.g...@gmail.com> Date: Mon, Nov 1, 2010 at 6:42 PM Subject: ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings To: django-users@googlegroups.com
MY system path is D:\Python25\Lib\site-packages\django\bin\admin.py;D:\Python25;D:\Program Files\Subversion\bin:D:\Python25\Lib\site-packages\django;D:\Python25\Lib\site-packages\django\bin\flyp;D:\Python25\Tools;D:\Python25\Lib\site-packages\django\bin\flyp\settings; my LOCATION looks like this <Location "/flyp/"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE flyp.settings PythonOption django.root /flyp PythonDebug On PythonPath "['D:/Python25','D:/Python25/Lib/site-packages/django/bin/flyp','D:/Python25/Lib/site-packages/django/bin/flyp/settings',] + sys.path" </Location> i AM GETTING FOLLOWING ERROR MOD_PYTHON ERROR ProcessId: 3908 Interpreter: '192.168.1.116' ServerName: '192.168.1.116' DocumentRoot: 'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs' URI: '/flyp/' Location: '/flyp/' Directory: None Filename: 'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/flyp/' PathInfo: '' Phase: 'PythonHandler' Handler: 'django.core.handlers.modpython' Traceback (most recent call last): File "D:\Python25\Lib\site-packages\mod_python\importer.py", line 1537, in HandlerDispatch default=default_handler, arg=req, silent=hlist.silent) File "D:\Python25\Lib\site-packages\mod_python\importer.py", line 1229, in _process_target result = _execute_target(config, req, object, arg) File "D:\Python25\Lib\site-packages\mod_python\importer.py", line 1128, in _execute_target result = object(arg) File "D:\Python25\lib\site-packages\django\core\handlers\modpython.py", line 213, in handler return ModPythonHandler()(req) File "D:\Python25\lib\site-packages\django\core\handlers\modpython.py", line 174, in __call__ self.load_middleware() File "D:\Python25\lib\site-packages\django\core\handlers\base.py", line 37, in load_middleware for middleware_path in settings.MIDDLEWARE_CLASSES: File "D:\Python25\lib\site-packages\django\utils\functional.py", line 276, in __getattr__ self._setup() File "D:\Python25\lib\site-packages\django\conf\__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "D:\Python25\lib\site-packages\django\conf\__init__.py", line 76, in __init__ raise ImportError("Could not import settings '%s' (Is it on sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)) ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings AND ALSO GETTING THIS ERROR WHILE CREATING DATABASE Exception exceptions.AttributeError: '_shutdown' in <module 'threading' from 'D: \Python25\lib\threading.pyc'> ignored -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.