title: Web2py: Internal error on running
body: <p>I get this error</p>
  
  <blockquote>
    <p>Internal error Ticket issued: unrecoverable</p>
  </blockquote>
  
  <p>When trying to run web2py from <a href="https://github.com/web2py/web2py/tree/e1bb2b4556352612a8f0386373d23e49f3e138c4" rel="nofollow">https://github.com/web2py/web2py/tree/e1bb2b4556352612a8f0386373d23e49f3e138c4</a></p>
  
  <p>I am using ubuntu 12.04, and already have web2py 1.99.4. But I want to check the new version. As stated in the repo's readme, I should just simply run python web2py.py</p>
  
  <p>But, when I start the server, I found internal error.</p>
  
  <p>Below is what I get from the shell:</p>
  
  <pre><code>gofrendi@arcaneSanctum:~/Documents/web2py-web2py-e1bb2b4$ python web2py.py -M
  web2py Web Framework
  Created by Massimo Di Pierro, Copyright 2007-2012
  Version 2.0.9 (2012-10-07 01:10:05) dev
  Database drivers available: SQLite(sqlite2), SQLite(sqlite3), MySQL(pymysql), MySQL(MySQLdb), PostgreSQL(psycopg2), PostgreSQL(pg8000), CouchDB(couchdb), IMAP(imaplib)
  please visit:
      http://127.0.0.1:8000
  starting browser...
  Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in &lt;module 'threading' from '/usr/lib/python2.7/threading.pyc'&gt; ignored
  Created new window in existing browser session.
  ERROR:web2py:Traceback (most recent call last):
    File "/home/gofrendi/Documents/web2py-web2py-e1bb2b4/gluon/main.py", line 614, in wsgibase
      BaseAdapter.close_all_instances('rollback')
    File "/home/gofrendi/Documents/web2py-web2py-e1bb2b4/gluon/dal.py", line 525, in close_all_instances
      for db_uid, db_group in dbs:
  NameError: global name 'dbs' is not defined
  
  ERROR:web2py:Traceback (most recent call last):
    File "/home/gofrendi/Documents/web2py-web2py-e1bb2b4/gluon/main.py", line 614, in wsgibase
      BaseAdapter.close_all_instances('rollback')
    File "/home/gofrendi/Documents/web2py-web2py-e1bb2b4/gluon/dal.py", line 525, in close_all_instances
      for db_uid, db_group in dbs:
  NameError: global name 'dbs' is not defined
  
  ERROR:web2py:Traceback (most recent call last):
    File "/home/gofrendi/Documents/web2py-web2py-e1bb2b4/gluon/main.py", line 614, in wsgibase
      BaseAdapter.close_all_instances('rollback')
    File "/home/gofrendi/Documents/web2py-web2py-e1bb2b4/gluon/dal.py", line 525, in close_all_instances
      for db_uid, db_group in dbs:
  NameError: global name 'dbs' is not defined
  
  ERROR:web2py:Traceback (most recent call last):
    File "/home/gofrendi/Documents/web2py-web2py-e1bb2b4/gluon/main.py", line 614, in wsgibase
      BaseAdapter.close_all_instances('rollback')
    File "/home/gofrendi/Documents/web2py-web2py-e1bb2b4/gluon/dal.py", line 525, in close_all_instances
      for db_uid, db_group in dbs:
  NameError: global name 'dbs' is not defined
  
  ERROR:web2py:Traceback (most recent call last):
    File "/home/gofrendi/Documents/web2py-web2py-e1bb2b4/gluon/main.py", line 614, in wsgibase
      BaseAdapter.close_all_instances('rollback')
    File "/home/gofrendi/Documents/web2py-web2py-e1bb2b4/gluon/dal.py", line 525, in close_all_instances
      for db_uid, db_group in dbs:
  NameError: global name 'dbs' is not defined
  </code></pre>
  
  <p>So, what's wrong here?</p>