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

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

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

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

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

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

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
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 On Sun, Jan 18, 2009 at 8:57 PM, Tirta K. Untario wrote: > You don't have mysqldb module on your system. Install it by using this: > 'e

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 anyone help c:\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

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

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: > django.contrib.humanize: