RE: "No such table" error, with different tablename as in query

2018-10-08 Thread Michel Lavoie
I have (tried running migrations), although I didn't change my models and I'm not sure if I did it after or before the problem started. You're probably right though, if the current database has issues but not the new one, the old one might have somehow been corrupted... It's probably a good

RE: "No such table" error, with different tablename as in query

2018-10-08 Thread Matthew Pava
: "No such table" error, with different tablename as in query Hi, @Matthew: I've just tried with a blank database, and everything appeared to work perfectly. I couldn't reproduce the bug I'm seeing now. The database structure looks identical though; in both cases the table name is "fina

Re: "No such table" error, with different tablename as in query

2018-10-08 Thread Michel Lavoie
Hi, *@Matthew: *I've just tried with a blank database, and everything appeared to work perfectly. I couldn't reproduce the bug I'm seeing now. The database structure looks identical though; in both cases the table name is "finance_transaction", not "main.finance_transactions". *@Michal: *I'm

Re: "No such table" error, with different tablename as in query

2018-10-08 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Oct 08, 2018 at 10:29:30AM -0400, Michel Lavoie wrote: > Hi Matthew, > > Thank you for the suggestion, but as I mentioned the error is not limited > to my views.py; it's also present in the auto generated admin page. > Basically in the

RE: "No such table" error, with different tablename as in query

2018-10-08 Thread Matthew Pava
[mailto:django-users@googlegroups.com] On Behalf Of Michel Lavoie Sent: Monday, October 8, 2018 9:30 AM To: django-users@googlegroups.com Subject: Re: "No such table" error, with different tablename as in query Hi Matthew, Thank you for the suggestion, but as I mentioned the error is not lim

Re: "No such table" error, with different tablename as in query

2018-10-08 Thread Michel Lavoie
Hi Matthew, Thank you for the suggestion, but as I mentioned the error is not limited to my views.py; it's also present in the auto generated admin page. Basically in the example I gave, I call the delete() method from my transaction object, by id. There's also the "main."prefix in the error

RE: "No such table" error, with different tablename as in query

2018-10-08 Thread Matthew Pava
Hi Michel, The error states that there is no such table finance_transactions with an s on the end. Maybe you could show us your view code, but that would be the place that I would start at. From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Michel Lavoie

Re: No such table error when using threads

2015-12-31 Thread Elad Silberring
Thank YOU!!! On Thursday, November 5, 2009 at 10:58:55 AM UTC+2, BlueBird wrote: > > > Ok, I found a way around the problem, in case anyone ever has the same > problem. If you specify TEST_DATABASE_NAME in your settings, it will > force sqllite to use a file database instead of in-memory

Re: "No such table" error.

2014-03-02 Thread Camilo Torres
On Saturday, March 1, 2014 3:29:01 PM UTC-4:30, Omar Acevedo wrote: > > Hello, I'm having an issue in/with Django, which is on a shared hosting, > and I'm using virtualenv and fastcgi. (<- saying this, just in case it > helps in something) > > I'm getting > "OperationalError at /admin/ > no

Re: No such table error when using threads

2009-10-27 Thread BlueBird
On 24 oct, 21:52, BlueBird wrote: > Hi, > > I've got a strange behavior. My application is split between a web > frontend and a backend which use the DB to exchange tasks and results. > > The problem is with the backend. It's just a regular program, > accessing the DB to

Re: no such table ERROR

2009-09-15 Thread AIM
O.K. Thanks. I will try that. On Sep 14, 11:36 am, Bill Freeman wrote: > Make DATABASE_NAME an absolute path. > > > > On Mon, Sep 14, 2009 at 12:11 AM, AIM wrote: > > > HI, > > > When I browse to > >http://127.0.0.1:8000/mysite/Start/ > > > I get

Re: no such table ERROR

2009-09-14 Thread Bill Freeman
Make DATABASE_NAME an absolute path. On Mon, Sep 14, 2009 at 12:11 AM, AIM wrote: > > HI, > > When I browse to > http://127.0.0.1:8000/mysite/Start/ > > I get the following error: > > OperationalError at /mysite/Start/ > > no such table: wiki_page > > Request Method:    

Re: no such table ERROR

2009-09-13 Thread Karen Tracey
On Mon, Sep 14, 2009 at 12:11 AM, AIM wrote: > > HI, > > When I browse to > http://127.0.0.1:8000/mysite/Start/ > > I get the following error: > > OperationalError at /mysite/Start/ > > no such table: wiki_page > > Request Method: GET > Request URL:

Re: No such Table Error

2009-07-29 Thread marcoshernandez
mmm!... That's interesting The dbshell says: "Error: You appear not to have the 'sqlite3' program installed or on your path." Like i said, with the runserver everything is fine... that's weird I added the sqlite3 app dir to the path env-var in the OS but the same error raises in "manage.py

Re: No such Table Error

2009-07-29 Thread Daniel Roseman
On Jul 29, 3:54 am, marcoshernandez wrote: > Im having this error in my application (both admin models and my app > models) I'm almost certain that has to be something with Apache- > mod_wsgi not finding the files... but I just can't find the origin of > the error... >

Re: No such Table Error

2009-07-28 Thread marcoshernandez
Yup. Everything's fine with the django development server, the error raises in Apache (Sorry about the double reply but i thought it'll be better if the community keeps track of the information, in sake of the shared knowledge ;) ) On Jul 28, 10:56 pm, Luke Seelenbinder

Re: No such Table Error

2009-07-28 Thread Luke Seelenbinder
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did you run manage.py syncdb in your project folder? And are the apps in your settings.py? Luke Seelenbinder marcoshernandez wrote: > Im having this error in my application (both admin models and my app > models) I'm almost certain that has to be