Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<class 'AttributeError'> #3

Open
cooltnt opened this issue Mar 25, 2021 · 0 comments
Open

<class 'AttributeError'> #3

cooltnt opened this issue Mar 25, 2021 · 0 comments

Comments

@cooltnt
Copy link

cooltnt commented Mar 25, 2021

web2py37

<class 'AttributeError'>
Version
web2py? Version 2.21.1-stable+timestamp.2020.11.28.04.10.44
Python Python 3.7.0: /home/cooltnt/anaconda3/bin/python (prefix: /home/cooltnt/anaconda3)
Traceback

Traceback (most recent call last):
File "/home/cooltnt/web2py/gluon/packages/dal/pydal/objects.py", line 166, in getattr
return self.getitem(k)
File "/home/cooltnt/web2py/gluon/packages/dal/pydal/objects.py", line 146, in getitem
raise KeyError(key)
KeyError: 'pretty_link'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/cooltnt/web2py/gluon/restricted.py", line 219, in restricted
exec(ccode, environment)
File "/home/cooltnt/web2py/applications/places/controllers/default.py", line 100, in
File "/home/cooltnt/web2py/gluon/globals.py", line 430, in
self._caller = lambda f: f()
File "/home/cooltnt/web2py/applications/places/controllers/default.py", line 11, in index
result = common.format_records(records)
File "/home/cooltnt/web2py/applications/places/modules/common.py", line 55, in format_records
tds.append(XML(record.pretty_link))
File "/home/cooltnt/web2py/gluon/packages/dal/pydal/objects.py", line 168, in getattr
raise AttributeError
AttributeError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant