Re: Chapter 5 problems resolved

2013-07-13 Thread Randy Baxley
File > "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py", > line 296, in _sqlite_create_connection > self.connection = Database.connect(**kwargs) > OperationalError: unable to open database file > > This one is resolved: 1. not sure why but I had to sudo sglite3 2.

Re: Chapter 5 problems

2013-07-13 Thread Randy Baxley
bump On Fri, Jul 12, 2013 at 4:20 PM, Randy Baxley wrote: > randy@randy-Inspiron-530s:~/dj/mfp/mysite$ sqlite3 > /home/dj/mfp/mysite/mysite/mydb.db > SQLite version 3.7.9 2011-11-01 00:52:41 > Enter ".help" for instructions > Enter SQL statements terminated with a ";" > sqlite> > > but at least

Re: Chapter 5 problems

2013-07-12 Thread Randy Baxley
randy@randy-Inspiron-530s:~/dj/mfp/mysite$ sqlite3 /home/dj/mfp/mysite/mysite/mydb.db SQLite version 3.7.9 2011-11-01 00:52:41 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> but at least now I know I have SQLite3 though I did not before you asked that question.

Re: Chapter 5 problems

2013-07-12 Thread John
Can you open the file using sqlite on the command line: # sqlite3 /home/dj/mfp/mysite/mydb.db John On 12/07/13 21:08, Randy Baxley wrote: > permissions for randy on mydb.db are read and write. > > > On Fri, Jul 12, 2013 at 3:05 PM, Jonathan Baker > mailto:jonathandavidba...@gmail.com>> > wrote:

Re: Chapter 5 problems

2013-07-12 Thread Randy Baxley
permissions for randy on mydb.db are read and write. On Fri, Jul 12, 2013 at 3:05 PM, Jonathan Baker < jonathandavidba...@gmail.com> wrote: > Does the file have the correct permissions? > > > On Fri, Jul 12, 2013 at 2:03 PM, Randy Baxley wrote: > >> that has been my first and my last variations

Re: Chapter 5 problems

2013-07-12 Thread Jonathan Baker
Does the file have the correct permissions? On Fri, Jul 12, 2013 at 2:03 PM, Randy Baxley wrote: > that has been my first and my last variations but it is still throwing the > same error. > > > On Fri, Jul 12, 2013 at 1:55 PM, John wrote: > >> 'NAME' doesn't look like a path to a sqlite database

Re: Chapter 5 problems

2013-07-12 Thread Randy Baxley
that has been my first and my last variations but it is still throwing the same error. On Fri, Jul 12, 2013 at 1:55 PM, John wrote: > 'NAME' doesn't look like a path to a sqlite database file. I'd expect it > to look more like: > > 'NAME': '/home/dj/mfp/mysite/mydb.db' > > John > > On 12/07/13

Re: Chapter 5 problems

2013-07-12 Thread John
'NAME' doesn't look like a path to a sqlite database file. I'd expect it to look more like: 'NAME': '/home/dj/mfp/mysite/mydb.db' John On 12/07/13 19:33, Randy Baxley wrote: > randy@randy-Inspiron-530s:~/dj/mfp/mysite$ python manage.py shell > Python 2.7.3 (default, Apr 10 2013, 05:46:21) > [GC