Hello just updated web2py from 2.17.2 to 2.18.5 and my app stopped working
because of the next error in the code line:
auth.messages.verify_email = response.render(
    'templates/email_verification.html')

web2py™ interface administrativa <https://docs.cires.pt/admin>

   - site <https://docs.cires.pt/admin/site>
   - editar <https://docs.cires.pt/admin/design/fileit>
   - sobre <https://docs.cires.pt/admin/about/fileit>
   - erros <https://docs.cires.pt/admin/errors/fileit>
   - Versioning <https://docs.cires.pt/admin/mercurial/commit/fileit>
   - ajuda <https://docs.cires.pt/examples/documentation>
   - finalizar sessão <https://docs.cires.pt/admin/logout>
   - Debug <https://docs.cires.pt/admin/debug/interact>

Error ticket for "fileit"Ticket ID

194.65.91.147.2020-02-06.10-23-24.5ddab4f8-344c-4309-bfd0-ec2c4ef6aad0
<type 'exceptions.AttributeError'> 'NoneType' object has no attribute
'update'Versão
web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
Python Python 2.7.5: /home/ramstein74/webapps/new2py/bin/uwsgi (prefix:
/usr)Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.

Traceback (most recent call last):
  File "/home/ramstein74/webapps/new2py/web2py/gluon/restricted.py",
line 219, in restricted
    exec(ccode, environment)
  File 
"/home/ramstein74/webapps/new2py/web2py/applications/fileit/models/db1.py"
<https://docs.cires.pt/admin/edit/fileit/models/db1.py>, line 120, in
<module>
    'templates/email_verification.html')
  File "/home/ramstein74/webapps/new2py/web2py/gluon/globals.py", line
452, in render
    self._view_environment.update(self._vars)
AttributeError: 'NoneType' object has no attribute 'update'

Error snapshot [image: help]
<https://docs.cires.pt/admin/default/ticket/fileit/194.65.91.147.2020-02-06.10-23-24.5ddab4f8-344c-4309-bfd0-ec2c4ef6aad0#>

<type 'exceptions.AttributeError'>('NoneType' object has no attribute
'update')

inspecionar atributos
Frames

   -

   *File /home/ramstein74/webapps/new2py/web2py/gluon/restricted.py in
   restricted at line 219* código argumentos variáveis
   -

   *File
   /home/ramstein74/webapps/new2py/web2py/applications/fileit/models/db1.py in
   <module> at line 120* código argumentos variáveis
   -

   *File /home/ramstein74/webapps/new2py/web2py/gluon/globals.py in render
   at line 452* código argumentos variáveis
   Function argument list

   (self=<Storage {'body': <cStringIO.StringO object at 0...t
   0x7f4c8f289b18>, 'view': 'default/index.html'}>,
   *a=('templates/email_verification.html',), **b={})
   Code listing

   447.
   448.
   449.
   450.
   451.
   452.
   453.
   454.
   455.
   456.

           elif len(a) == 1 and isinstance(a[0], dict):
               (view, self._vars) = (None, a[0])
           else:
               (view, self._vars) = (None, {})
           self._vars.update(b)
           self._view_environment.update(self._vars)
           if view:
               from gluon._compat import StringIO
               (obody, oview) = (self.body, self.view)
               (self.body, self.view) = (StringIO(), view)

   Variables
   self <Storage {'body': <cStringIO.StringO object at 0...t
   0x7f4c8f289b18>, 'view': 'default/index.html'}>
   self._vars {}
   self._view_environment None
   self._view_environment.update undefined

Context

locals request session response
In file:
/home/ramstein74/webapps/new2py/web2py/applications/fileit/models/db1.py

1.

<code object <module> at 0x7f4c8f06fd30, file
"/home/ramstein74/webapps/new2py/web2py/applications/fileit/models/db1.py",
line 2>

Este site utiliza web2py <http://www.web2py.com/>™ criado por Massimo Di
Pierro ©2007-2020 - Linguagem do Admin
       Afrikaanse                                          Български
                                  čeština
       Deutsch                                          English (US)
                                  English (US)
             Español                                          Français
                                     עברית
          Italiano                                          日本語
                               မြန်မာ
    Nederlands                                          Polska
                            Português
    Português Brasileiro                                          Română
                                        Русский
             Slovenski                                          Српски
(Ћирилица)                                          Srpski (Latinica)
                                     Türkçe
          Українська                                          中文
                               台灣中文

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAEM0BxPfWkWii6GiGH24pO006FiZ678aAUi-U3qOWt8Gy_GuNw%40mail.gmail.com.

Reply via email to