[mapserver-users] Scribe UI Configuration

Humberto Cereser Ibanez humberto at pastoraldacrianca.org.br
Mon Sep 23 07:18:12 PDT 2013


Hi,

I'm trying to configure Scribe UI, but when I run "from init import
init_db" I get this message:

AttributeError: 'Flask' object has no attribute 'teardown_request'

The related packages that are installed in my Debian Squeeze, all via
aptitude, are:

python-flask 0.6
sqlite 3.7.3
python 2.6.6

Thanks in advanced,

Humberto Cereser Ibanez
Programmer at Pastoral da Criança

humberto at p210:~/mapfiles/scribeui/application$ sudo python
[sudo] password for humberto: 
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from init import init_db
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "init.py", line 102, in <module>
    @app.teardown_request
AttributeError: 'Flask' object has no attribute 'teardown_request'
>>> 



More information about the mapserver-users mailing list