Re: OperationalError at /admin/login database or disk is full

2022-05-28 Thread Paul Kudla (SCOM.CA Internet Services Inc.)
ruser. But when I try to access the Admin page of my project with my superuser credentials, I receive this error: OperationalError at /admin/login/ database or disk is full Is this because my SQLite database is full from other projects? Or possibly because I have too many virtual envs from thos

Re: OperationalError at /admin/login database or disk is full

2022-05-27 Thread Clive Bruton
On 27 May 2022, at 22:37, Andrew Rea wrote: OperationalError at /admin/login/ database or disk is full Is this because my SQLite database is full from other projects? Or possibly because I have too many virtual envs from those same other projects? Or is it due to my personal computer&#

OperationalError at /admin/login database or disk is full

2022-05-27 Thread Andrew Rea
Hello! This is my first post in this group so be gentle. I'm creating a new Django project, and I've successfully created a superuser. But when I try to access the Admin page of my project with my superuser credentials, I receive this error: OperationalError at /admin/login/ d

Re: OperationalError: foreign key mismatch

2021-07-28 Thread Wai Yeung
gt;> to not have the "_id" suffix: >> >> filename_number = >> models.ForeignKey(FilenameTbl,db_column='filename_number', >> to_field='rowid',null=True,blank=True,on_delete=models.SET_NULL) >> >> This is what eventually worked for me: >> >

Re: OperationalError: foreign key mismatch

2021-07-27 Thread DJANGO DEVELOPER
;filename_number', > to_field='rowid',null=True,blank=True,on_delete=models.SET_NULL) > > This is what eventually worked for me: > > https://stackoverflow.com/questions/68537031/how-do-i-resolve-the-following-error-in-django-operationalerror-foreign-key-m > > Che

Re: OperationalError: foreign key mismatch

2021-07-27 Thread Wai Yeung
what eventually worked for me: https://stackoverflow.com/questions/68537031/how-do-i-resolve-the-following-error-in-django-operationalerror-foreign-key-m Cheers, Wai On Mon, Jul 26, 2021 at 9:32 PM DJANGO DEVELOPER wrote: > can you please change your object from this: > filename_id = mod

Re: OperationalError: foreign key mismatch

2021-07-26 Thread DJANGO DEVELOPER
can you please change your object from this: filename_id = models.ForeignKey(FilenameTbl,db_column='filename_id', to_field='rowid',null=True,blank=True,on_delete=models.SET_NULL) to : filename_id = models.ForeignKey(FilenameTbl,db_column='filename', to_field='rowid',null=True,blank=True,on_delete=

OperationalError: foreign key mismatch

2021-07-26 Thread Wai Yeung
Hello, I'm getting the following error whenever I attempt to save to the table in a SQLite database: foreign key mismatch - "procedure_tbl" referencing "filename_tbl" In models.py, these are the tables that the error is refering to: class FilenameTbl(models.Model): rowid = models.AutoField

Re: OperationalError at /admin/products/product/add/

2021-05-24 Thread Kasper Laudrup
Learn how to ask a question. This could be a good start: https://betterprogramming.pub/how-to-ask-questions-about-programming-dcd948fcd2bd Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this g

OperationalError at /admin/products/product/add/

2021-05-24 Thread Harsh Saini
rydjango\trydjango\lib\site-packages\django\db\utils.py" in __exit__ 89. raise dj_exc_value.with_traceback(traceback) from exc_value File "C:\Dev\trydjango\trydjango\lib\site-packages\django\db\backends\utils.py" in _execute 85. return self.cursor.execute(sql, params) File "C:\

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-03 Thread ramadhan ngallen
> > > > > > .When I try to log in to the administration interface, the error > > > > > > > below appears.I've been looking for solutions on the internet for > > > > > > > hours and hours but I didn't find anything which can help me to > > > > > >

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-03 Thread Amina Anna Mahamane.O
e ones . I am a beginner .When I >>>> try to log in to the administration interface, the error below >>>> appears.I've been looking for solutions on the internet for hours and >>>> hours but I didn't find anything which can help me to solve my problem

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-03 Thread Jorge Gimeno
he error below appears.I've >> been looking for solutions on the internet for hours and hours but I didn't >> find anything which can help me to solve my problem. I have no idea what >> could have caused this error.I really need help, it's urgent. I wish >> some

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-03 Thread Amina Anna Mahamane.O
>> been looking for solutions on the internet for hours and hours but I didn't >> find anything which can help me to solve my problem. I have no idea what >> could have caused this error.I really need help, it's urgent. I wish someone >> can answer to me in frenc

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-02 Thread Jorge Gimeno
gent. I wish > someone can answer to me in french but if it is not possible, help me > anyway, I will manage. > > OperationalError at /admin/login/ > > attempt to write a readonly database > > Request Method: POST > Request URL: http://www.djangoproject.localhost/adm

OperationalError at /admin/login/attempt to write a readonly database

2020-05-02 Thread Amina Anna Mahamane.O
, I will manage. OperationalError at /admin/login/ attempt to write a readonly database Request Method: POST Request URL: http://www.djangoproject.localhost/admin/login/?next=/admin/ Django Version: 3.0.5 Exception Type: OperationalError Exception Value: attempt to write a readonly data

Upgrade django-synchro for django 2.2 : OperationalError - no such table: django_content_type"

2019-07-06 Thread Loys Masquelier
Hello, From : https://stackoverflow.com/questions/56875632/upgrade-django-synchro-for-django-2-2-operationalerror-no-such-table-django I am trying to upgrade django-synchro to django 2.2. I have already upgraded the project to django 2.1 but I have now a problem with ContentType object

Re: Upgrading from 1.11 to 2.0: "sqlite3.OperationalError: no such table"

2018-05-08 Thread Informatico Neurodesarrollo
Check 1.11 to 2.0 upgrade. You already checked the project configuration and make migrations ?, it could be changed with the upgrade!!! I will hope help you. PD I'm a beginner in Django. El 06/05/18 a las 23:38, Michael Gauland escribió: Just in case anyone else runs into this, I fixed it by s

Re: Upgrading from 1.11 to 2.0: "sqlite3.OperationalError: no such table"

2018-05-06 Thread Michael Gauland
Just in case anyone else runs into this, I fixed it by specifying db_contraint=False for foreign keys which cross databases. -- 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

Upgrading from 1.11 to 2.0: "sqlite3.OperationalError: no such table"

2018-05-03 Thread Michael Gauland
script that creates an NZ_Standard_Curve, and tries to save it: location = Location.objects.get(location='Christchurch') curve = NZ_Standard_Curve(location=location, soil_class='C', period=1.5)

Re: OperationalError

2018-05-03 Thread Gerald Brown
Thanks for the reply.  Will check it out.  Just printed the documentation. On Friday, 04 May, 2018 03:08 AM, 'Anthony Flury' via Django users wrote: Django 2.0 docs suggest using reportlab : https://docs.djangoproject.com/en/2.0/howto/outputting-pdf/ I had some success with : pupeteer - http

Re: OperationalError

2018-05-03 Thread 'Anthony Flury' via Django users
Django 2.0 docs suggest using reportlab : https://docs.djangoproject.com/en/2.0/howto/outputting-pdf/ I had some success with : pupeteer - http://django-puppeteer-pdf.readthedocs.io/en/latest/ - which works by having a CBV type framework - so you subclass a PDF template view - and that will a

RE: OperationalError

2018-05-03 Thread Matthew Pava
: OperationalError FINALLY. SUCCESS!!! What I ended up doing to correct the problem was to drop the whole database (NO RECORDS YET). When I tried to run migrations it said there were no changes. I then had to run makemigrations and migrate so I am now back in business!!! Now does anyone know of an

Re: OperationalError

2018-05-03 Thread Gerald Brown
FINALLY. SUCCESS!!! What I ended up doing to correct the problem was to drop the whole database (NO RECORDS YET). When I tried to run migrations it said there were no changes. I then had to run makemigrations and migrate so I am now back in business!!! Now does anyone know of an *easy* way

Re: OperationalError

2018-05-03 Thread Gerald Brown
I finally discovered what I think is the cause of my problem. *DJANGO MIGRATIONS ARE NOT WORKING.*On the system that has the problem is where I made migration to change some of the field names.  The fields that were not found where the ones that did get changed but the old unchanged names were

Re: OperationalError

2018-05-02 Thread Gerald Brown
sers@googlegroups.com [mailto:django-users@googlegroups.com] *On Behalf Of *Gerald Brown *Sent:* Wednesday, May 2, 2018 4:08 AM *To:* Anthony Flury; django-users@googlegroups.com *Subject:* Re: OperationalError Thanks for the reply. I have done the makemigrations/migrate numerous times.  Each time

RE: OperationalError

2018-05-02 Thread Matthew Pava
important to you. From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Gerald Brown Sent: Wednesday, May 2, 2018 4:08 AM To: Anthony Flury; django-users@googlegroups.com Subject: Re: OperationalError Thanks for the reply. I have done the makemigrations/migrat

Re: OperationalError

2018-05-02 Thread Gerald Brown
Thanks for the reply. I have done the makemigrations/migrate numerous times.  Each time it says there is an error in the previous migration file so I have to comment out most of the file.  I then just deleted all of the self generated migration files and started fresh. I was also getting som

Re: OperationalError

2018-05-02 Thread 'Anthony Flury' via Django users
At first glance it looks like you haven't applied a migration to this computer. at the command line on this computer  - in the man project directory : If you have not copied the migration scripts from your development machine do this first : $ python manage.py makemigrations and then do

OperationalError

2018-05-01 Thread Gerald Brown
I have a Django application that I am having problems with. In the Admin page I have 3 sections, ABC, DEF & XYZ. Each has 1 option to "Add/Change". In 2 of them when I click on the option it works fine. The third gives me the following error " *1054, "Unknown column 'xyz_xyz.first_name' in

Re: OperationalError at /checkout/ table orders_order has no column named order_id

2016-08-07 Thread M Hashmi
generic\base.py" > > in dispatch > 89. return handler(request, *args, **kwargs) > File "C:\Users\Mudassar\dressikarepo\src\carts\views.py" in get > 188. get_data = super(CheckoutView, self).get(request, *args, > **kwargs) > File > "C:

OperationalError at /checkout/ table orders_order has no column named order_id

2016-08-07 Thread M Hashmi
y" in _save_table 846. result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File "C:\Users\Mudassar\dressikarepo\lib\site-packages\django\db\models\base.py" in _do_insert 885.using=using, raw=raw) File "C:\Users\Mudassar\dre

sqlite3 “OperationalError: no such table” on threaded operation

2016-01-08 Thread Jim Bell
py2.7.egg\django\db\backends\sq lite3\base.py", line 323, in execute return Database.Cursor.execute(self, query, params) *OperationalError: no such table*: thrtest_mymodel What's the problem? How do I go about tracking down exactly what's happening? The point of failure

Testcase raise "OperationalError: no such table" when there are some SystemCheckError

2015-09-22 Thread 朱涧江
class TicketReview(models.Model): user = models.ForeignKey(User, null=True) admin_user = models.ForeignKey( User, #related_name="admin_user",#here is SystemCheckError null=True) Maybe there can be some friendly error raise,rather than raise ` OperationalErro

Re: Django Server Deployment - OperationalError on shared hosting ASO

2015-04-22 Thread David F
Got it to work-- changed permissions of my shared part of the server using the bash: chmod 755 . thanks james for thinking through this with me On Sunday, April 19, 2015 at 5:49:41 PM UTC-7, David F wrote: > > oh and yes-- I SSH into my part of the server that's how I'm able to do > all this :

Re: Django Server Deployment - OperationalError on shared hosting ASO

2015-04-19 Thread David F
oh and yes-- I SSH into my part of the server that's how I'm able to do all this :X the database file is in the project folder just... it's coming up with that message when I try to open it in shell -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re: Django Server Deployment - OperationalError on shared hosting ASO

2015-04-19 Thread David F
sqlite> .read db.sqlite3 Error: incomplete SQL: SQLite format 3pp_label", "model")) �ite_autoindex_django_content_type_1django_content_type P ++ Ytablesqlite_sequencesqlite_sequence CREATE TABLE sqlite_sequence(name,seq)�Y // �atabledjango_migrationsdjango_migrations CREATE TABLE "django_

Re: Django Server Deployment - OperationalError on shared hosting ASO

2015-04-19 Thread James Schneider
No need to switch databases. Do you have any shell access to the server? Can you manually inspect the database to see if the table actually exists (outside of any Django commands)? I'm not sure what ASO offers. -James On Apr 19, 2015 9:19 AM, "David F" wrote: > Or I'm using sqlite should I swit

Re: Django Server Deployment - OperationalError on shared hosting ASO

2015-04-19 Thread David F
Or I'm using sqlite should I switch to mysql? -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, s

Re: Django Server Deployment - OperationalError on shared hosting ASO

2015-04-19 Thread David F
Hey James Sorry I forgot to mention that I did run first ./manage.py syncdb to create a superuser for the database and the admin, and have run makemigrations and migrate several times throughout editing my models, still to no avail. I did it again after seeing your post just to be sure :p same

Re: Django Server Deployment - OperationalError on shared hosting ASO

2015-04-18 Thread James Schneider
'ENGINE': 'django.db.backends.sqlite3', > 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), > } > } > > # Internationalization > # https://docs.djangoproject.com/en/1.7/topics/i18n/ > > LANGUAGE_CODE = 'en-us' > &g

Django Server Deployment - OperationalError on shared hosting ASO

2015-04-18 Thread David F
on # https://docs.djangoproject.com/en/1.7/topics/i18n/ LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_L10N = True USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.7/howto/static-files/ STATIC_ROOT = 'st

Re: Django OperationalError

2015-03-15 Thread Petar Pilipovic
kages/django/template/base.py" > in _render > >>>>>>> 142. return self.nodelist.render(context) > >>>>>>> File > "/home/copser/.virtualenvs/django17/local/lib/python2.7/site-packages/django/template/base.py" > in render > >&

Re: Django OperationalError

2015-03-12 Thread luis zarate
ckages/django/template/base.py" in render >>>>>>> 844. bit = self.render_node(node, context) >>>>>>> File "/home/copser/.virtualenvs/django17/local/lib/python2.7/site-packages/django/template/debug.py" in render_node &

Re: Django OperationalError

2015-03-12 Thread Collin Anderson
python2.7/site >>>>>> -packages/django/template/debug.py" in render_node >>>>>> 80. return node.render(context) >>>>>> File "/home/copser/.virtualenvs/django17/local/lib/python2.7/site >>>>>> -packages/dja

Re: Django OperationalError

2015-03-12 Thread Petar Pilipovic
._resolve_lookup(context) >>>> File "/home/copser/.virtualenvs/django17/local/lib/python2.7/site >>>> -packages/django/template/base.py" in _resolve_lookup >>>> 764. current = current[bit] >>>> File "/home/copser/.virtualenvs/djan

Re: Django OperationalError

2015-03-10 Thread Petar Pilipovic
t;> -packages/django/template/defaulttags.py" in render >>>>> 305. match = condition.eval(context) >>>>> File "/home/copser/.virtualenvs/django17/local/lib/python2.7/site >>>>> -packages/django/template/defaulttags.py"

Re: Django OperationalError

2015-03-10 Thread Collin Anderson
self._wrapped = self._setupfunc() >>> File "/home/copser/.virtualenvs/django17/local/lib/python2.7/ >>> site-packages/django/contrib/auth/middleware.py" in >>> 22. request.user = SimpleLazyObject(lambda: get_user(request)) >>> File "/home/co

Re: Django OperationalError

2015-03-06 Thread Petar Pilipovic
on2.7/ >> site-packages/django/contrib/sessions/backends/base.py" in _get_session >> 175. self._session_cache = self.load() >> File "/home/copser/.virtualenvs/django17/local/lib/python2.7/ >> site-packages/django/contrib/sessions/backends/db.py"

Re: Django OperationalError

2015-03-06 Thread Collin Anderson
ger.py" > > in manager_method > 92. return getattr(self.get_queryset(), name)(*args, > **kwargs) > File > "/home/copser/.virtualenvs/django17/local/lib/python2.7/site-packages/django/db/models/query.py" > > in get > 351. num

Re: Django OperationalError

2015-03-02 Thread Petar Pilipovic
.virtualenvs/django17/local/lib/python2.7/site-packages/django/db/backends/utils.py" in execute 81. return super(CursorDebugWrapper, self).execute(sql, params) File "/home/copser/.virtualenvs/django17/local/lib/python2.7/site-packages/django/db/backends/utils.py"

Re: Django OperationalError

2015-02-27 Thread Petar Pilipovic
Hello James, will do but I am not at mine lap top atm, gona do it as soon as posible, tank you very much. On Saturday, February 28, 2015, James Schneider wrote: > Generally this happens when you don't apply the initial migration. Have you run 'python manage.py migrate' (assuming Django >= 1.7 sin

Re: Django OperationalError

2015-02-27 Thread James Schneider
s, collecting > static, making migrations to mine django application, I have experienced an > OperationError saying: > no such table: django_session > > You can find the rest of mine question here on stackoverflow > <http://stackoverflow.com/questions/28778126/django-operat

Django OperationalError

2015-02-27 Thread Petar Pilipovic
rest of mine question here on stackoverflow <http://stackoverflow.com/questions/28778126/django-operationalerror>, Can someone help me over come this error, tank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsub

Re: OperationalError: ORA-03114: not connected to ORACLE.

2015-02-25 Thread Andreas Kuhne
> >>>>>> Sorry I don't know what to do to help you more. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Andréas >>>>>> >>>>>> 2015-02-24 12:49 GMT+01:00 : >>>>

Re: OperationalError: ORA-03114: not connected to ORACLE.

2015-02-25 Thread alexandrosstylianou88
;> >>>>>> Hi Andreas, >>>>>> >>>>>> I can connect using "python manage.py dbshell" it connects without >>>>>> any error. >>>>>> >>>>>> Is there a difference, if i am not mistaken

Re: OperationalError: ORA-03114: not connected to ORACLE.

2015-02-24 Thread Andreas Kuhne
rence, if i am not mistaken the dbshell test shows >>>>> that the configuration of the DB is correct and that i can connect from >>>>> the >>>>> machine, correct ?? From the stack trace it seems that the real issue is >>>>> not

Re: OperationalError: ORA-03114: not connected to ORACLE.

2015-02-24 Thread alexandrosstylianou88
;>>> >>>> Regards, >>>> Alex >>>> >>>> On Friday, February 20, 2015 at 7:12:05 PM UTC+2, Andréas Kühne wrote: >>>>> >>>>> >>>>> 2015-02-20 17:18 GMT+01:00 : >>>>> >>>>>>

Re: OperationalError: ORA-03114: not connected to ORACLE.

2015-02-24 Thread Andreas Kuhne
15-02-20 17:18 GMT+01:00 : >>>> >>>>> Hi, >>>>> >>>>> I migrated my project to a new infrastructure but i kept the same >>>>> versions Apache 2.2 + mod_wsgi + python 2.6.1 + Django 1.2.1 >>>>> >>>>&g

Re: OperationalError: ORA-03114: not connected to ORACLE.

2015-02-24 Thread alexandrosstylianou88
-02-20 17:18 GMT+01:00 : >>> >>>> Hi, >>>> >>>> I migrated my project to a new infrastructure but i kept the same >>>> versions Apache 2.2 + mod_wsgi + python 2.6.1 + Django 1.2.1 >>>> >>>> I am trying to run my project and i

Re: OperationalError: ORA-03114: not connected to ORACLE.

2015-02-24 Thread Andreas Kuhne
d my project to a new infrastructure but i kept the same >>> versions Apache 2.2 + mod_wsgi + python 2.6.1 + Django 1.2.1 >>> >>> I am trying to run my project and i am getting the below exception that >>> seems to be from Django and i need help pin pointing the e

Re: OperationalError: ORA-03114: not connected to ORACLE.

2015-02-24 Thread alexandrosstylianou88
>> because i think that the actual exception is never caught and returned to >> the log and all i am getting is the OperationalError: ORA-03114: not >> connected to ORACLE. I checked the Oracle DB and i can connect to it. >> >> [Fri Feb 20 17:40:51 2015] [error] [

Re: OperationalError: ORA-03114: not connected to ORACLE.

2015-02-20 Thread Andreas Kuhne
o and i need help pin pointing the exact cause, > because i think that the actual exception is never caught and returned to > the log and all i am getting is the OperationalError: ORA-03114: not > connected to ORACLE. I checked the Oracle DB and i can connect to it. > > [Fri Feb 20 17:40:

OperationalError: ORA-03114: not connected to ORACLE

2015-02-20 Thread alexandrosstylianou88
onnection.close() [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx] OperationalError: ORA-03114: not connected to ORACLE [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx] [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx] Request Failed for : /wgtproxy/admin/, Resp Code : [500

OperationalError: ORA-03114: not connected to ORACLE.

2015-02-20 Thread alexandrosstylianou88
that the actual exception is never caught and returned to the log and all i am getting is the OperationalError: ORA-03114: not connected to ORACLE. I checked the Oracle DB and i can connect to it. [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx] mod_wsgi (pid=27565): Exception occurred

Re: OperationalError happening after giving authorization to the class based view

2014-06-08 Thread yutaka kobayashi
exact code on this page (this page was written for > django1.5 so actually I amended a few things to match for django1.6) > > It goes perfectly well untill making login page and giving authentication > to the user. > But when it comes to giving authorization like below it gives

Re: OperationalError happening after giving authorization to the class based view

2014-06-06 Thread carlos
ListView): > > model = Contact > template_name = 'contact_list.html' > > def get_queryset(self): > > return Contact.objects.filter(owner=self.request.user) > > the error message is like this > > OperationalError at /addressbook/ >

Re: PostgreSQL OperationalError

2013-10-18 Thread Muhammed TÜFEKYAPAN
etimes raise error > like this; > > OperationalError at / > > fe_sendauth: no password supplied > > > > Full error looks like this; > > OperationalError at / > > fe_sendauth: no password supplied > > Request Method: GET Request URL: http://www.domain.

Re: PostgreSQL OperationalError

2013-10-18 Thread Xavier Ordoquy
KYAPAN a écrit : > >> Hello, >> >> >> I just start to publish my app on web. Everything going well but I face a >> new problem, before I never face. Site working but sometimes raise error >> like this; >> >> OperationalError at / >>

Re: PostgreSQL OperationalError

2013-10-18 Thread Muhammed TÜFEKYAPAN
gin/password didn't > match. > > Regards, > Xavier, > Linovia. > > Le 18 oct. 2013 à 10:28, Muhammed TÜFEKYAPAN a > écrit : > > Hello, > > > I just start to publish my app on web. Everything going well but I face a > new problem, before I never face. S

Re: PostgreSQL OperationalError

2013-10-18 Thread Xavier Ordoquy
going well but I face a new > problem, before I never face. Site working but sometimes raise error like > this; > > OperationalError at / > > fe_sendauth: no password supplied > > > > Full error looks like this; > > OperationalError at / > &g

PostgreSQL OperationalError

2013-10-18 Thread Muhammed TÜFEKYAPAN
Hello, I just start to publish my app on web. Everything going well but I face a new problem, before I never face. Site working but sometimes raise error like this; OperationalError at / fe_sendauth: no password supplied Full error looks like this; OperationalError at / fe_sendauth

Re: Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-18 Thread Paul Childs
f the packet, which I am told is only 1MB by default for windows. On Tuesday, September 10, 2013 11:01:42 AM UTC-3, Paul Childs wrote: > > Environment: Django 1.4, MySQL 5.5.33 > > In one of my views I am consistently getting a MySQL > error: OperationalError: (2006, 'M

Re: Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-10 Thread Sanjay Bhangar
gt; On Tuesday, September 10, 2013 11:01:42 AM UTC-3, Paul Childs wrote: >> >> Environment: Django 1.4, MySQL 5.5.33 >> >> In one of my views I am consistently getting a MySQL >> error: OperationalError: (2006, 'MySQL server has gone away') >> >> Tr

Re: Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-10 Thread Paul Childs
I ran my test suite and the error didn't crop up there. All tests that run my views passed. -- 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 django-users+unsubscr

Re: Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-10 Thread Paul Childs
Hey Sanjay, Thanks for the reply. I will probably pick at this problem every so often but I am not hopeful about finding a solution as the problem seems to be down deep in Django. I'm afraid that I will probably be out of my league on this one. I have been wanting to upgrade my Djano version for

Re: Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-10 Thread Paul Childs
ntly getting a MySQL > error: OperationalError: (2006, 'MySQL server has gone away') > > Traceback (most recent call last): > File "C:\Python26\Lib\wsgiref\handlers.py", line 93, in run > self.result = application(self.environ, self.start_response) > Fi

Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-10 Thread Paul Childs
Environment: Django 1.4, MySQL 5.5.33 In one of my views I am consistently getting a MySQL error: OperationalError: (2006, 'MySQL server has gone away') Traceback (most recent call last): File "C:\Python26\Lib\wsgiref\handlers.py", line 93, in run self.result = appl

Re: OperationalError: unable to open database file

2013-08-30 Thread Dan Gentry
When using sqlite3, one has to provide a full path to the database file. For my projects I use something like this on my development machines (for a database file named 'db'): import os PROJECT_DIR = os.path.dirname(__file__) DATABASES = { 'default': { 'ENGINE': 'django.db.backen

Re: OperationalError: unable to open database file

2013-08-30 Thread jumpmanlane
make sure you don't have another instance of django running already. -J On Monday, July 22, 2013 1:48:43 PM UTC-4, Stian Sjøli wrote: > > i get this error while going throught the tutorial from the django > website. I am a mac user, and have modified my settings-file to use sqlite3 > and the na

OperationalError: unable to open database file

2013-07-22 Thread Stian Sjøli
i get this error while going throught the tutorial from the django website. I am a mac user, and have modified my settings-file to use sqlite3 and the name variable to say "./mysite". Any suggestions why I get this error? -- You received this message because you are subscribed to the Google Gro

Re: OperationalError: (1040, 'Too many connections')

2013-05-19 Thread frocco
Thank you, I finally got this working by doing one app at a time. Then I had to deal with sequence errors. I tried and reset them all, now I am hoping I will have no issues when users start using my website on Monday. On Sunday, May 19, 2013 2:55:47 AM UTC-4, Artem Zinoviev wrote: > > > http://

Re: OperationalError: (1040, 'Too many connections')

2013-05-18 Thread Artem Zinoviev
http://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL суббота, 18 мая 2013 г., 20:00:15 UTC+3 пользователь frocco написал: > > I have been looking for an easy way to convert, but nothing works for me. > I tried dumpdata, loaddata, but get duplicate key, when I look at the

Re: OperationalError: (1040, 'Too many connections')

2013-05-18 Thread frocco
I have been looking for an easy way to convert, but nothing works for me. I tried dumpdata, loaddata, but get duplicate key, when I look at the file, I see no duplicates. I am open to suggestions on converting. Thanks On Saturday, May 18, 2013 12:51:28 PM UTC-4, Artem Zinoviev wrote: > > use po

Re: OperationalError: (1040, 'Too many connections')

2013-05-18 Thread Artem Zinoviev
use postgreSQL пятница, 17 мая 2013 г., 21:24:10 UTC+3 пользователь frocco написал: > > Hello, > > How can I resolve this in django 1.5? > > webfaction allows max 90 connections. > > Thanks > -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

OperationalError: (1040, 'Too many connections')

2013-05-17 Thread frocco
Hello, How can I resolve this in django 1.5? webfaction allows max 90 connections. Thanks -- 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 django-users+unsubsc

Re: OperationalError: (2003, "Can't connect to MySQL server on 'localhost' (10061)")

2013-04-28 Thread Arturo Paul Castro Calvo
ot;C:\Python27\lib\site-packages\django\db\backends\__init__.py", > line 306, > in cursor > cursor = self.make_debug_cursor(self._cursor()) > File "C:\Python27\lib\site-packages\django\db\backends\mysql\base.py", > line 38 > 7, in _cursor > self.connec

Re: OperationalError: (2003, "Can't connect to MySQL server on 'localhost' (10061)")

2013-01-08 Thread Javier Guerra Giraldez
On Tue, Jan 8, 2013 at 4:04 AM, Diederik van der Boor wrote: > When you ask the mysql driver to connect to localhost, it will use the > socket. > To avoid this issue, better use 127.0.0.1. which issue? what's wrong with using socket? -- Javier -- You received this message because you are sub

Re: OperationalError: (2003, "Can't connect to MySQL server on 'localhost' (10061)")

2013-01-08 Thread Diederik van der Boor
The hostname "localhost" has a special meaning for MySQL, at least on Linux it has. When you ask the mysql driver to connect to localhost, it will use the socket. To avoid this issue, better use 127.0.0.1. Also check whether the MySQL server is running on that port (netstat -a ?), whether the ser

Re: OperationalError: (2003, "Can't connect to MySQL server on 'localhost' (10061)")

2013-01-06 Thread Александр Соколов
Hi! Recently I had the same problem and this site has helped me: http://stackoverflow.com/questions/11121819/mysqldb-in-python-cant-connect-to-mysql-server-on-localhost I've set the next properties: 'ENGINE': 'django.db.backends.mysql', 'NAME': 'yourdbname', 'US

OperationalError: (2003, "Can't connect to MySQL server on 'localhost' (10061)")

2013-01-06 Thread ANKIT BAGARIA
) File "C:\Python27\lib\site-packages\MySQLdb\__init__.py", line 81, in Connect return Connection(*args, **kwargs) File "C:\Python27\lib\site-packages\MySQLdb\connections.py", line 187, in __in it__ super(Connection, self).__init__(*args, **kwargs2) OperationalError: (20

Re: psycopg2.OperationalError: fe_sendauth: no password supplied

2013-01-01 Thread Bill Freeman
jangotrunk/django/core/**management/ >> commands/syncdb.py", line 48, in handle_noargs >> cursor = connection.cursor() >> File "/users/home/system/lib/**djangotrunk/django/db/**backends/ >> __init__.py", line 62, in cursor >> cursor = self._cursor(s

Re: psycopg2.OperationalError: fe_sendauth: no password supplied

2013-01-01 Thread hu mingchun
lib/djangotrunk/django/db/backends/ > __init__.py", line 62, in cursor > cursor = self._cursor(settings) > File "/users/home/system/lib/djangotrunk/django/db/backends/ > postgresql_psycopg2/base.py", line 84, in _cursor > self.connection = Database.connect(c

Error:psycopg2.OperationalError: FATAL: Peer authentication failed for user "test"

2012-07-21 Thread Juraj Malenica
sr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 177, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_

Re: OperationalError: no connection to the server using Django and gunicorn

2011-07-08 Thread Adrian Ribao
I still have the same problem using gevent with gunicorn, but it works with synchronous workers. Did you find a solution? 2011/7/1 Андрей Махнач > I'm getting this error randomly > and it throws 500error to nginx (I'm using nginx+gunicorn) > > and it appears really randomly ;) > > On Jul 1, 10:

Re: OperationalError: no connection to the server using Django and gunicorn

2011-07-01 Thread Андрей Махнач
I'm getting this error randomly and it throws 500error to nginx (I'm using nginx+gunicorn) and it appears really randomly ;) On Jul 1, 10:16 am, Adrián Ribao Martínez wrote: > I think that the error comes only when starting the server. > > Reload the page about 10 times and check if you still ge

Re: OperationalError: no connection to the server using Django and gunicorn

2011-07-01 Thread Adrián Ribao Martínez
I think that the error comes only when starting the server. Reload the page about 10 times and check if you still get the error. Regards, Adrián > Hi Adrian, > > Have you solved this weird issue? > > if yes, please tell me how. > > Best regards, > Andrey Makhnach > > On May 27, 12:53 pm, Ad

Re: OperationalError: no connection to the server using Django and gunicorn

2011-06-30 Thread Андрей Махнач
Hi Adrian, Have you solved this weird issue? if yes, please tell me how. Best regards, Andrey Makhnach On May 27, 12:53 pm, Adrián Ribao wrote: > I'm doing it manually because I'm just testing: > > ./manage.py run_gunicorn -c gunicorn.conf.py > > where gunicorn.conf.py > > # -*- coding: utf-8

Intermittent OperationalError on multiple Django servers

2011-06-16 Thread Steven Smith
_init__.py", line 75, in cursor cursor = self._cursor() File "/usr/lib64/python2.6/site-packages/django/db/backends/ postgresql_psycopg2/base.py", line 136, in _cursor self.connection = Database.connect(**conn_params) OperationalError: could not connect to server: Connection r

Re: OperationalError: no connection to the server using Django and gunicorn

2011-05-27 Thread Adrián Ribao
I'm doing it manually because I'm just testing: ./manage.py run_gunicorn -c gunicorn.conf.py where gunicorn.conf.py # -*- coding: utf-8 -*- import multiprocessing bind = "127.0.0.1:8000" workers = multiprocessing.cpu_count() * 2 + 1 worker_class = 'gevent' On 27 mayo, 02:23, Shawn Milochik w

  1   2   >