Problem with syncdb and multiple databases

2013-11-11 Thread Sells, Fred
I'm using Django 1.5 and Mysql 5.1 and am in the early stages of a multiple app development and the schema is changing frequently as "hidden" requirements emerge. I cannot get syncdb to sync anything other than my default db, and when I change my default, it still seems to see the old one.

Re: problem with syncdb in geodjango tutorial

2012-04-25 Thread kenneth gonsalves
On Wed, 2012-04-25 at 08:44 +0300, Jani Tiainen wrote: > > am using postgis on Fedora 16 and django trunk > > > > I've seen that error when you try to create new column in postgis > database with SRID that doesn't exists in postgis srid definitions. > > You can check does SRID exist in

Re: problem with syncdb in geodjango tutorial

2012-04-24 Thread Jani Tiainen
25.4.2012 7:59, kenneth gonsalves kirjoitti: hi, I am following the geodjango tutorial, and when doing syncdb, I get the following error: [lawgon@xlquest geodjango]$ python manage.py syncdb Creating tables ... Creating table world_worldborder Installing custom SQL ... Installing indexes ...

problem with syncdb in geodjango tutorial

2012-04-24 Thread kenneth gonsalves
hi, I am following the geodjango tutorial, and when doing syncdb, I get the following error: [lawgon@xlquest geodjango]$ python manage.py syncdb Creating tables ... Creating table world_worldborder Installing custom SQL ... Installing indexes ... Failed to install index for world.WorldBorder

Re: problem with syncdb and MyQSL

2011-09-02 Thread John Boudreau
This is what I finally got: C:\Python27>python c:\python27\mysite2\manage.py syncdb Creating tables ... Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Traceback (most recent call last): File "c:\python27\mysite2\manage.py", line 14, in

Re: problem with syncdb and MyQSL

2011-09-02 Thread John Boudreau
Ok. I created a new database entirely and un-commented the APPS. I then ran the following command: C:\Python27>python c:\python27\mysite2\manage.py syncdb I hit enter about 5 mins ago and it's still at: Creating tables Creating table auth_permission Creating table auth_group_permissions

Re: problem with syncdb and MyQSL

2011-09-02 Thread yoursurrogategod
The only thing that pops in my mind right about now is to delete the currently created table and then proceed to re-run syncdb (leave the other apps uncommented.) On Sep 2, 2011, at 1:01 PM, John Boudreau wrote: > Great. Yes, when I first experienced the issue (prior

Re: problem with syncdb and MyQSL

2011-09-02 Thread John Boudreau
Great. Yes, when I first experienced the issue (prior to creating the polls app, with those APPS un-commented), I logged into the database and found the following tables had been created: TableRowsTypeSizeCommentsauth_group_permissions0Xeround0 Bauth_permission0 Xeround0 B2 tables0--0 B So it

Re: problem with syncdb and MyQSL

2011-09-02 Thread Yves S. Garret
I'm curious, maybe someone knows this who has actually seen the code behind the scenes, but is this actually true? When Django says "Creating tables ... Creating table polls_poll", does that mean it's already connected to the database and working on it or is it a message that's produced

Re: problem with syncdb and MyQSL

2011-09-02 Thread John Boudreau
I had the same problem with those un-commented, so I create an app polls (per the tutorial) and commented those out to see if it made a difference and it didn't. In the tutorial is says, "For the minimalists Like we said above, the default applications are included for the common case, but not

Re: problem with syncdb and MyQSL

2011-09-02 Thread Yves S. Garret
I'm looking at this portion: +++ INSTALLED_APPS = ( #'django.contrib.auth', #'django.contrib.contenttypes', #'django.contrib.sessions', #'django.contrib.sites', #'django.contrib.messages', #'django.contrib.staticfiles', 'polls' #

Re: problem with syncdb and MyQSL

2011-09-02 Thread John Boudreau
Yes I have. When I run the syncdb command it starts creating the tables then hangs So it is connecting to the MySql DB I created... On Fri, Sep 2, 2011 at 12:43 PM, chandrakant kumar wrote: > On 9/2/11, John wrote: > > I am a total noob so

Re: problem with syncdb and MyQSL

2011-09-02 Thread chandrakant kumar
On 9/2/11, John wrote: > I am a total noob so forgive my ignorance, but I have been going > through the Django tutorial - > https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > I am at the point in the tutorial where I run the following command: > >

Re: problem with syncdb and MyQSL

2011-09-02 Thread John
On Sep 2, 12:37 pm, "Yves S. Garret" wrote: > Show me your settings.py file, just post all of it. > Please see my settings.py file below. I "X's" out the password etc DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_em...@example.com'),

Re: problem with syncdb and MyQSL

2011-09-02 Thread Yves S. Garret
Show me your settings.py file, just post all of it. On Fri, Sep 2, 2011 at 11:38 AM, John wrote: > I am a total noob so forgive my ignorance, but I have been going > through the Django tutorial - > https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > I am at the

problem with syncdb and MyQSL

2011-09-02 Thread John
I am a total noob so forgive my ignorance, but I have been going through the Django tutorial - https://docs.djangoproject.com/en/1.3/intro/tutorial01/ I am at the point in the tutorial where I run the following command: C:\Python27>python c:\python27\mysite2\manage.py syncdb Creating tables ...

Re: Install going well but problem with syncdb

2009-08-31 Thread eka
Check that you have python-sqlite2 installed http://oss.itsystementwicklung.de/trac/pysqlite/ On Aug 31, 6:14 pm, Franck Y wrote: > Hello > I had the install going pretty well but when i do > python manage.py syncdb > > i got this error message > > python manage.py

Re: Install going well but problem with syncdb

2009-08-31 Thread Daniel Roseman
On Aug 31, 10:14 pm, Franck Y wrote: > Hello > I had the install going pretty well but when i do > python manage.py syncdb > > i got this error message > > python manage.py syncdb > Traceback (most recent call last): >   File "manage.py", line 11, in ? >    

Install going well but problem with syncdb

2009-08-31 Thread Franck Y
Hello I had the install going pretty well but when i do python manage.py syncdb i got this error message 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/

Re: Strange problem with 'syncdb' not finding application models

2008-10-20 Thread Will Boyce
Thanks for the quick response Daniel! The only self-referencing import I can see is that __init__.py is importing a model from the apps models.py: [EMAIL PROTECTED]:~/ibd$ grep -n -r granular granular_permissions/ granular_permissions/__init__.py:8:from granular_permissions.models import

Re: Strange problem with 'syncdb' not finding application models

2008-10-20 Thread Daniel Roseman
On Oct 20, 12:26 pm, Will Boyce <[EMAIL PROTECTED]> wrote: > I was throwing together a (supposedly quick!) project today to gather > some information from customers, however I hit a stumbling block a > while back and I now feel like I'm banging my head on a brick wall.. > > I've modified the

Strange problem with 'syncdb' not finding application models

2008-10-20 Thread Will Boyce
I was throwing together a (supposedly quick!) project today to gather some information from customers, however I hit a stumbling block a while back and I now feel like I'm banging my head on a brick wall.. I've modified the syncdb process to be a bit more verbose: ..snip.. Loading

Re: Problem with SYNCDB

2008-03-05 Thread justinlilly
paste the database portion of settings.py It seems that you aren't connecting to your database properly. Are you specifying a port or the proper location of your socket? -- Justin Lilly Web Developer --~--~-~--~~~---~--~~ You received this message because you

Re: Problem with SYNCDB

2008-03-05 Thread Malcolm Tredinnick
On Wed, 2008-03-05 at 05:25 -0800, Nicola Greco di Notsecurity.com wrote: > I'm using debian, with apache (not apache2), when i launch this > command: python manage.py syncdb it appear: [...] > _mysql_exceptions.OperationalError: (2002, "Can't connect to local > MySQL server through socket

Re: Problem with SYNCDB

2008-03-05 Thread Pete Crosier
You need to make sure MySQL is up and running, and that the database settings in your settings file are correct - I've seen this error when I've simply forgotten to start MySQL. On Mar 5, 1:25 pm, "Nicola Greco di Notsecurity.com" <[EMAIL PROTECTED]> wrote: > I'm using debian, with apache (not

Problem with SYNCDB

2008-03-05 Thread Nicola Greco di Notsecurity.com
I'm using debian, with apache (not apache2), when i launch this command: python manage.py syncdb it appear: server:/home/admin/djbongo/aggregatore# python manage.py syncdb Traceback (most recent call last): File "manage.py", line 11, in ? execute_manager(settings) File