Re: Unable to open database.

2013-07-25 Thread jk121960
You need path from root of file system so if home is in normal place off root, start with /home, also put db name as the last responder said Gerald Klein DBA contac...@geraldklein.com www.geraldklein.com geraldklein.wordpress.com j...@zognet.com 708-599-0352 Arch/Gentoo Awesome, Ranger & Vim t

Re: Unable to open database.

2013-07-25 Thread Sergiy Khohlov
linux does not need extension Many thanks, Serge +380 636150445 skype: skhohlov On Thu, Jul 25, 2013 at 1:43 PM, Nigel Legg wrote: > So should I put > home/stats_portal/stats_/portal/myproject/myproject/database/sqlite3 ? > (settings.py in second myproject folder) > The database file name is

Re: Unable to open database.

2013-07-25 Thread Nigel Legg
So should I put home/stats_portal/stats_/portal/myproject/myproject/database/sqlite3 ? (settings.py in second myproject folder) The database file name is sqlite3, this worked on Windows with no file extension, does Linux require it? Regards, Nigel Legg 07914 740972 http://www.trevanianlegg.co.uk

Re: Unable to open database.

2013-07-25 Thread abhijeet shete
Hi Nigel You have just given the path of db but you need to mention db name in the DATABASES field of settings file. > > 'NAME': '/myproject/database/sqlite3', > 'NAME': '/myproject/database/sqlite3/example.db', Regards. Software Engineer | mquotient | Mobile +91.9860219

Re: Unable to open database.

2013-07-25 Thread Gerald Klein
It looks fine but that depends on your folder structure but this is showing "myproject" off the root of the file system, is that correct? On Thu, Jul 25, 2013 at 5:12 AM, Nigel Legg wrote: > I have just moved my project from Windows to Linux. I have maintained the > folder structure, but am

Re: Unable to open database file ( Asking graphite and django forum )

2012-04-06 Thread Ejah
Having better read your first posting, the problems lies before this. You are supposed to create a project first through django-admin. This will create a template directory where your own settings.py and manage.py resort. You now seem to be editting the framework templates, and that will not work

Re: Unable to open database file ( Asking graphite and django forum )

2012-04-06 Thread KriRad
Corrected sqllite3. drwxrwxrwx 2 admin admin 4096 2012-04-06 17:56 db I am at my wits' end. RRDTool seems enticing. Thanks. On Apr 6, 2:10 pm, Ejah wrote: > Hi, > Two things spring to mind immediately: > One: You have a double 'l' in ENGINE': 'django.db.backends.sqllite3' > Two: Do you have t

Re: Unable to open database file ( Asking graphite and django forum )

2012-04-06 Thread Ejah
Hi, Two things spring to mind immediately: One: You have a double 'l' in ENGINE': 'django.db.backends.sqllite3' Two: Do you have the proper rights in the 'db' directory to create/ write/read? HTH Ernst On Apr 6, 7:25 am, KriRad wrote: > Hi, > > I have read previous mail in many forums and tried t

Re: Unable to open database file

2012-03-02 Thread Brian Schott
Is the WSGI server running as www-data user, perhaps? Check the permissions on the file with "ls -l". Simple check would be "chmod a+rw " to guarantee that it is writable by www-data. Brian Schott bfsch...@gmail.com On Feb 18, 2012, at 4:24 PM, j...@jsdey.com wrote: > I'm another newbe

Re: Unable to open database file

2012-02-18 Thread akaariai
On Feb 18, 11:24 pm, "j...@jsdey.com" wrote: > I'm another newbe and need you patient consideration. > > I've worked my way through the polls tutorial.  Thinks seem to be > working with django server.  When I use Django/Wsgi I vote from an > external site but django is unable to open database from

Re: unable to open database file

2008-12-04 Thread bruno desthuilliers
On 4 déc, 09:49, gaz <[EMAIL PROTECTED]> wrote: > Hi I am trying to run Django Questionaire (http://djangoquest.aperte- > it.com/) on Apache with mod_python using SQlite on Windows 2003. > > When I try to log in I get the unable to open database file error. I > saw a number of posts mention that t

Re: unable to open database file - sqlite3/apache problem - help?

2008-10-29 Thread Jason Sidabras
this solution doesn't fix it for me. i have my db in /var/www/myproject/databasefile and i've just simply `chmod 777` the parent directory On Oct 17, 1:22 pm, Emilio <[EMAIL PROTECTED]> wrote: > I found the solution: > > http://django.freelancernepal.com/errors/django-says-unable-to-open-d... >

Re: unable to open database file - sqlite3/apache problem - help?

2008-10-17 Thread Emilio
I found the solution: http://django.freelancernepal.com/errors/django-says-unable-to-open-database-file-when-using-sqlite3/ Regards, Emilio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: unable to open database file - sqlite3/apache problem - help?

2008-10-17 Thread Emilio
Same exact problem in Debian Lenny. I've tried debugging it but I'm out of ideas. --~--~-~--~~~---~--~~ 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.c

Re: unable to open database file - sqlite3/apache problem - help?

2008-10-14 Thread Leaf
Exact same problem, as well. I'm running Ubuntu 8.4 Hardy (server edition), but after running the apparmor_status command, I don't see any active [or even existent] AppArmor profiles that are activated onto httpd, Python, or any other relevant processes. It still didn't work after I disabled AppAr

Re: unable to open database file - sqlite3/apache problem - help?

2008-10-14 Thread Odie
Hello, On Oct 11, 2:02 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 10, 2008 at 4:24 PM, shawn <[EMAIL PROTECTED]> wrote: > > > Hey guys, > > > So I want to be able to use mod_python and apache to host my django > > project, but I'm running into a little problem. When I go to my UR

Re: unable to open database file - sqlite3/apache problem - help?

2008-10-10 Thread Karen Tracey
On Fri, Oct 10, 2008 at 4:24 PM, shawn <[EMAIL PROTECTED]> wrote: > > Hey guys, > > So I want to be able to use mod_python and apache to host my django > project, but I'm running into a little problem. When I go to my URL, I > get this error: > > > Exception Type: OperationalError at /admin/ > Exc

Re: unable to open database file

2008-04-28 Thread Kenneth Gonsalves
On 29-Apr-08, at 1:52 AM, [EMAIL PROTECTED] wrote: > I get a operational error when i try to access the sqlite3 database > file. This doesn't happen with Django built in server only with > apache. The file has 660 permission so i dont know why it cant be > opened everything else works fine

Re: unable to open database file

2008-04-28 Thread [EMAIL PROTECTED]
What are the permissions of the enclosing folder? See http://code.djangoproject.com/wiki/NewbieMistakes#DjangosaysUnabletoOpenDatabaseFilewhenusingSQLite3 On Apr 28, 4:22 pm, [EMAIL PROTECTED] wrote: > hello all, > > I get a operational error when i try to access the sqlite3 database file. > Thi