Re: syncdb error with Mysql database on Windows 7

2015-01-25 Thread Carlos Andre
install PyMySQL, after create a user e a databases in mysql terminal; e.g:1º)create user 'root'@'localhost' identified by 'fish1777'; 2º) create database Mydb; 3º) grant all privileges on Mydb.* to 'root'@'localhost' identified by 'fish1777'; use syncdb. 2015-01-25 6:04 GMT-02:00 olek.russ : >

Re: syncdb error with Mysql database on Windows 7

2015-01-25 Thread olek.russ
I also followed note for create schema ( have watched https://www.youtube.com/watch?v=EL39BGSUkzw video in addition ) and got success. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: syncdb error with Mysql database on Windows 7

2014-09-27 Thread Daniel Grace
For the record I solved this, I was mistaken there was no "mydb" schema in MySQL. I created this schema and ran the "syncdb" command without any problems. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

syncdb error with Mysql database on Windows 7

2014-09-24 Thread Daniel Grace
I have a virtualenv with Python 3.4, Django 1.7 and MySQL installed on Windows 7. I also have the MySQL / Python adapter installed and the database settings in settings.py: DATABASES = { 'default': { 'NAME': 'mydb', 'ENGINE': 'mysql.connector.django', 'USER': 'root',

Re: Not able to create an simple application using DB (syncdb error)

2013-09-30 Thread Bill Freeman
Have you said which version of Django you are using? (If so, it slipped past me.) Is this all code that you wrote yourself, or did you copy some or all it from somewhere? If copied, under what version of Django was it being used? Have you gone through and understood the tutorial for the version

Re: Not able to create an simple application using DB (syncdb error)

2013-09-27 Thread Bill Freeman
Not all that useful unless you un-hide the file extensions. I'm guessing that there are manage.py scripts in both the upper and lower blog1 directories. For recent Djangos, manage.py should only be in the upper directory. The lower directory contains settings.py, urls.py, wsgo/[u amd __init__.py.

Re: Not able to create an simple application using DB (syncdb error)

2013-09-25 Thread Bill Freeman
And where is your settings.py file? If it is in the same directory as manage.py, and it is a reasonably current Django (1.4, 1.5), then it's in the wrong place. It belongs in a sub-directory named 'blog1', along with your urls.py, wsgi.py and an empty __init__.py . On Wed, Sep 25, 2013 at 1:40

Re: Not able to create an simple application using DB (syncdb error)

2013-09-25 Thread Roopa singh
Can you please check this thread http://stackoverflow.com/questions/12987648/importerror-could-not-import-settings . On Wed, Sep 25, 2013 at 11:10 PM, s. gulab wrote: > When i give " ./manage.py syncdb " i am getting following error. > > " *Traceback (most recent call last):* > * File "manage.

Not able to create an simple application using DB (syncdb error)

2013-09-25 Thread s. gulab
When i give " ./manage.py syncdb " i am getting following error. " *Traceback (most recent call last):* * File "manage.py", line 10, in * *execute_from_command_line(sys.argv)* * File "c:\Python27\lib\site-packages\django\core\management\__init__.py", line* *453, in execute_from_command_line

Re: Syncdb error with new 1.5rc1

2013-01-08 Thread galgal
As for my problem, I solved it by making manage.py migrate --fake But I don't know that is the best and good solution. So far it works somehow :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://

Re: Syncdb error with new 1.5rc1

2013-01-08 Thread Thiago Carvalho D' Ávila
I found out what I was doing wrong in my model. I was using UserManager without having 'is_active' and 'is_admin' fields. Solved! As with galgal's problem. I had no luck using South to migrate from auth_mixin to django 1.5. I am doing it manually =/ 2013/1/8 galgal > I also get strange error: >

Re: Syncdb error with new 1.5rc1

2013-01-08 Thread galgal
I also get strange error: https://groups.google.com/forum/#!topic/django-users/lVUZ3hClyUg On Monday, January 7, 2013 10:46:18 PM UTC+1, Thiago wrote: > > I used auth mixin before in my app, then made the changes to make it work > on the official Django with new custom user. > > The problem is t

Re: Syncdb error with new 1.5rc1

2013-01-08 Thread Thiago Carvalho D' Ávila
Basically, I am using Person class as my AUTH_USER_MODEL. I realized it was missing 'username' in REQUIRED_FIELDS. from django.contrib.auth.models import UserManager, AbstractBaseUser ... class Person(AbstractBaseUser): objects = UserManager() username = models.CharField(_('username'), ma

Re: Syncdb error with new 1.5rc1

2013-01-07 Thread Russell Keith-Magee
On Tue, Jan 8, 2013 at 5:46 AM, Thiago Carvalho D' Ávila < thiagocav...@gmail.com> wrote: > I used auth mixin before in my app, then made the changes to make it work > on the official Django with new custom user. > > The problem is that, when I run on my new empty db: > python manage.py syncdb --a

Syncdb error with new 1.5rc1

2013-01-07 Thread Thiago Carvalho D' Ávila
I used auth mixin before in my app, then made the changes to make it work on the official Django with new custom user. The problem is that, when I run on my new empty db: python manage.py syncdb --all ... You just installed Django's auth system, which means you don't have any superusers defined.

Re: Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-31 Thread Jon Blake
Thanks, Ian, I did miss that. Bookmarked for future reference. On Saturday, September 1, 2012 3:16:38 PM UTC+10, Ian wrote: > > On Fri, Aug 31, 2012 at 10:03 PM, Jon Blake > > wrote: > > Querying column timestamp of view user_objects for tables, sequences and > > triggers appears to confirm my

Re: Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-31 Thread Jon Blake
I've just dropped and re-created my user account with required privileges, and all has gone as expected. Table auth_permission has 18 rows. At the point where I'm prompted to create a superuser account, I made the mistake of resizing my terminal window, which resulted in exception EOFError bein

Re: Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-31 Thread Ian Kelly
On Fri, Aug 31, 2012 at 10:03 PM, Jon Blake wrote: > Querying column timestamp of view user_objects for tables, sequences and > triggers appears to confirm my understanding of what base.py does. I'll drop > and recreate my user account, and try again. I'll advise how this goes. Does > the Django d

Re: Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-31 Thread Jon Blake
Thanks, Ian and Amyth, for your responses. I encountered the CREATE TRIGGER privilege issue early in my trials with Django with the Oracle database back end - Django propagated an Oracle "insufficient privileges" exception. That was quickly sorted by granting the required privilege to my user a

Re: Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-31 Thread Ian
On Friday, August 31, 2012 12:10:54 AM UTC-6, Amyth wrote: > > Hey Jon, > > I guess this is because of a bug in django. Django already has a open > ticket for this bug. Check it out > here > . > > As described in that ticket, the reason for the proble

Re: Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-30 Thread Amyth Arora
Hey Jon, I guess this is because of a bug in django. Django already has a open ticket for this bug. Check it out here . On Fri, Aug 31, 2012 at 7:17 AM, Jon Blake wrote: > Just discovered Django and trying out the Django 1.4 tutorial with an > Oracle

Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-30 Thread Jon Blake
Just discovered Django and trying out the Django 1.4 tutorial with an Oracle backend database. In my database, I have created user django with privs create session, create table, create sequence, create trigger. The DATABASES dictionary in settings has been edited to set the default settings to

Re: python manage.py syncdb Error: No module named messages

2012-03-16 Thread Shawn Milochik
Not a PATH issue, but a PYTHONPATH issue. Run "python manage.py shell" and try to import 'messages.' I suspect it's not where you think it is, or its location is not on your PYTHONPATH. -- You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: python manage.py syncdb Error: No module named messages

2012-03-16 Thread Robert Steckroth
Ya, it is probably a path issue. It is set as this by the way --> ['', '/usr/lib64/python2.4/site-packages/MySQL_python-1.2.3c1-py2.4-linux-x86_64.egg', '/usr/lib64/python24.zip', '/usr/lib64/python2.4', '/usr/lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/lib-tk', '/usr/lib64/python2.4/lib-d

Re: python manage.py syncdb Error: No module named messages

2012-03-16 Thread Robert Steckroth
Also can I assume, regarding the above question above, that "messages" is the last thing Django is processing since it is at the bottom of the list in installed apps? I.e. If I fix the messages error it might work? INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes',

Re: python manage.py syncdb Error: No module named messages

2012-03-16 Thread Shawn Milochik
Check your PYTHONPATH. Perhaps it's not set right on the CentOS machine. The Linux distro shouldn't make a difference, nor should the presence of Cpanel or MySQL. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

python manage.py syncdb Error: No module named messages

2012-03-16 Thread Robert Steckroth
Hey Gang, I have a Django project built on a Debian server at home using http://djangobb.org";>DjangoBB. It is working on the Debain OS but I am having huge problems on the Centos server. This seams to be the farthest I can go with it. --> #-->python manage.py syncdb Error: N

Re: syncdb error

2011-06-26 Thread Phage
Thank you Karen, Those links are really helpful Phage -- 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...@g

Re: syncdb error

2011-06-22 Thread Karen Tracey
On Tue, Jun 21, 2011 at 11:24 PM, T4 Phage wrote: > Hello! > > When I run syncdb it returns an error ending in > "_mysql_exceptions.OperationalError: (1050, "Table 'people_person' > already exists")." I know that the table 'people_person' already > exists because I used syncdb to make it earlier

syncdb error

2011-06-21 Thread T4 Phage
Hello! When I run syncdb it returns an error ending in "_mysql_exceptions.OperationalError: (1050, "Table 'people_person' already exists")." I know that the table 'people_person' already exists because I used syncdb to make it earlier (and because I can see it in my database). Of course if I dum

Re: manage.py syncdb error

2010-06-13 Thread JRMAbock
it is an optin when that is shown in the command prompt along with sqlite 3 ad the others. Thank you for clearing that up tho I will look at sqlite 3 On Jun 13, 10:37 pm, Russell Keith-Magee wrote: > On Mon, Jun 14, 2010 at 10:22 AM, JRMAbock wrote: > > well ive actually tried setting it to djan

Re: manage.py syncdb error

2010-06-13 Thread Russell Keith-Magee
On Mon, Jun 14, 2010 at 10:22 AM, JRMAbock wrote: > well ive actually tried setting it to django.contrib.backends.dummy > and it says the same thing. Why did you try to set it to dummy? The comment in the settings file says: # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracl

Re: manage.py syncdb error

2010-06-13 Thread JRMAbock
and also, in the code the error message shows up for many different erros that are told to display the improperly configured message On Jun 13, 10:22 pm, JRMAbock wrote: > well ive actually tried setting it to django.contrib.backends.dummy > and it says the same thing. > > On Jun 13, 9:22 pm, raj

Re: manage.py syncdb error

2010-06-13 Thread JRMAbock
well ive actually tried setting it to django.contrib.backends.dummy and it says the same thing. On Jun 13, 9:22 pm, raj wrote: > The problem is obvious, right? Which comment says you to leave the > ENGINE as blank? set it to the db you want, say, sqlite3. > > Rajeesh. -- You received this messa

Re: manage.py syncdb error

2010-06-13 Thread raj
The problem is obvious, right? Which comment says you to leave the ENGINE as blank? set it to the db you want, say, sqlite3. Rajeesh. -- 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...@googl

manage.py syncdb error

2010-06-13 Thread JRMAbock
when I try to set up my database using the dummy it always gives me an error saying: django.core.exceptions.improperlyconfigured: you havent set the database ENGINE setting yet. I have followed the tutorial correctley and also left the ENGINE area blank as the comment said in order to tel the syn

Re: syncdb error for models pointing to each other

2010-03-25 Thread Dries Desmet
On 26 March 2010 01:11, Ramiro Morales wrote: > On Thu, Mar 25, 2010 at 9:03 PM, Dries Desmet wrote: > > My models are: > > > > > > class Album(models.Model): > > slug = models.SlugField( > > unique=True, > > help_text=_("Suggested value automatically generated from titl

Re: syncdb error for models pointing to each other

2010-03-25 Thread Ramiro Morales
On Thu, Mar 25, 2010 at 9:03 PM, Dries Desmet wrote: > My models are: > > > class Album(models.Model): >     slug = models.SlugField( >     unique=True, >     help_text=_("Suggested value automatically generated from title. > Must be unique.") >     ) >     # using name of the mod

syncdb error for models pointing to each other

2010-03-25 Thread Dries Desmet
My models are: class Album(models.Model): slug = models.SlugField( unique=True, help_text=_("Suggested value automatically generated from title. Must be unique.") ) # using name of the model, rather than the model object itself, # because Photo is not yet d

Re: python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-20 Thread David Paccoud
Hi Selena, To avoid this problem and make your app relocable, you should not use hard coded paths. Here's what I use on my projects: from os import path rel = lambda *x: path.join(path.abspath(path.dirname(__file__)), *x) DATABASE_NAME = rel('dev.db') MEDIA_ROOT = rel('media') TEMPLATE_DIRS = (

Re: python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-19 Thread selena
hello everyone i apologize for being so quick on asking for help, before i double checked my paths and local settings - which i thought i did but i have just realized that i had the old computer's name SSAVIC in the database_name path - and that was the only reason this was not working! thank

Re: python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-19 Thread selena
sure, here it is: # Django settings for mysite project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ('selena', 'idealnig...@gmail.com' # ('Your Name', 'your_em...@domain.com'), ) MANAGERS = ADMINS DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqli

Re: python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-18 Thread Ovnicraft
2009/10/18 selena > > Hello > hey michael > I have been experiencing this problem since I installed my brand new > Ubuntu Karmic with python in version 2.6 The project I am working on > was working under python2.5 in my old Gentoo and still works (at least > the python manage.py syncdb command do

python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-18 Thread selena
Hello hey michael I have been experiencing this problem since I installed my brand new Ubuntu Karmic with python in version 2.6 The project I am working on was working under python2.5 in my old Gentoo and still works (at least the python manage.py syncdb command does) on a server which is also run

Syncdb error

2009-09-17 Thread Faiz Zaki
Hello everyone, I've just installed django on mac osx snow leopard by using this tutorial here http://breakthesystem.org/2009/django-on-snow-leopard/ currently I'm stuck at syncdb with this error /Library/Python/2.6/site-packages/django_registration-0.7-py2.5.egg/ registration/models.py:4: Depr

Re: python manage.py syncdb error (L@@K)

2009-09-14 Thread Joshua Russo
You might want to check this out as a more up to date intro: http://docs.djangoproject.com/en/dev/intro/tutorial01/#intro-tutorial01 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Re: python manage.py syncdb error (L@@K)

2009-09-14 Thread Joshua Russo
On Mon, Sep 14, 2009 at 1:38 PM, Randy Barlow wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > about2flip declared: > > File "E:\djproj\ifriends\..\ifriends\People\models.py", line 8 > > def_str_(self): > > ^ > > SyntaxError: invalid syntax > > Looks like you

Re: python manage.py syncdb error (L@@K)

2009-09-14 Thread Joshua Russo
On Mon, Sep 14, 2009 at 1:38 PM, Joshua Russo wrote: > On Mon, Sep 14, 2009 at 1:27 PM, about2flip wrote: > >> >> Hi: >> >> I am using learn django in 24 hours and I am following this example on >> models. >> >> from django.db import models >> >> class Person(models.Model): >>name = model

Re: python manage.py syncdb error (L@@K)

2009-09-14 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 about2flip declared: > File "E:\djproj\ifriends\..\ifriends\People\models.py", line 8 > def_str_(self): > ^ > SyntaxError: invalid syntax Looks like you are missing a space between def and __str__(self). Should be: def __str_

Re: python manage.py syncdb error (L@@K)

2009-09-14 Thread Joshua Russo
On Mon, Sep 14, 2009 at 1:27 PM, about2flip wrote: > > Hi: > > I am using learn django in 24 hours and I am following this example on > models. > > from django.db import models > > class Person(models.Model): >name = models.CharField('name', maxlength=200) >email = models.EmailFie

Re: python manage.py syncdb error (L@@K)

2009-09-14 Thread Daniel Roseman
On Sep 14, 3:27 pm, about2flip wrote: > Hi: > > I am using learn django in 24 hours and I am following this example on > models. >   File "E:\djproj\ifriends\..\ifriends\People\models.py", line 8 >     def_str_(self): >                   ^ > SyntaxError: invalid syntax > > E:\djproj\ifriends> >

python manage.py syncdb error (L@@K)

2009-09-14 Thread about2flip
Hi: I am using learn django in 24 hours and I am following this example on models. from django.db import models class Person(models.Model): name = models.CharField('name', maxlength=200) email = models.EmailField('Email', blank=True) headshots = models.ImageField(upload_

Re: syncdb error

2009-07-11 Thread Croydon Dias
Thanks a bunch. Converted all path's to forwards slashes which fixed the problem. --~--~-~--~~~---~--~~ 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.co

Re: syncdb error

2009-07-11 Thread Karen Tracey
On Sat, Jul 11, 2009 at 7:49 AM, Croydon wrote: > > This is my first time running django in windows xp. Im using xampp, > python2.5.4 and django1.0.2 > > I created a new sqlite3 database and I get the following error when I > run "python manage.py syncdb" > > http://imgur.com/pooSw.png"; alt="Hos

syncdb error

2009-07-11 Thread Croydon
This is my first time running django in windows xp. Im using xampp, python2.5.4 and django1.0.2 I created a new sqlite3 database and I get the following error when I run "python manage.py syncdb" http://imgur.com/pooSw.png"; alt="Hosted by imgur.com" /> --~--~-~--~~~-

Re: manage.py syncdb error

2009-04-29 Thread David
it works now. thanks Kai. On Apr 29, 3:54 pm, Kai Kuehne wrote: > No TOFU please. > > On Thu, Apr 30, 2009 at 12:49 AM, David wrote: > > sorry i can not find a database that table > > 'auth_permission' belongs to. any more hints what i should do? > > Did you FLUSH PRIVILEGES? --~--~-~-

Re: manage.py syncdb error

2009-04-29 Thread Kai Kuehne
No TOFU please. On Thu, Apr 30, 2009 at 12:49 AM, David wrote: > sorry i can not find a database that table > 'auth_permission' belongs to. any more hints what i should do? Did you FLUSH PRIVILEGES? --~--~-~--~~~---~--~~ You received this message because you are

Re: manage.py syncdb error

2009-04-29 Thread David
sorry i can not find a database that table 'auth_permission' belongs to. any more hints what i should do? thanks so much. On Apr 29, 3:35 pm, David wrote: > i see. i should grant priviliges on the database that table > 'auth_permission' belongs to.  let me do it. > > thanks. > > On Apr 29, 3:3

Re: manage.py syncdb error

2009-04-29 Thread David
i see. i should grant priviliges on the database that table 'auth_permission' belongs to. let me do it. thanks. On Apr 29, 3:32 pm, David wrote: > mysql> show grants; > +--­ > + > | Gra

Re: manage.py syncdb error

2009-04-29 Thread David
mysql> show grants; +-- + | Grants for da...@localhost | +-- + | GRANT USAGE ON *

Re: manage.py syncdb error

2009-04-29 Thread Kai Kuehne
Hi, On Thu, Apr 30, 2009 at 12:17 AM, David wrote: > [error message] > anybody knows how to fix it? Grant CREATE permission for your user on that database. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

manage.py syncdb error

2009-04-29 Thread David
Hi, i followed django tutorial part 1 to learn django, however i met following error when i used "python manage.py syncdb". da...@django:~/mysite$ python manage.py syncdb Creating table auth_permission Traceback (most recent call last): File "manage.py", line 11, in execute_manager(settin

Re: syncdb error

2009-01-18 Thread Ramiro Morales
On Sun, Jan 18, 2009 at 6:13 AM, joti chand wrote: > > Can you elaborate more please because iam new to this...iam using > python, django and mysql 5.0.django and python works but python > and mysql5.0 not working As you've been told, you need to install the Python library that allows the la

Re: syncdb error

2009-01-18 Thread joti chand
ing this: > 'easy_install MySQLdb' > > --Tirta > -Original Message- > From: joti chand > > Date: Sun, 18 Jan 2009 20:21:45 > To: > Subject: syncdb error > > > > hi all iam getting this error when i try to do syncdb please can anyone help > &

Re: syncdb error

2009-01-17 Thread Tirta K. Untario
You don't have mysqldb module on your system. Install it by using this: 'easy_install MySQLdb' --Tirta -Original Message- From: joti chand Date: Sun, 18 Jan 2009 20:21:45 To: Subject: syncdb error hi all iam getting this error when i try to do syncdb please can

syncdb error

2009-01-17 Thread joti chand
hi all iam getting this error when i try to do syncdb please can anyone help c:\py_projects\mysite>python manage.py syncdb Traceback (most recent call last): File "manage.py", line 11, in execute_manager(settings) File "C:\Python25\Lib\site-packages\django\core\management\__init__.py",

Re: Syncdb error

2008-06-11 Thread Karen Tracey
On Wed, Jun 11, 2008 at 10:11 PM, JV <[EMAIL PROTECTED]> wrote: > > Hello group. > When I try to run the command syncdb I'm getting the following > error. I'm using python 2.4, the last Django repository core (in > particular revision 7618). > I got this error using MySQL and PostgreSQL, the wei

Syncdb error

2008-06-11 Thread JV
Hello group. When I try to run the command syncdb I'm getting the following error. I'm using python 2.4, the last Django repository core (in particular revision 7618). I got this error using MySQL and PostgreSQL, the weird thing is that the same code base is working in Windows. /work/Django/pr

Re: fixtures: yaml, manage.py syncdb error when no data in initial_data.yml

2007-09-19 Thread Russell Keith-Magee
On 9/20/07, johnny <[EMAIL PROTECTED]> wrote: > > this error is due to auto incremented primary key. you can't have > empty fixture file. The test suite doesn't currently check serialization of AutoFields. However, this would be a valuable test to add. Please open a ticket for this issue; if you

Re: fixtures: yaml, manage.py syncdb error when no data in initial_data.yml

2007-09-19 Thread johnny
this error is due to auto incremented primary key. you can't have empty fixture file. --~--~-~--~~~---~--~~ 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@googlegr

fixtures: yaml, manage.py syncdb error when no data in initial_data.yml

2007-09-19 Thread johnny
class Category(models.Model): id = models.AutoField(primary_key=True) parent_id = models.IntegerField() name = models.CharField(maxlength=200) Problem installing fixture 'c:\mysite\apps\category\fixtures \initial_data.yaml': 'NoneType' object has no attribute 'anchor' What is the iss

Re: syncdb error

2007-08-18 Thread James Bennett
On 8/18/07, Pawel Pilitowski <[EMAIL PROTECTED]> wrote: > I just updated to the latest django version (5925) and ran syncdb and > get the following error. > > Any suggestions? If you're tracking SVN, it's an *extremely* good idea to also watch the development timeline[1] and read the django-devel

syncdb error

2007-08-17 Thread Pawel Pilitowski
Hi, I just updated to the latest django version (5925) and ran syncdb and get the following error. Any suggestions? $ ./manage.py syncdb Creating table auth_message Creating table auth_group Creating table auth_user Creating table auth_permission Creating table django_content_type Creating t

Re: manage.py syncdb error

2006-08-08 Thread abe
Kenneth Gonsalves wrote: > On 08-Aug-06, at 7:37 PM, abe wrote: > > > > > I'm sometimes creating extra models, sometimes deleting an old model, > > and then run syncdb to update the database. > > if you are deleting old model, syncdb wont do it for you > I know, but the complaint is about an cur

Re: manage.py syncdb error

2006-08-08 Thread Kenneth Gonsalves
On 08-Aug-06, at 7:37 PM, abe wrote: > > I'm sometimes creating extra models, sometimes deleting an old model, > and then run syncdb to update the database. if you are deleting old model, syncdb wont do it for you -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/

Re: manage.py syncdb error

2006-08-08 Thread abe
Seth Buntin wrote: > Are you trying to insert initial data into you db when running this > script? not sure exactly what yuo mean by initial data. I'm sometimes creating extra models, sometimes deleting an old model, and then run syncdb to update the database. Eiso --~--~-~--~~--

manage.py syncdb error

2006-08-08 Thread abe
if I apply syncdb for one of my apps ./manage.py syncdb xxapp I get the traceback below that ends with [...] _mysql_exceptions.IntegrityError: (1062, "Duplicate entry '17-add_status' for key 2") I can't find an obvious error in the database. does anyone know what could be wrong.? abe Trace

Re: manage.py syncdb error

2006-08-08 Thread Seth Buntin
Are you trying to insert initial data into you db when running this script? --~--~-~--~~~---~--~~ 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

Re: syncdb error: django.contrib.markup: 'module' object has no attribute 'models'

2006-06-27 Thread Jay Parlar
On 6/27/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > The error message is the result of a recent addition (r3201) - it is an > indication that the named applications could not be imported, because of > some sort of error in the code - in this case, the request for a 'models' > attribut

Re: syncdb error: django.contrib.markup: 'module' object has no attribute 'models'

2006-06-27 Thread Russell Keith-Magee
On 6/28/06, Jay Parlar <[EMAIL PROTECTED]> wrote: When running my Django instance (most up to date SVN) on Dreamhost,I've started seeing this:[chiclet]$ python2.4 manage.py syncdbError: None couldn't be installed, because there were errors in your model: django.contrib.humanize: 'module' object has

Re: syncdb error: django.contrib.markup: 'module' object has no attribute 'models'

2006-06-27 Thread Malcolm Tredinnick
On Tue, 2006-06-27 at 20:58 -0400, Jay Parlar wrote: > When running my Django instance (most up to date SVN) on Dreamhost, > I've started seeing this: > > [chiclet]$ python2.4 manage.py syncdb > Error: None couldn't be installed, because there were errors in your model:

syncdb error: django.contrib.markup: 'module' object has no attribute 'models'

2006-06-27 Thread Jay Parlar
When running my Django instance (most up to date SVN) on Dreamhost, I've started seeing this: [chiclet]$ python2.4 manage.py syncdb Error: None couldn't be installed, because there were errors in your model: django.contrib.humanize: 'module' object has no attribute 'mode

Re: Magic Removal syncdb error

2006-04-28 Thread Russell Keith-Magee
On 4/28/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > I just looked in the docs and, as I mentioned, it has this error. I'll > post a patch to the ticket system now. I've committed that patch, and a bit more for clarification purposes. Thanks, Russ Magee --~--~-~--~~

Re: Magic Removal syncdb error

2006-04-28 Thread tomass
Thanks! Tom --~--~-~--~~~---~--~~ 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] Fo

Re: Magic Removal syncdb error

2006-04-28 Thread Malcolm Tredinnick
On Fri, 2006-04-28 at 03:10 -0700, tomass wrote: > Hi Malcolm, > > Thanks! I'm not getting that error any more, but am getting this: > > Error: None couldn't be installed, because there were errors in your > model: > admin.logentry: 'user' has relation with uninstalled model User > admin.logentr

Re: Magic Removal syncdb error

2006-04-28 Thread tomass
Hi Malcolm, Thanks! I'm not getting that error any more, but am getting this: Error: None couldn't be installed, because there were errors in your model: admin.logentry: 'user' has relation with uninstalled model User admin.logentry: 'content_type' has relation with uninstalled model ContentType

Re: Magic Removal syncdb error

2006-04-28 Thread Malcolm Tredinnick
On Fri, 2006-04-28 at 02:15 -0700, tomass wrote: > Sure, here it is: > [...] > class TowerAlias(models.Model): > tower = models.ForeignKey(Tower) > tower_alias = models.CharField(maxlength=200) > > def __repr__(self): > return self.tower_alias > > class Admin: >

Re: Magic Removal syncdb error

2006-04-28 Thread tomass
Sure, here it is: from django.db import models import datetime SERVER_STATUS_CHOICES = ( ('A', 'Active'), ('I', 'Inactive'), ) COUNTRY_CHOICES = ( ('UK', 'United Kingdom'), ('US', 'United States'), ) class Country(models.Model): country_name = models.CharField(maxlength=2)

Re: Magic Removal syncdb error

2006-04-28 Thread Malcolm Tredinnick
On Fri, 2006-04-28 at 02:07 -0700, tomass wrote: > Hi Folks, > > I'm trying out the magic-removal branch, and am trying to just create > my database from scratch. When typing "python manage.py syncdb" I get: > > Traceback (most recent call last): > File "../../django/magic-removal/django/bin/d

Magic Removal syncdb error

2006-04-28 Thread tomass
Hi Folks, I'm trying out the magic-removal branch, and am trying to just create my database from scratch. When typing "python manage.py syncdb" I get: Traceback (most recent call last): File "../../django/magic-removal/django/bin/django-admin.py", line 5, in ? management.execute_from_comma