On Thu, 2008-09-18 at 14:55 -0700, KillaBee wrote:
> I am working with django .90, and and 1.0. I have a Mysql db in
> setting.py that I can login with Mysql Admin.
> I am trying to link Django with this DB. I run this command to do
> this.
> 
> django-admin.py init   I get this error.
> 
> The database couldn't be initialized.
> an integer is required
> 
> I edited the httpd.conf and put this in:
> 
> <location "/">
> 
>     SetHandler python-program
> 
>     PythonHandler django.core.handlers.modpython
> 
>     SetEnv DJANGO_SETTINGS_MODULE intraweb.settings
> 
>     PythonPath "['/home/bryant/Django-0.90/django.90_projects'] +
> sys.path"
> 
> </location>
> 
> Any idea what has to be and integer?

I suspect something in the settings file. Maybe a database port number,
maybe something else. You might have to put some debugging prints into
Django itself if you can't find the exact location quickly, but reading
each line of the settings and starting from a very tiny example and
working up to you current one will be the best starting points. Each
time you move from a correctly running situation to adding a new setting
or application back in and checking again.

Seriously, if debugging this sort of thing is going to be a problem for
you, using 0.90 is going to be a large world of pain. It was released
three years ago and there have been four major releases since then with
many changes in between. Hardly anybody has recent experience using that
version and if you're going to have a lot of questions hoping that
people might remember the common errors that occurred back then when the
userbase was around 5 or 10% of what it is now, you are going to find
the going fairly slow.

It also has security problems that have not been (and will not be)
fixed, as well as a few thousand more bugs than recent releases. I
realise that people sometimes have to use old code for existing
software, but they also take on the burden of needing to be able to
debug stuff like this. I'm not intending to put you off whatever you
have to do, but realise that you literally are one of the last people in
the world using that piece of code and you will be mostly on your own as
far as debugging goes.

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to