Re: newbie error

2010-10-05 Thread Daniel Roseman
On Oct 5, 12:52 pm, chocolatero wrote: > Hi Friends! I'm working with django and i have this error: > > Request Method:         GET > Request URL:    http://127.0.0.1:8000/myapp/New_page/ > Django Version:         1.2.3 > Exception Type:         ValueError > Exception Value: > > invalid literal fo

Re: newbie error

2010-10-05 Thread Xavier Ordoquy
Hi, New_page isn't a valid ID. By default, the id field is a number. Regards, Xavier. Le 5 oct. 2010 à 13:52, chocolatero a écrit : > Hi Friends! I'm working with django and i have this error: > > Request Method: GET > Request URL: http://127.0.0.1:8000/myapp/New_page/ > Django Version:

newbie error

2010-10-05 Thread chocolatero
Hi Friends! I'm working with django and i have this error: Request Method: GET Request URL:http://127.0.0.1:8000/myapp/New_page/ Django Version: 1.2.3 Exception Type: ValueError Exception Value: invalid literal for int() with base 10: 'New_page' Exception Location:

Re: Newbie error: sqlite3.OperationalError: unable to open database file

2007-10-21 Thread Hugh Bien
For your DATABASE_NAME, try using an absolute path without the tilde (~) shortcut, that might solve it: DATABASE_NAME = '/home/ssk/Projects/mysites/mysite/mysite.db' On 10/21/07, SSK <[EMAIL PROTECTED]> wrote: > > > I'm trying to get started with Django, but I've hit a hurdle with > database. > >

Re: Newbie error: sqlite3.OperationalError: unable to open database file

2007-10-21 Thread James Bennett
On 10/21/07, SSK <[EMAIL PROTECTED]> wrote: > Hmm. Changing ~/... to /Users/Myname/... solved the problem. Django does not expand shell abbreviations or variables, like "~" or "$HOME", when opening files. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~-

Re: Newbie error: sqlite3.OperationalError: unable to open database file

2007-10-21 Thread SSK
Hmm. Changing ~/... to /Users/Myname/... solved the problem. --~--~-~--~~~---~--~~ 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.com To unsubscrib

Newbie error: sqlite3.OperationalError: unable to open database file

2007-10-21 Thread SSK
I'm trying to get started with Django, but I've hit a hurdle with database. I have a very basic configuration: Python 2.5, Django (SVN), built-in server, SQLite3 db. My settings.py has this: DATABASE_ENGINE = 'sqlite3' DATABASE_NAME = '~/Projects/mysites/mysite/mysite.db' When I run syncdb, I g