Db Creation Error Message : <type 'exceptions.SyntaxError'> Adapter not found for sqLite

33 views
Skip to first unread message

dangeo

unread,
Sep 28, 2019, 2:30:07 PM9/28/19
to web2py-users
Hello to All,

I new to the web2py platform particularly and web development in general. Using the web2py book (page 91) as a learning guide i'm recreating the image blog exercise. However, after creation I'm getting the following error message:

Error ticket for "images"

Ticket ID

127.0.0.1.2019-09-28.10-46-00.3bd1429a-5c01-4f5e-ae1d-b2ad2295993f

<type 'exceptions.SyntaxError'> Adapter not found for sqLite


Could anyone assist me on how to remove it and have the test db work?
Thanks!
Note: In creating the new application there is a db.py that existed already, so for the "images" app the db1.py was created.
 

Dave S

unread,
Oct 7, 2019, 2:48:38 AM10/7/19
to web2py-users
Please show us your model files.

/dps
 

villas

unread,
Oct 9, 2019, 6:48:17 AM10/9/19
to web2py-users

Adapter not found for sqLite


Isn't this a capitalisation problem?  Should be sqlite?

I recommend keeping everything as simple as possible.  Therefore, place all your code into db.py and dispense with db1.py
Reply all
Reply to author
Forward
0 new messages