A python 3 bug:

<class 'AttributeError'> 'dict' object has no attribute 'iteritems'
Version  
web2py™ Version 2.18.1-stable+timestamp.2019.02.24.06.24.15
Python Python 3.7.2: 
/Users/LaVie/.pyenv/versions/miniconda3-4.3.11/bin/python (prefix: 
/Users/LaVie/.pyenv/versions/miniconda3-4.3.11)

Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.

Traceback (most recent call last):
  File "/Users/LaVie/Documents/Python/web2py/gluon/restricted.py", line 219, in 
restricted
    exec(ccode, environment)
  File 
"/Users/LaVie/Documents/Python/web2py/applications/biolog/controllers/default.py"
 <http://127.0.0.1:8000/admin/edit/biolog/controllers/default.py>, line 79, in 
<module>
  File "/Users/LaVie/Documents/Python/web2py/gluon/globals.py", line 421, in 
<lambda>
    self._caller = lambda f: f()
  File 
"/Users/LaVie/Documents/Python/web2py/applications/biolog/controllers/default.py"
 <http://127.0.0.1:8000/admin/edit/biolog/controllers/default.py>, line 70, in 
index
    columns=columns)
  File "/Users/LaVie/Documents/Python/web2py/gluon/sqlhtml.py", line 3427, in 
__init__
    for colname, field in fieldmap.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

Error snapshot

    AttributeError('dict' object has no attribute 'iteritems')
  


-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to