f.create_connection(alias)
> File
> "/home/yogesh/mydjango/djangoenv/lib/python3.6/site-packages/django/db/utils.py",
>
> line 204, in create_connection
> backend = load_backend(db['ENGINE'])
> File
> "/home/yogesh/mydjango/djangoenv/lib/python3.6/site-
db/utils.py",
line 204, in create_connection
backend = load_backend(db['ENGINE'])
File
"/home/yogesh/mydjango/djangoenv/lib/python3.6/site-packages/django/db/utils.py",
line 111, in load_backend
return import_module('%s.base' % backend_name)
File "/usr/lib64/pytho
Ok, i finally found where the problem was : the admin class (UserAdmin) of
my custom user class was in models.py and must be in admin.py.
I found the solution here :
https://stackoverflow.com/questions/45783147/django-lookuperror-app-accounts-doesnt-have-a-user-model
--
You received this
An additional information : the settings.py was generated with Django 1.9.7
Le lundi 30 octobre 2017 08:35:44 UTC+1, cjacq...@gmail.com a écrit :
>
>
> Yes, there is my INSTALLED_APPS (it was ok with Django 1.10) :
>
> INSTALLED_APPS = [
> #django
> 'django.contrib.admin',
>
Yes, there is my INSTALLED_APPS (it was ok with Django 1.10) :
INSTALLED_APPS = [
#django
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
>
> File "/Library/Python/2.7/site-packages/django/contrib/auth/forms.py",
> line 22, in
> UserModel = get_user_model()
> File "/Library/Python/2.7/site-packages/django/contrib/auth/__init__.py",
> line 198, in get_user_model
> "AUTH_USER_MODEL refers to model '%s' that has not been
Hi everyone,
I'm trying to update Django from 1.10.8 to 1.11.6 but it raise me an error.
I just update Django with pip. I use Python 2.7.11 and Mac OS X and
everything was working on Django 1.10.8.
Traceback (most recent call last):
File
Been a while.I forgot if I solved it using that. However I did create
different environments using env wrapper and do an uninstall of old django
and complete install to the newest version. Fixing small errors as they
arise.
On Saturday, May 30, 2015 at 10:21:45 AM UTC-4, dc wrote:
>
> Were you
Were you able to solve the problem @amarshall? I have the exact same error,
do let me know please!
On Tuesday, March 31, 2015 at 8:04:23 PM UTC+5:30, Filipe Ximenes wrote:
>
> Thats strange.
> Are you using pip to install dependencies? Try uninstalling everything and
> reinstalling again.
>
Thats strange.
Are you using pip to install dependencies? Try uninstalling everything and
reinstalling again.
Make sure INSTALLED_APPS is not being defined somewhere else in the code.
Does the error persists if you set DEBUG = False locally?
On Tue, Mar 31, 2015 at 10:21 AM, amarshall
Hi Filipe,
I have few apps installed. When I comment out the tastypie line my app
builds but gets an error in production because tastypie app isn't found.
Here it is:
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
Can you show us your INSTALED_APPS?
It may be the case you have a lot of apps installed and is not seeing a
duplicate reference to tastypie.
On Mar 29, 2015 9:43 PM, "amarshall" wrote:
> Hi,
>
> So I updated my django project from django 1.6 to 1.7.7 and when I run
>
Hi,
So I updated my django project from django 1.6 to 1.7.7 and when I run
"python manage.py migrate" I get this error stating that I have a duplicate
label.
Here's the traceback
Creating tables...
Installing custom SQL...
Installing indexes...
Running migrations:
Applying
Hello,
I'm trying to document my own webpage's code so I will remember each piece
if I have to touch it later. I added docstrings to several functions
already, and while this is generally enough, I couldn't help but tried
pydoc blog.models.Post
What I got instead of the craved documents was an
AM, Rini Michael <rinzyra...@gmail.com> wrote:
>> Hi,
>> i was trying to install django_cron using pip install django_cron,but
>> unfortunately
>> now i find a error as
>> ImproperlyConfigured: The SECRET_KEY setting must not be empty
>> can anybody h
On Tue, Jun 24, 2014 at 9:59 AM, Rini Michael <rinzyra...@gmail.com> wrote:
> Hi,
> i was trying to install django_cron using pip install django_cron,but
> unfortunately
> now i find a error as
> ImproperlyConfigured: The SECRET_KEY setting must not be empty
Hi,
i was trying to install django_cron using pip install django_cron,but
unfortunately
now i find a error as
ImproperlyConfigured: The SECRET_KEY setting must not be empty
can anybody help me with this
Thanks in advance
regards,
Rini
--
You received this message because you are subscribed
Are you using Debug toolbar?
Try this:
http://stackoverflow.com/questions/20963856/improperlyconfigured-the-included-urlconf-project-urls-doesnt-have-any-patte
cheers
L.
On 4 April 2014 11:14, Max Demars <burton449...@gmail.com> wrote:
> Greetings,
>
> I encounter the
t; line 250, in resolve
>for pattern in self.url_patterns:
>
> File
> "/opt/app/venv/myapp/lib/python2.6/site-packages/django/core/urlresolvers.py",
>
> line 283, in _get_url_patterns
>raise ImproperlyConfigured("The included urlconf %s doesn't have
You're welcome!
You can also take a look to another python web-server.
Especially if you want to have for example two sites with different
version of python on the same server.
When I wrote my first django-app on py3, I faced the same problem.
17.01.2014 15:34, Timothy W. Cook пишет:
On
On Fri, Jan 17, 2014 at 1:52 AM, Начаров Михаил
wrote:
> Hi Timothy,
>
> Note that your mod_wsgi module compiled for using python2.7. So what you
> need now is install(compile) mod_wsgi for python3 instead of the
> same module compiled for python2.7.
> On Debian you
Hi Timothy,
Note that your mod_wsgi module compiled for using python2.7. So what you
need now is install(compile) mod_wsgi for python3 instead of the
same module compiled for python2.7.
On Debian you can do it by this command:
$ sudo apt-get install libapache2-mod-wsgi-py3
16.01.2014
This question is also on Stackoverflow http://goo.gl/LinMue but I thought
somene here may have an idea.
I have a Django 1.5, Python 2.7 site running under Apache with mod_wsgi on
a CentOS 6.4 server.
I have rebuilt this site using Django 1.6 and Python 3.3. Deploying it to
the same server and
Any progress on this? Does anyone know the causes?
On Sunday, June 23, 2013 2:55:16 PM UTC+5, Pratik Mandrekar wrote:
>
> Has anyone been able to resolve this?
>
> I am facing the same issue.
>
> On Sunday, March 24, 2013 8:46:26 PM UTC+5:30, Dan Gentry wrote:
>>
>> Andrei, I once received this
the
wsgi. But with 1.6 it does get referenced and therefore raises an
ImproperlyConfigured error. Does anyone have any suggestions to help fix
this issue? Is there anyway I can get the settings module to load before
the wsgi module?
Brian DeWeese
-- apache.conf --
WSGIScriptAlias / /opt/ecn
Weirdly I'm getting this error when I 'am' running manage.py. I'm doing
something slightly weird, in that I'm using Popen from inside another
python process to run python manage.py. Still, it worked a few weeks back
and just started happening. Any tips on where to look to debug it?
On
mail.com >
>
>> Hello, i've been playing with Django 1.5.4 for some TDD tutorials,
>> examples, and tried to also do the tutorial :
>> https://docs.djangoproject.com/en/1.4/intro/tutorial02/#adding-related-objects
>> BUT i keep receiving this error, as suggested
docs.djangoproject.com/en/1.4/intro/tutorial02/#adding-related-objects
> BUT i keep receiving this error, as suggested in the Subject:
>
>> ImproperlyConfigured at /admin/polls/poll/add/
>
> 'model' is a required attribute of 'PollAdmin.inlines[0]'.
>>
>
> This is
Hello, i've been playing with Django 1.5.4 for some TDD tutorials,
examples, and tried to also do the tutorial :
https://docs.djangoproject.com/en/1.4/intro/tutorial02/#adding-related-objects
BUT i keep receiving this error, as suggested in the Subject:
> ImproperlyConfigured at /admin/po
On Thursday, 19 September 2013 08:21:49 UTC+1, Leo wrote:
> A question to better understand your problem: do you use a custom User
> model in Django 1.3?
> Did you perhaps set the AUTH_USER_MODEL=auth.User in your settings.py?
>
There was no such thing as that setting in 1.3. It's new in 1.5.
The way you are creating the DB is quite complicated, but I suspect that
you are not syncing the base Django applications before doing your magic
stuff. That could be the reason why Django is complaining about the
auth.User not being installed.
I would do the following:
* settings.py with the
Ok, I have found the problem (through digging through to post more
information about it).
It turns out that in our gui application, the gui-specific settings file
was setting:
INSTALLED_APPS = (
'ncis_gui',
'ncis_sslauth',
'django_auth_ldap',
)
and did not include the apps that
More information:
Interactively, I can get a user_model:
$ python
Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.contrib.auth import get_user_model
>>>
corators/cache.py"
>> in _wrapped_view_func
>> 89. response = view_func(request, *args, **kwargs)
>> File "/usr/lib/python2.6/site-packages/django/contrib/auth/views.py" in
>> login
>> 53. form = authentication_form(request)
&
/lib/python2.6/site-packages/django/views/decorators/cache.py"
>> in _wrapped_view_func
>> 89. response = view_func(request, *args, **kwargs)
>> File "/usr/lib/python2.6/site-packages/django/contrib/auth/views.py" in
>> login
>> 53. form
> in _wrapped_view_func
> 89. response = view_func(request, *args, **kwargs)
> File "/usr/lib/python2.6/site-packages/django/contrib/auth/views.py" in
> login
> 53. form = authentication_form(request)
> File "/usr/lib/python2.6/site-packages/djan
response = view_func(request, *args, **kwargs)
> File "/usr/lib/python2.6/site-packages/django/contrib/auth/views.py" in
> login
> 53. form = authentication_form(request)
> File "/usr/lib/python2.6/site-packages/django/contrib/auth/forms.py" in
> __init__
w_func(request, *args, **kwargs)
> File "/usr/lib/python2.6/site-packages/django/contrib/auth/views.py" in
> login
> 53. form = authentication_form(request)
> File "/usr/lib/python2.6/site-packages/django/contrib/auth/forms.py" in
> __init__
>
uth/forms.py" in
__init__
177. UserModel = get_user_model()
File "/usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py" in
get_user_model
129. raise ImproperlyConfigured("AUTH_USER_MODEL refers to model
'%s' that has not been installed"
Has anyone been able to resolve this?
I am facing the same issue.
On Sunday, March 24, 2013 8:46:26 PM UTC+5:30, Dan Gentry wrote:
>
> Andrei, I once received this error when the problem was actually in
> another python module being imported - in my case views.py. Hope this
> helps, Dan
--
> but while testing and pychecker i am getting this error how should i
> configure DJANGO_SETTINGS_MODULE
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
On Thu, Apr 25, 2013 at 2:56 PM, Iftikhar Ali wrote:
> when i am running the project it is running perfectly fine but when i am
> trying to open django-admin.py shell the error:
Don;t use django-admin to launch the shell, only use django-admin to
create projects¹. Once
when i am running the project it is running perfectly fine but when i am
trying to open django-admin.py shell the error:
ImproperlyConfigured: Requested setting USE_I18N, but settings are not
configured. You must either define the environment variable
DJANGO_SETTINGS_MODULE or call
Andrei, I once received this error when the problem was actually in another
python module being imported - in my case views.py. Hope this helps, Dan
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
ite-packages/django/core/urlresolvers.py",
>
> line 283, in _get_url_patterns
>raise ImproperlyConfigured("The included urlconf %s doesn't have any
> patterns in it" % self.urlconf_name)
>
> ImproperlyConfigured: The included urlconf myapp.urls doesn't have any
pt/app/venv/myapp/lib/python2.6/site-packages/django/core/urlresolvers.py",
>>
>> line 250, in resolve
>>for pattern in self.url_patterns:
>>
>> File
>> "/opt/app/venv/myapp/lib/python2.6/site-packages/django/core/urlresolvers.py",
>>
Hi Gabriel,
Thanks for replying. However, the issue, I think, came up because of the
incorrect SITE_ID value in my settings.py.
You can see the conversation at this stackoverflow thread.
Hi Manu,
Enter the admin and at allauth -> apps add a new application of type "Facebook"
with your FB credentials.
You have added a facebook login in settings.py but such a login type is not yet
defined in admin.
I hope this helps!
Gabriel
--
You received this message because you are
Hi,
I'm facing this error when I access 'accounts/login/'. Posted a question
here - http://stackoverflow.com/q/14019017/1218897
I would really appreciate any help with it.
Thanks in advance.
-Manu
--
You received this message because you are subscribed to the Google Groups
"Django users"
/python2.6/site-packages/django/core/urlresolvers.py",
>
> line 283, in _get_url_patterns
>raise ImproperlyConfigured("The included urlconf %s doesn't have any
> patterns in it" % self.urlconf_name)
>
> ImproperlyConfigured: The included urlconf myapp.urls doesn
e/urlresolvers.py",
line 283, in _get_url_patterns
raise ImproperlyConfigured("The included urlconf %s doesn't have any
patterns in it" % self.urlconf_name)
ImproperlyConfigured: The included urlconf myapp.urls doesn't have any patterns
in it
---
Others with this problem have c
On Mon, Aug 20, 2012 at 5:24 PM, Amyth Arora wrote:
> Hey,
Thanks for the kind help.
>
> seems you are using django 1.4. FYI ->
Yes, you are right.
> django.template.loaders.app_directories.load_template_source has been
> deprecated so you should rather use
>
Hey,
seems you are using django 1.4. FYI ->
django.template.loaders.app_directories.load_template_source has been
deprecated so you should rather use
django.template.loaders.app_directories.Loader
Just change :
django.template.loaders.app_directories.load_template_source
TO
I have to deploy osmeditor on my system, and download code from the
link: http://wiki.openstreetmap.org/wiki/Editors/Django
The database used in this was postgis, but i have mysql on my system,
as the tables was successfully made by changing in the settings.py
file, but on running it in the
anyone??
On Saturday, July 7, 2012 3:52:52 AM UTC+1, psychok7 wrote:
>
> hi, i am trying to implement the syndicate feed framework simple rss with
> my program, but i get a ImproperlyConfigured at /latest/feed/
>
> Give your Debt class a get_absolute_url() method, or defi
urday, July 7, 2012 3:52:52 AM UTC+1, psychok7 wrote:
>
> hi, i am trying to implement the syndicate feed framework simple rss with
> my program, but i get a ImproperlyConfigured at /latest/feed/
>
> Give your Debt class a get_absolute_url() method, or define an item_link()
> met
hi, i am trying to implement the syndicate feed framework simple rss with
my program, but i get a ImproperlyConfigured at /latest/feed/
Give your Debt class a get_absolute_url() method, or define an item_link()
method in your Feed class.
I know i am supposed to create a get_absolute_url in my
"from userena.models import UserenaBaseProfile " in settings.py cause this
problem.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/AA_cMGHU4XYJ.
To post
bjectPermissionChecker
> File "/usr/local/lib/python2.7/dist-packages/guardian/core.py", line 7,
> in
> from guardian.utils import get_identity
> File "/usr/local/lib/python2.7/dist-packages/guardian/utils.py", line
> 11, in
> from guardian.conf.set
s
> File "/usr/local/lib/python2.7/dist-packages/guardian/shortcuts.py", line
> 9, in
> from guardian.core import ObjectPermissionChecker
> File "/usr/local/lib/python2.7/dist-packages/guardian/core.py", line 7, in
>
> from guardian.utils import get_
ges/guardian/core.py", line 7,
in
from guardian.utils import get_identity
File "/usr/local/lib/python2.7/dist-packages/guardian/utils.py", line 11,
in
from guardian.conf.settings import ANONYMOUS_USER_ID
File "/usr/local/lib/python2.7/dist-packages/guardian/conf/
Have you checked permissions?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more
Yes you are correct, that the reason i have replaced the below line in
"app.wsgi", but that does not works.
#os.environ["LD_LIBRARY_PATH"] = "/opt/app/oracle/products/11.2.0/lib"
#os.environ["ORACLE_HOME"] = "/opt/app/oracle/products/11.2.0"
os.environ["LD_LIBRARY_PATH"] =
Hi Again,
I have finished my implementation with the local db, but now stuck in major
issue.When i try to login to the local oracle database then it is working
perfectly fine.I am able to read the data from the db installed in the
same UNIX machine.
But when i tried to login a db installed in
Thanks to all for supporting this to fix the issue.
So issue is resolved by adding these 2 lines in "app.wsgi"
os.environ["LD_LIBRARY_PATH"] = "/opt/app/oracle/products/11.2.0/lib"
os.environ["ORACLE_HOME"] = "/opt/app/oracle/products/11.2.0"
Thanks again for helping to fix this issue. Its
On Apr 23, 12:29 pm, kamal sharma wrote:
> No it was .profile of mine. Now I have set the LD_LIBRARY_PATH in app.wsgi
> as mentioned below and when I print the os.environ in the beginning of
> views.py then it shows that newly added value.
It's clear that your
on occurred processing WSGI script '/opt/
> >> www/ui/foo/web/app.wsgi'.
> >> Traceback (most recent call last):
> >> File "/opt/www/ui/foo/web/app.wsgi", line 30, in application
> >> return _application(environ, start_response)
> >> File "/usr/local/
n2.6/site-packages/
> django/core/handlers/wsgi.py", line 230, in __call__
> self.load_middleware()
> File "/usr/local/packages/python/2.6.6/lib/python2.6/site-packages/
> django/core/handlers/base.py", line 42, in load_middleware
> raise exceptions.ImproperlyConfigured('E
I think i have done a mistake in my last cx_Oracle installation. Is this a
problem? I used one python while build and another while install.
ex: [me] ~/install_cx_oracle/cx_Oracle-5.0.3> /usr/local/bin/python setup.py
build
[me] ~/install_cx_oracle/cx_Oracle-5.0.3> sudo python setup.py
Are you getting this error only when using the app through a web server?
Have you verified that the web server does have ORACLE_HOME and
LD_LIBRARY_PATH correctly defined? (e.g. by logging it using os.environ).
Are you sure that the user that is used to run your webserver has
permissions to read
On Apr 21, 11:40 pm, kamal sharma wrote:
> When i try the same code from python Shell then it is working fine.
Okay, so it does sound to me like it's your web server blocking access
to the entire ORACLE_HOME directory.
Is it running under a chroot jail? If so, then you
Hi Jirka,
Thanks for the response.
I have installed cx_Oracle in Solaris again and followed this steps but
still the error is same:
Exception Type:DatabaseErrorException Value:
Error while trying to retrieve text for error ORA-01804
Download cx_oracle module:
Hi Kamal,
checking my install history, this is what I had to do to use
cx_Oracle on Ubuntu Server:
$ /usr/local/oracle/instantclient_11_2$ ln -s libclntsh.so.11.1 libclntsh.so
$ WITH_UNICODE=1 ORACLE_HOME=/usr/local/oracle/instantclient_11_2
python setup.py build
$ sudo bash
# WITH_UNICODE=1
When i try the same code from python Shell then it is working fine.
Here is the working output:
>>> import cx_Oracle
>>> from pprint import pprint
>>> connection = cx_Oracle.Connection("%s/%s@%s" % ('foo', 'bar', 'db'))
>>> cursor = cx_Oracle.Cursor(connection)
>>> sql = "SELECT xyz FROM
On Apr 21, 11:03 am, kamal sharma wrote:
> Error while trying to retrieve text for error ORA-01804
>
> Here is my code to fetch the data from database.
>
> def cases(request, dbname, prnum=None, message=''):
>
> connection = cx_Oracle.Connection("%s/%s@%s" % ('foo',
Thanks a lot. Now that issue is resolved after i execute below command.
sudo ln -s /opt/app/oracle/products/11.2.0/lib/libclntsh.so.11.1
But now i am getting databse error. Any pointer please?
Exception Value:
Error while trying to retrieve text for error ORA-01804
Here is my code to fetch
After creating soft link, still it is giving the same error. Do i need to
create soft link for any other files? My response are inline with KS:
On Thu, Apr 21, 2011 at 9:21 PM, Ian wrote:
> On Apr 21, 9:39 am, kamal sharma wrote:
> > Here is the
On Apr 21, 9:39 am, kamal sharma wrote:
> Here is the error I am getting now:
>
> cd /usr/local/lib
>
> /usr/local/lib> sudo ln
> /opt/app/oracle/products/11.2.0/lib/libclntsh.so.10.1
> ln: ./libclntsh.so.10.1 is on a different file system
>
> /usr/local/lib> cd /usr/lib/
Here is the error I am getting now:
cd /usr/local/lib
/usr/local/lib> sudo ln
/opt/app/oracle/products/11.2.0/lib/libclntsh.so.10.1
ln: ./libclntsh.so.10.1 is on a different file system
/usr/local/lib> cd /usr/lib/
/usr/lib> sudo ln /opt/app/oracle/products/11.2.0/lib/libclntsh.so.10.1
ln:
This may be related to Oracle's shared libraries not being in the path
recognized by your web server. I created hard links to the Oracle shared
libraries in /user/local/lib to get cx_oracle working.
I have a blog post that outlines what I did, here:
6.6/lib/python2.6/site-packages/
>> django/core/handlers/base.py", line 42, in load_middleware
>> raise exceptions.ImproperlyConfigured('Error importing middleware %s:
>> "%s"' % (mw_module, e))
>> ImproperlyConfigured: Error importing middleware web.web.framewo
-packages/
> django/core/handlers/base.py", line 42, in load_middleware
> raise exceptions.ImproperlyConfigured('Error importing middleware %s:
> "%s"' % (mw_module, e))
> ImproperlyConfigured: Error importing middleware web.web.framework:
> "ld.so.1: httpd: fatal: libclntsh.so.11.1:
packages/python/2.6.6/lib/python2.6/site-packages/
django/core/handlers/base.py", line 42, in load_middleware
raise exceptions.ImproperlyConfigured('Error importing middleware %s:
"%s"' % (mw_module, e))
ImproperlyConfigured: Error importing middleware web.web.framework:
"ld.so.1:
n 2, 2011 at 12:49 PM,gintare<g.statk...@gmail.com> wrote:
> > I was changing models many times and deleting tables inbetween.
> > New tables were generated to improved models and admin site worked
> > perfectly.
> > Now smth happened that i am getting error:
>
&
On Sun, Jan 2, 2011 at 12:49 PM, gintare <g.statk...@gmail.com> wrote:
> I was changing models many times and deleting tables inbetween.
> New tables were generated to improved models and admin site worked
> perfectly.
> Now smth happened that i am getting error:
>
&
I was changing models many times and deleting tables inbetween.
New tables were generated to improved models and admin site worked
perfectly.
Now smth happened that i am getting error:
ImproperlyConfigured: 'SentAdmin.fields' refers to field 'dateSent'
that is missing from the form.
'dateSent
Hi everybody, I am working on windows XP with django 1.2, I have downloaded
a django web aplication but I continuely get a message error like this:
"ImproperlyConfigured: Error importing middleware django.middleware.csrf:
"No module named csrf" I have not idea why this is happening,
gt; > django.core.handlers.modpython: ImproperlyConfigured: MySQLdb-1.2.1p2
> > or newer is required; you have 1.2.1
>
> > BUT! I have 1.2.2 installed, see:
>
> > bash-3.1$ python manage.py shell
> > Python 2.4.4 (#1, Oct 23 2006, 13:58:00)
> > [GCC 4.1.1 20061011 (Red H
On Sun, 2009-03-15 at 21:08 -0700, Theme Park Photo, LLC wrote:
> I'm getting this message when trying to start Django (from mod_python)
>
>
> (From my apache log)
>
> [Sun Mar 15 22:07:28 2009] [error] [client 67.188.95.50] PythonHandler
> django.core.handlers.modpython:
I'm getting this message when trying to start Django (from mod_python)
(From my apache log)
[Sun Mar 15 22:07:28 2009] [error] [client 67.188.95.50] PythonHandler
django.core.handlers.modpython: ImproperlyConfigured: MySQLdb-1.2.1p2
or newer is required; you have 1.2.1
BUT! I have 1.2.2
I doubt that would be the cause, given that the module it cannot load
changes from crash to crash.
I was wondering if it could be some sort of timing issue. Maybe the
server times out while looking for the file. Or maybe the file is
temporarily locked? I am grasping at straws here...
Is it possible that some form of server security is stripping them out?
On Tue, Sep 2, 2008 at 10:28 AM, cwurld <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> My site has recently starting generating a lot of HTTP Error 500's.
> The traceback is always:
>
> ImproperlyConfigur
Hi,
My site has recently starting generating a lot of HTTP Error 500's.
The traceback is always:
ImproperlyConfigured: Error importing request processor module xxx:
"No module named yyy"
where xxx and yyy are random modules. I know these modules are present
and working corre
> I've spent a couple hours trying to debug this, in vain...
I figured out my problem, so I just thought I'd post it here.
It was in fact due to some stale .pyc files and folders, not in my
apps but in Django itself. I had just done an 'svn update' on it, and
apparently some old stuff kept
n __call__
self.load_middleware()
File "/MYPATH/django/core/handlers/base.py", line 40, in
load_middleware
raise exceptions.ImproperlyConfigured, 'Error importing middleware
%s: "%s"' % (mw_module, e)
ImproperlyConfigured: Error importing middleware
staticpages.middleware: "No m
on error message. Help
> > would be very appreciated. Thanks in advance!
>
> Hi.
>
> >
> > MOD_PYTHON ERROR
>
> > ImproperlyConfigured: Error loading psycopg module: No module named
> > psycopg
>
> I think that you have an error in the
2007/12/4, AY <[EMAIL PROTECTED]>:
>
> Hi! I am trying to configure Apache to use facbackopan directory as a
> django project, and have the following mod_python error message. Help
> would be very appreciated. Thanks in advance!
>
Hi.
>
> MOD_PYTHON ERROR
>
e 3, in
from django.db import models
File "C:\Python25\Lib\site-packages\django\db\__init__.py", line 11,
in
backend = __import__('django.db.backends.%s.base' %
settings.DATABASE_ENGINE, {}, {}, [''])
File "C:\Python25\Lib\site-packages\django\db\backends\postgresql
On Feb 3, 12:12 am, "HenrikG" <[EMAIL PROTECTED]> wrote:
> My biggest problem was to get the Location directive right in the
> httpd.conf. It now looks like this:
>
>
> SetHandlermod_python
> PythonHandler django.core.handlers.modpython
> PythonPath "sys.path +
Henrik,
I've been stuck in a a place like Ron's all morning. I thought I had
gotten to a later problem when I started getting Django errors
indication that there was 'no module mysite.urls', but I just gave it
another try, and I'm back to the mod-python error 'no module named
mysite'. I seem
1 - 100 of 104 matches
Mail list logo