Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8641315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:29:35+00:00 2026-06-12T11:29:35+00:00

I get this error Internal error Ticket issued: unrecoverable When trying to run web2py

  • 0

I get this error

Internal error Ticket issued: unrecoverable

When trying to run web2py from https://github.com/web2py/web2py/tree/e1bb2b4556352612a8f0386373d23e49f3e138c4

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

But, when I start the server, I found internal error.

Below is what I get from the shell:

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 <module 'threading' from '/usr/lib/python2.7/threading.pyc'> 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

So, what’s wrong here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T11:29:37+00:00Added an answer on June 12, 2026 at 11:29 am

    That commit is just broken. If you look at the code, the dbs variable never gets defined, so the close_all_instances function will always fail. There’s a bug report for it: web2py issue #1072

    You can apply the patch above yourself, or use my patch-1 branch where I’ve applied the patch (and sent a pull request), or you can use the commit just before the code was broken (231a3e1278), or just wait for it to get fixed in master which I’d assume will happen soon.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get this error while accessing a php script: W/System.err: Error reading from ./org/apache/harmony/awt/www/content/text/html.class
I get this error when I run the code below. I have normally used
I get this error when I use simplejson from django.utils in google app engine
I get this error when I try to deploy to Google AppEngine: com.google.apphosting.utils.config.AppEngineConfigException: XML
i'm using QT Creator 1.3.1 and trying to compile, but get this error... please
When I try to run test with FlexUnit4 and IntelliJ, I get this error:
I am using Eclipse WTP plugin to generate the stub from this WSDL: https://api.sandbox.ebay.com/wsapi?wsdl
Anyone know why I would get this error when trying to create a grails
Why do I get this error while generating code in ANTLR? [16:06:38] error(10): internal
I always get this error when i try to run my own programmed App.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.