I'm using SQLAlchemy with web.py, and have used it many times in the past. 
I'm working on a project using gevent/greenlets, and everything has been 
fine for a couple of months, until today.

Suddenly, I'm getting these at a time when I'm not even receiving any 
requests. Does anyone have any advice or steps to troubleshoot?

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
237, in process
    return p(lambda: process(processors))
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
565, in processor
    h()
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
661, in __call__
    self.check(mod)
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
680, in check
    reload(mod)
  File 
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/reflection.py", 
line 58, in <module>
    class Inspector(object):
  File 
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/reflection.py", 
line 136, in Inspector
    @inspection._inspects(Connectable)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/inspection.py", 
line 84, in decorate
    "registered" % type_)
AssertionError: Type <class 'sqlalchemy.engine.interfaces.Connectable'> is 
already registered

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
237, in process
    return p(lambda: process(processors))
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
565, in processor
    h()
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
661, in __call__
    self.check(mod)
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
680, in check
    reload(mod)
  File 
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/reflection.py", 
line 58, in <module>
    class Inspector(object):
  File 
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/reflection.py", 
line 136, in Inspector
    @inspection._inspects(Connectable)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/inspection.py", 
line 84, in decorate
    "registered" % type_)
AssertionError: Type <class 'sqlalchemy.engine.interfaces.Connectable'> is 
already registered

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
237, in process
    return p(lambda: process(processors))
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
565, in processor
    h()
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
661, in __call__
    self.check(mod)
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
680, in check
    reload(mod)
  File 
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/reflection.py", 
line 58, in <module>
    class Inspector(object):
  File 
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/reflection.py", 
line 136, in Inspector
    @inspection._inspects(Connectable)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/inspection.py", 
line 84, in decorate
    "registered" % type_)
AssertionError: Type <class 'sqlalchemy.engine.interfaces.Connectable'> is 
already registered

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
237, in process
    return p(lambda: process(processors))
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
565, in processor
    h()
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
661, in __call__
    self.check(mod)
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
680, in check
    reload(mod)
  File 
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/reflection.py", 
line 58, in <module>
    class Inspector(object):
  File 
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/reflection.py", 
line 136, in Inspector
    @inspection._inspects(Connectable)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/inspection.py", 
line 84, in decorate
    "registered" % type_)
AssertionError: Type <class 'sqlalchemy.engine.interfaces.Connectable'> is 
already registered

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
237, in process
    return p(lambda: process(processors))
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
565, in processor
    h()
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
661, in __call__
    self.check(mod)
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 
680, in check
    reload(mod)
  File 
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/reflection.py", 
line 58, in <module>
    class Inspector(object):
  File 
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/reflection.py", 
line 136, in Inspector
    @inspection._inspects(Connectable)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/inspection.py", 
line 84, in decorate
    "registered" % type_)
AssertionError: Type <class 'sqlalchemy.engine.interfaces.Connectable'> is 
already registered




Dustin

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to