i run web2py on ubuntu 9.04.

try
sudo apt-get install python-tk

i have  libsqlite3 installed:
sudo apt-get install libsqlite3-0
(not sure if it's required.)

always good to do
sudo apt-get update
sudo apt-get dist-upgrade

--
Teru

On 9月28日, 午前6:30, Thadeus Burgess <[email protected]> wrote:
> I am not on ubuntu, but try
>
> apt-get install python-sqlite3
>
> Or search for sqlite in Synaptic Package Manager.
>
> You are just missing some dependencies.
>
> -Thadeus
>
> On Sun, Sep 27, 2009 at 2:15 PM, topher.baron <[email protected]>wrote:
>
>
>
> > 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 enterhttp://127.0.0.1:8000in 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