Re: too many options error when launching sqlite3 dbshell

2010-10-23 Thread John Yeukhon Wong
Problem solved. SQLite will chop the path of the sqlite.db... so
instead moved to "C:\\sqlite.db" will solve the problem.

On Oct 22, 9:47 pm, John Yeukhon Wong  wrote:
> I have django 1.2.3.0 Final
>
> In my setting, I have 'sqlite3' filled for the DATABASE_ENGINE.
> I am able to work with the sqlite3 until I am told that I need to
> access python manage.py dbshell
>
> At first I got the error "sqlite3 is not recongized"
> Then I read threads and I found that this can be solved by downloading
> the exe file and set the environment variable path on Windows (I am on
> XP Pro)
>
>  I used this approach 
> insteadhttp://groups.google.com/group/django-users/msg/cf0665c227030ae2?
>
> Now when I access python manage.py dbshell, I am getting
>
> [[[
> C:\Documents and Settings\JohnWong\workspace\mysite\mysite>python
> manage.py dbsh
> ell
> sqlite3: Error: too many options: "Settings\JohnWong\workspace\mysite
> \sqlite.db"
>
> Use -help for a list of options.
> ]]]
> I tried with --database=name_of_my_db and still no luck
>
> Any input is appreciated.
> Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



too many options error when launching sqlite3 dbshell

2010-10-22 Thread John Yeukhon Wong
I have django 1.2.3.0 Final

In my setting, I have 'sqlite3' filled for the DATABASE_ENGINE.
I am able to work with the sqlite3 until I am told that I need to
access python manage.py dbshell

At first I got the error "sqlite3 is not recongized"
Then I read threads and I found that this can be solved by downloading
the exe file and set the environment variable path on Windows (I am on
XP Pro)

 I used this approach instead
http://groups.google.com/group/django-users/msg/cf0665c227030ae2?

Now when I access python manage.py dbshell, I am getting

[[[
C:\Documents and Settings\JohnWong\workspace\mysite\mysite>python
manage.py dbsh
ell
sqlite3: Error: too many options: "Settings\JohnWong\workspace\mysite
\sqlite.db"

Use -help for a list of options.
]]]
I tried with --database=name_of_my_db and still no luck

Any input is appreciated.
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.