All,

I've been using web2py on OSX and have been trying to get it up and
running on 9.04 Ubuntu, but have not been able to.  From the bash
shell :

cba...@cbaron-ubuntu:~$ python Desktop/web2py/web2py.py
WARNING:root:unable to import dbhash
WARNING:root:GUI not available because Tk library is not installed
default applications appear to be installed already
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2009
Version 1.67.1 (2009-09-17 13:33:20)
Database drivers available:
Starting cron...
choose a password:****
please visit:
        http://127.0.0.1:8000
use "kill -SIGTERM 30470" to shutdown the web2py server

When I enter http://127.0.0.1:8000 in my browser I get the following
error :

Traceback (most recent call last):
  File "/home/cbaron/Desktop/web2py/gluon/restricted.py", line 178, in
restricted
    exec ccode in environment
  File "/home/cbaron/Desktop/web2py/applications/welcome/models/
db.py", line 15, in <module>
    db = DAL('sqlite://storage.sqlite')       # if not, use SQLite or
other DB
  File "/home/cbaron/Desktop/web2py/gluon/sql.py", line 2806, in DAL
    return SQLDB(uri, pool_size=pool_size)
  File "/home/cbaron/Desktop/web2py/gluon/sql.py", line 698, in
__init__
    self._pool_connection(lambda : sqlite3.Connection(dbpath,
  File "/home/cbaron/Desktop/web2py/gluon/sql.py", line 642, in
_pool_connection
    self._connection = f()
  File "/home/cbaron/Desktop/web2py/gluon/sql.py", line 698, in
<lambda>
    self._pool_connection(lambda : sqlite3.Connection(dbpath,
NameError: global name 'sqlite3' is not defined

I am a linux newbie.  Any help would be appreciated.  Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to