Re: Don't run python manage.py syncdb

2015-10-09 Thread Rafael E. Ferrero
i think that u need to set 'myApp' in INSTALLED_APPS something like: > 'django.contrib.admin', > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.messages', > 'django.contrib.staticfiles', > 'myApp' -- Rafael E. Ferrero 2015-10-09 16:39 GMT

Don't run python manage.py syncdb

2015-10-09 Thread Faffafa Trtrtrtrt
I create question in http://stackoverflow.com/questions/32999054/dont-run-python-manage-py-syncdb. Any one can answer it? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send a

Re: How to supply parameters to "python manage.py syncdb" from a script?

2015-03-23 Thread Dan Dong
Thanks Russell, that's clear now. Cheers, Dan 在 2015年3月20日星期五 UTC-5下午6:27:12,Russell Keith-Magee写道: > > > On Sat, Mar 21, 2015 at 5:25 AM, Dan Dong > > wrote: > >> Hi, >> Does anybody know how to supply the input parameters to "python >> manage

Re: How to supply parameters to "python manage.py syncdb" from a script?

2015-03-20 Thread Russell Keith-Magee
On Sat, Mar 21, 2015 at 5:25 AM, Dan Dong wrote: > Hi, > Does anybody know how to supply the input parameters to "python > manage.py syncdb" from a script? E.g, to set the the followings parameters: > > Would you like to create one now? (yes/no): yes > Userna

How to supply parameters to "python manage.py syncdb" from a script?

2015-03-20 Thread Dan Dong
Hi, Does anybody know how to supply the input parameters to "python manage.py syncdb" from a script? E.g, to set the the followings parameters: Would you like to create one now? (yes/no): yes Username (leave blank to use 'root'): Email address: x Password: xx

python manage.py syncdb

2014-08-08 Thread ngangsia akumbo
when i try to suncdb db i get this error below You just installed Django's auth system, which means you don't have any superusers defined. Would you like to create one now? (yes/no): yes Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv)

Re: Error Doing python manage.py syncdb in django pyBB

2013-12-15 Thread Frank Bieniek
pyBB and after following steps mentioned at their website, I am getting following error when I am running python manage.py syncdb [aloknag-mbp15:~/Desktop/forum] aloknag% ./manage.py syncdb /Library/Python/2.7/site-packages/django_common-0.1.51-py2.7.egg/common/fields.py:6: DeprecationWarning

Re: Error Doing python manage.py syncdb in django pyBB

2013-12-14 Thread Avraham Serour
error when I am running python manage.py syncdb > > [aloknag-mbp15:~/Desktop/forum] aloknag% ./manage.py syncdb > > /Library/Python/2.7/site-packages/django_common-0.1.51-py2.7.egg/common/fields.py:6: > DeprecationWarning: django.utils.simplejson is deprecated; use json instead. > >

Error Doing python manage.py syncdb in django pyBB

2013-12-14 Thread Alok Nag
Hello Experts, I am newbie to Django/Python. I am trying to setup a forum app using pyBB and after following steps mentioned at their website, I am getting following error when I am running python manage.py syncdb [aloknag-mbp15:~/Desktop/forum] aloknag% ./manage.py syncdb /Library/Python/2.7

Re: error python manage.py syncdb

2013-09-12 Thread Germán Larraín
Never import Django stuff in your settings (except core.exceptions) unless you REALLY know what you are doing -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to dj

Re: error python manage.py syncdb

2013-09-11 Thread Marco Fucci
tings (e.g. importing models) and that causes the problem There might be other cases but I suggest you should double-check your settings first. On Wednesday, 11 September 2013 09:46:35 UTC+1, Gabriele Angeli wrote: > > Hi guys i have the following errors when edit python manage.py syncdb

Re: error python manage.py syncdb

2013-09-11 Thread Kishor Pawar
djangoproject.com/en/dev/ref/django-admin/ On Wednesday, 11 September 2013 14:16:35 UTC+5:30, Gabriele Angeli wrote: > > Hi guys i have the following errors when edit python manage.py syncdb : > > Traceback (most recent call last): > File "manage.py", line 11, in >

error python manage.py syncdb

2013-09-11 Thread Gabriele Angeli
Hi guys i have the following errors when edit python manage.py syncdb : Traceback (most recent call last): File "manage.py", line 11, in execute_manager(settings) File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 469

Re: python manage.py syncdb (using mysql database)

2013-06-03 Thread lordkyoshi2
st import the MySQLdb into > python interpreter it succes i can also connect to the db, i also can > import django > > python manage.py runserver works fine, i can acces to the page > but python manage.py syncdb just do nothing and i don't understand or > succes to f

python manage.py syncdb (using mysql database)

2013-06-02 Thread lordkyoshi2
import the MySQLdb into python interpreter it succes i can also connect to the db, i also can import django python manage.py runserver works fine, i can acces to the page but python manage.py syncdb just do nothing and i don't understand or succes to figure why. i got the debug on, i t

Re: OverflowError while trying python manage.py syncdb

2013-03-06 Thread 陶克k . tao
o which > I had no solution. > > *$ python manage.py syncdb* > *OverflowError: Python int too large to convert to C long* > > I'm using OS X 10.8, and Django 1.5, Python 2.7.2. > > Could you help me? > > Thanks, > Ke > -- You received this message becau

OverflowError while trying python manage.py syncdb

2013-03-06 Thread 陶克k . tao
Hi, I'm new to Django. I was trying to follow the tutorial to set up Django. When I was trying to do "syncdb" operation, I got an error message to which I had no solution. *$ python manage.py syncdb* *OverflowError: Python int too large to convert to C long* I'm using OS X

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: "python manage.py syncdb" creates no tables (tutorial)

2011-11-02 Thread angelika
rial on this page: > >https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > > In it, the 'python manage.py syncdb' command is supposed to be run to > > create tables for the apps in the INSTALLED_APPS setting, right? And > > this bit seems to come before you star

Re: "python manage.py syncdb" creates no tables (tutorial)

2011-11-02 Thread Flavia Missi
's On Wed, Nov 2, 2011 at 9:59 AM, angelika wrote: > I'm following the tutorial on this page: > https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > In it, the 'python manage.py syncdb' command is supposed to be run to > create tables for the apps in the

Re: "python manage.py syncdb" creates no tables (tutorial)

2011-11-02 Thread kenneth gonsalves
On Wed, 2011-11-02 at 04:59 -0700, angelika wrote: > I'm following the tutorial on this page: > https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > In it, the 'python manage.py syncdb' command is supposed to be run to > create tables for the apps in the INST

Re: "python manage.py syncdb" creates no tables (tutorial)

2011-11-02 Thread angelika
I'm following the tutorial on this page: https://docs.djangoproject.com/en/1.3/intro/tutorial01/ In it, the 'python manage.py syncdb' command is supposed to be run to create tables for the apps in the INSTALLED_APPS setting, right? And this bit seems to come before you start crea

Re: "python manage.py syncdb" creates no tables (tutorial)

2011-11-02 Thread kenneth gonsalves
On Wed, 2011-11-02 at 04:37 -0700, angelika wrote: > I'm new to both Python and Django. I'm doing the tutorial and I named > the site mysite, to keep it simple. Does that mean mysite is the name > of the app? And the command should be: you must have created an app under mysite - probably named 'po

Re: a django question about "python manage.py syncdb"

2011-10-14 Thread Chen Xu
both of them... > On Oct 14, 2011 5:49 PM, "Chen Xu" wrote: > > and when i tried "python manage.py sqlall " it gives empty. > I think is it because I am not importing properly or something else is > going wrong. > > > Thanks > > > > &g

Re: a django question about "python manage.py syncdb"

2011-10-14 Thread Donald Stufft
ge.py sqlall " it gives empty. > > > I think is it because I am not importing properly or something else is > > > going wrong. > > > > > > > > > Thanks > > > > > > > > > > > > > > > &

Re: a django question about "python manage.py syncdb"

2011-10-14 Thread Chen Xu
am new to Django. >>>>> I have installed Django and go t everything set up correctly, just >>>>> started some easy tutorials. >>>>> >>>>> So when I do >>>>> Django-admin.py startapp blog >>>>> >>>>> >>&g

Re: a django question about "python manage.py syncdb"

2011-10-14 Thread Andre Terra
> > So when I do > Django-admin.py startapp blog > > > it creates a /blog directory that looks like thsi > /blog > - __init__.py > - tests.py > - models.py > - views.py > > I know in Django, when you run "python manage.py syncdb", i

Re: a django question about "python manage.py syncdb"

2011-10-14 Thread Mike Dewhirst
y that looks like thsi > /blog > - __init__.py > - tests.py > - models.py > - views.py > > I know in Django, when you run "python manage.py syncdb", it will look > through models.py, and create all the table it finds. > However, I dont want to create a

Re: a django question about "python manage.py syncdb"

2011-10-14 Thread Phang Mulianto
because I am not importing properly or something else is > going wrong. > > > Thanks > > > > > > On Fri, Oct 14, 2011 at 2:46 AM, Chen Xu wrote: > >> I know that will work, but what I can do to just make "python manage.py >> syncdb" work? >

Re: a django question about "python manage.py syncdb"

2011-10-14 Thread Chen Xu
and when i tried "python manage.py sqlall " it gives empty. I think is it because I am not importing properly or something else is going wrong. Thanks On Fri, Oct 14, 2011 at 2:46 AM, Chen Xu wrote: > I know that will work, but what I can do to just make "python

Re: a django question about "python manage.py syncdb"

2011-10-14 Thread Chen Xu
I know that will work, but what I can do to just make "python manage.py syncdb" work? Thanks very much On Fri, Oct 14, 2011 at 2:37 AM, nicolas HERSOG wrote: > You can also type python manage.py sqlall and copy paste sql > instructions in your bd > > On Fri, Oct 14, 201

Re: a django question about "python manage.py syncdb"

2011-10-14 Thread nicolas HERSOG
when I do > Django-admin.py startapp blog > > > it creates a /blog directory that looks like thsi > /blog > - __init__.py > - tests.py > - models.py > - views.py > > I know in Django, when you run "python manage.py syncdb", it will look > th

a django question about "python manage.py syncdb"

2011-10-14 Thread Chen Xu
Django, when you run "python manage.py syncdb", it will look through models.py, and create all the table it finds. However, I dont want to create all my tables in models.py, becaue when my proj get bigger, it is hard to maintain. Therefore, I create a subdirectory "/Models" t

Re: How to change the schma of database using python manage.py syncdb?

2011-08-18 Thread Shawn Milochik
On 08/18/2011 04:22 PM, Mike Seidle wrote: When I started with Django, I ran into the same issue... seemed kind of silly that we had this amazing framework that did so much but it had no way to really alter tables... Enter South. South works pretty well, but if you roll your own ModelFields it

Re: How to change the schma of database using python manage.py syncdb?

2011-08-18 Thread Mike Seidle
On Thursday, August 18, 2011 12:03:00 pm smith jack wrote: > at last, i use command python manage.py syncdb > > but was suprised to find that the schema of url table in the database > is not changed > > so is there any method to change the shcema of table using django comman

Re: How to change the schma of database using python manage.py syncdb?

2011-08-18 Thread Shawn Milochik
As was mentioned previously, South is the best solution in Django at this time. south.aeracode.org The docs are good, there's a Google Group you can join, and plenty of people on this list use it all the time and can help with it. Shawn -- You received this message because you are subscribe

Re: How to change the schma of database using python manage.py syncdb?

2011-08-18 Thread MikeKJ
s url(models.Model): > link=models.URLField(unique=True) > > then i change this class as follows: > > class url(models.Model): > link=models.URLField(unique=True) > hits=models.IntegerField() > > at last, i use command python manage.py syncdb > > bu

Re: How to change the schma of database using python manage.py syncdb?

2011-08-18 Thread delegbede
:03:00 To: Reply-To: django-users@googlegroups.com Subject: How to change the schma of database using python manage.py syncdb? for example at first i have a model named url, the code is as follows: class url(models.Model): link=models.URLField(unique=True) then i change this class as follows

How to change the schma of database using python manage.py syncdb?

2011-08-18 Thread smith jack
python manage.py syncdb but was suprised to find that the schema of url table in the database is not changed so is there any method to change the shcema of table using django command? -- You received this message because you are subscribed to the Google Groups "Django users" group.

AW: problems: python manage.py syncdb

2011-04-22 Thread Szabo, Patrick (LNG-VIE)
:57 An: django-users@googlegroups.com Betreff: Re: problems: python manage.py syncdb Hi: I think you configuration for database(postgresql) is not correct , or your database is not running, make sure you can connect your database using you profile on settings,py 2011/4/22 Lancinè I KABA

Re: problems: python manage.py syncdb

2011-04-22 Thread 阮明辉
27;settings.py' and am running "python manage.py runserver". > > When I run the server and then call "python manage.py syncdb" against > my Postgres database, everything just hangs. > > If I kill 'runserver', then I get this message from s

problems: python manage.py syncdb

2011-04-22 Thread Lancinè I KABA
Hello!!! I am new to django, and am running the tutorial. I have edited 'settings.py' and am running "python manage.py runserver". When I run the server and then call "python manage.py syncdb" against my Postgres database, everything just hangs. If I kill '

"python manage.py syncdb" help

2010-08-06 Thread jfernandez1977
nd only port 5432 is open for postgresql. I could also login postgresql with psql either on local machine or from remote machine. I do not have a /var/run/postgresql directory. Could someone with more experience point out what I need to do to make it working? thanks. JF $ python manage.py sy

Re: Why I'm getting "no fixtures found." message when I run "python manage.py syncdb"

2010-07-25 Thread Franklin Einspruch
http://docs.djangoproject.com/en/dev/topics/testing/#understanding-the-test-output Franklin On Sun, Jul 25, 2010 at 6:31 AM, balu wrote: > I'm using djago 1.2.1 and python 2.6 > > The command line error is... > > C:\mysite>python manage.py syncdb > Creating table

Why I'm getting "no fixtures found." message when I run "python manage.py syncdb"

2010-07-25 Thread balu
I'm using djago 1.2.1 and python 2.6 The command line error is... C:\mysite>python manage.py syncdb Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Creating table auth_user_user_permissions Creating table auth_user_groups Creating table a

Failure when issuing the "python manage.py syncdb" command ...

2010-02-03 Thread Nehad
Hello, I am a new user to Django and have trouble executing the "python manage.py syncdb" command. I am using a server/client configuration, where the database is setting on a different Linux (CentOS) server than the web server (each one is being hosted in VMWare VM). The "p

Re: newbie following intro-tutorial01 snag -- mysql login fails from python manage.py syncdb

2009-12-09 Thread John Griessen
The problem logging in to mysql was with how I created the new user. Nevermind :-) JG -- 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...@googlegroups.com. To unsubscribe from this group, send

newbie following intro-tutorial01 snag -- mysql login fails from python manage.py syncdb

2009-12-09 Thread john_griessen
When I login to mysql from a shell as user django_editor, I can change tables in a database I've called django_server. settings.py contains DATABASE_NAME = 'django_server' # Or path to database file if using sqlite3. DATABASE_USER = 'django_editor' python

Re: Trouble with mysqld.sock error when running python manage.py syncdb

2009-12-01 Thread Dave
roblem. When I try and run > "python manage.py syncdb" I get this error: "Can't connect to local > MySQL server through socket '/opt/local/var/run/mysql5/ > mysqld.sock' (2)" > > Mysql is running; I have the little tool in system preferences that

Trouble with mysqld.sock error when running python manage.py syncdb

2009-12-01 Thread Dave
Okay, I figured out this problem by editing my PYTHONPATH in my .bash_profile, but now I have another problem. When I try and run "python manage.py syncdb" I get this error: "Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/ mysqld.sock'

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

2009-10-20 Thread David Paccoud
;> django/templates". >>     # Always use forward slashes, even on Windows. >>     # Don't forget to use absolute paths, not relative paths. >>     '/home/ssavic/django2/mysite/templates' >> ) >> >> INSTALLED_APPS = ( >>     '

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

2009-10-19 Thread selena
jango2/mysite/templates' > ) > > INSTALLED_APPS = ( >     'django.contrib.auth', >     'django.contrib.contenttypes', >     'django.contrib.sessions', >     'django.contrib.sites', >     'mysite.polls', >     'dja

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

2009-10-19 Thread selena
x27;django.contrib.sites', 'mysite.polls', 'django.contrib.admin' ) i suspect the sqlite version and folder structure not working with the newer version of python. but maybe this is just a very unexperienced opinion. thanks for help! selena On Oct 19, 5:51 am,

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 man

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

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
TextField('Desc', maxlength=500, blank=True) >> def_str_(self): >>return '%s' % (self.name) >> >> I keep getting an error when I use the command>>>python manage.py >> syncdb (see below) >> >> >> E:\djproj\if

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
ame', maxlength=200) >email = models.EmailField('Email', blank=True) >headshots = models.ImageField(upload_to='img', blank=True) >text = models.TextField('Desc', maxlength=500, blank=True) >def_str_(self): > return '%s

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
= models.ImageField(upload_to='img', blank=True) text = models.TextField('Desc', maxlength=500, blank=True) def_str_(self): return '%s' % (self.name) I keep getting an error when I use the command>>>python manage.py syncdb (see below) E:\d

Re: python manage.py syncdb problem

2009-09-09 Thread Zico
On Wed, Sep 9, 2009 at 11:40 AM, ankit rai wrote: > hello, > > this error shows that there is some postgres db connection exception.please > check ur connection As far as i know, everything is ok so far. But, if i check with *python manage.py dbshell, it can connect!* -- Best, Zico --~--~---

Re: python manage.py syncdb problem

2009-09-08 Thread Kenneth Gonsalves
On Wednesday 09 Sep 2009 11:07:22 am Zico wrote: > File > "/usr/lib/python2.6/site-packages/django/contrib/gis/db/backend/postgis/man >agement.py", line 13, in _get_postgis_func > cursor.execute('SELECT %s()' % func) > *psycopg2.InternalError: current transaction is aborted, commands ignored

Re: python manage.py syncdb problem

2009-09-08 Thread ankit rai
and to sync my database. > Command is: *python manage.py syncdb > > *But, here, i get the error: > > *psycopg2.InternalError: current transaction is aborted, commands ignored > until end of transaction block > * > Here is the full error: > > [r...@fedora f

python manage.py syncdb problem

2009-09-08 Thread Zico
Hi, I have been trying to install fixmystreet in one of my Fedora 11 machine. In one step, i need to enter the command to sync my database. Command is: *python manage.py syncdb *But, here, i get the error: *psycopg2.InternalError: current transaction is aborted, commands ignored until end of

Re: Error in: python manage.py syncdb

2008-11-11 Thread Sean
On Nov 11, 2:50 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 10, 2008 at 8:16 PM, Sean <[EMAIL PROTECTED]> wrote: > > > When I run the command python manage.py syncdb to sync database, but > > failed > > > I got the following

Re: Sync Database failed, using "python manage.py syncdb"

2008-11-11 Thread Sean
On Nov 11, 7:22 am, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Nov 11, 1:18 am, Sean <[EMAIL PROTECTED]> wrote: > > > When I run the command "python manage.py syncdb" to sync database, but > > failed > > > I got the following error messages:

Re: Sync Database failed, using "python manage.py syncdb"

2008-11-10 Thread Daniel Roseman
On Nov 11, 1:18 am, Sean <[EMAIL PROTECTED]> wrote: > When I run the command "python manage.py syncdb" to sync database, but > failed > > I got the following error messages: > > File "C:\Python25\Lib\site-packages\django\contrib\auth

Re: Error in: python manage.py syncdb

2008-11-10 Thread Karen Tracey
On Mon, Nov 10, 2008 at 8:16 PM, Sean <[EMAIL PROTECTED]> wrote: > > When I run the command python manage.py syncdb to sync database, but > failed > > I got the following error messages: > > File "C:\Python25\Lib\site-packages\django\contrib\auth\manage

Sync Database failed, using "python manage.py syncdb"

2008-11-10 Thread Sean
When I run the command "python manage.py syncdb" to sync database, but failed I got the following error messages: File "C:\Python25\Lib\site-packages\django\contrib\auth\management \_init_.py". line 47 , in signals.post_syncdb.connect I got django1.0, Python2.52, Apac

Error in: python manage.py syncdb

2008-11-10 Thread Sean
When I run the command python manage.py syncdb to sync database, but failed I got the following error messages: File "C:\Python25\Lib\site-packages\django\contrib\auth\management \_init_.py". line 47 , in signals.post_syncdb.connect I got django1.0, Python2.52, Apache2.2.9, M

Re: how to set mysql socket path for 'python manage.py syncdb' command

2007-10-15 Thread ydjango
Changing host from '' to 127.0.0.1 in setting.py made the error go away. it is working fine now. thanks On Oct 15, 11:12 am, ydjango <[EMAIL PROTECTED]> wrote: > my mysql is running under /opt/lammp. > > when I run 'python manage.py syncdb' > i get er

how to set mysql socket path for 'python manage.py syncdb' command

2007-10-15 Thread ydjango
my mysql is running under /opt/lammp. when I run 'python manage.py syncdb' i get error _mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/ mysql.sock' (111)") Is there anyway I can specify it to u

Re: Error from python manage.py syncdb

2007-07-16 Thread theju
Your postgresql database is not running. So $ su postgres then go to the postgres user's home directory and then $ postgres -D data/ The database server starts running...then try your syncdb...it'll work. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You recei

Re: Error from python manage.py syncdb

2007-07-16 Thread John Dey
Russ, Thanks for your response. I changed the django port from 5433 (Linux Journal--July 2007) to 5432 and the tables were created. Thanks again. John On Jul 16, 2007, at 9:39 AM, Russell Keith-Magee wrote: > > On 7/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> Is the ser

Re: Error from python manage.py syncdb

2007-07-16 Thread Russell Keith-Magee
On 7/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Is the server running locally and accepting > connections on Unix domain socket "/tmp/.s.PGSQL.5433"? This is a Postgres error, telling you that the psycopg can't connect to the Postgres DB. You need to play around with

Error from python manage.py syncdb

2007-07-16 Thread jsdey
Can't set tables using 'python manage.py syncdb'. -- Version .96 of django; server started on 8080; can see django page from browser. Created postgresql database 'aft' for user 'robo7' now password; set settings.py error from syncdb option: [EMAIL PROTECTE

Re: python manage.py syncdb fails with assertion error

2006-08-31 Thread billybob
python 2.3.1 (mod_python 3.2.10) Django 0.95 Apache 2.2.3 mysql 4.0.20 bad RAM is possible, but this is the only funny thing happening on the box. Is it possibly a MySQL issue? thanks for any help or suggestions. --~--~-~--~~~---~--~~ You received this message

Re: python manage.py syncdb fails with assertion error

2006-08-31 Thread Jeremy Dunck
On 8/31/06, billybob <[EMAIL PROTECTED]> wrote: > this is my first shot at using Django. i've been using php/mysql on my ... > Adding permission 'site | Can add site' > Adding permission 'site | Can change site' > Adding permission 'site | Can delete site' > python: Objects/object.c:1397: PyObjec

python manage.py syncdb fails with assertion error

2006-08-30 Thread billybob
this is my first shot at using Django. i've been using php/mysql on my site for a while, but really like python and would like to move to it. i thought i had everything setup correctly but while following through the tutorial on the djangoproject.com site when i enter: python manage.py s