Re: syncdb fail. mysql.base?

2008-01-08 Thread [EMAIL PROTECTED]
Thanks for all the info! I changed to a Ubuntu setup 7.10, got the right headers, and everything is working great. I'll post a howto shortly. Ivan On Jan 7, 4:45 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2008-01-07 at 15:03 -0800, [EMAIL PROTECTED] wrote: > > Grabbing the

Re: syncdb fail. mysql.base?

2008-01-07 Thread Malcolm Tredinnick
On Mon, 2008-01-07 at 15:03 -0800, [EMAIL PROTECTED] wrote: > Grabbing the 1.2.1_p2 version of MySQLdb, these are the kinds of > errors I get in building > > # python setup.py build > > running build > running build_py > creating build > creating build/lib.linux-x86_64-2.4 > copying

Re: syncdb fail. mysql.base?

2008-01-07 Thread [EMAIL PROTECTED]
Grabbing the 1.2.1_p2 version of MySQLdb, these are the kinds of errors I get in building # python setup.py build running build running build_py creating build creating build/lib.linux-x86_64-2.4 copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.4 creating

Re: syncdb fail. mysql.base?

2008-01-07 Thread [EMAIL PROTECTED]
To get the trunk, I ran: # svn co http://code.djangoproject.com/svn/django/trunk/ # cd trunk # python setup.py install On Jan 7, 2:43 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote: > Its very strange if you had svn trunk version. Line that importsbackendmust >

Re: syncdb fail. mysql.base?

2008-01-07 Thread [EMAIL PROTECTED]
That second error is from the 0.96 version. On Jan 7, 2:43 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote: > Its very strange if you had svn trunk version. Line that importsbackendmust > behttp://code.djangoproject.com/browser/django/trunk/django/db/__init__... > but you havebackend=

Re: syncdb fail. mysql.base?

2008-01-07 Thread Alex Koshelev
Its very strange if you had svn trunk version. Line that imports backend must be http://code.djangoproject.com/browser/django/trunk/django/db/__init__.py#L17 but you have backend = __import__('%s.base' % settings.DATABASE_ENGINE, {}, {}, On 8 янв, 01:29, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>

Re: syncdb fail. mysql.base?

2008-01-07 Thread [EMAIL PROTECTED]
Uninstalled svn release, installed 0.96 from the tarball, retried the syncdb and got this error python manage.py syncdb Traceback (most recent call last): File "manage.py", line 11, in ? execute_manager(settings) File "/usr/lib/python2.4/site-packages/django/core/management.py", line

Re: syncdb fail. mysql.base?

2008-01-07 Thread [EMAIL PROTECTED]
I did a recent svn checkout. Perhaps I should uninstall and try a stable release On Jan 7, 2:18 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote: > mysql.base is internal django module that wraps work with MySQL > backend. So you have to check your django installation I think. > And that version of

Re: syncdb fail. mysql.base?

2008-01-07 Thread Alex Koshelev
mysql.base is internal django module that wraps work with MySQL backend. So you have to check your django installation I think. And that version of django do you use? On 7 янв, 23:13, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I think I have MySQL and MySQLdb installed properly. Both of

syncdb fail. mysql.base?

2008-01-07 Thread [EMAIL PROTECTED]
I think I have MySQL and MySQLdb installed properly. Both of these imports work >>> import _mysql >>> import MySQLdb I am running on a Ubuntu 6.06 system with a svn checkout of Django from yesterday. There is a problem I don't recognize when I try to run syncdb. What is mysql.base? # python