i´m getting this error editing new tables in appadmin.
Does it have to to with broken migrations?
how to solve this?

regards
António

<class 'psycopg2.errors.InFailedSqlTransaction'> current transaction is
aborted, commands ignored until end of transaction blockVersão
web2py™ Version 2.20.4-stable+timestamp.2020.05.03.05.18.50
Python Python 3.6.8: /home/ramos/apps/fileit/env/bin/uwsgi (prefix:
/home/ramos/apps/fileit/env)Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.

Traceback (most recent call last):
  File "/home/ramos/apps/fileit/web2py/gluon/restricted.py", line 219,
in restricted
    exec(ccode, environment)
  File "/home/ramos/apps/fileit/web2py/applications/fileit/views/appadmin.html"
<https://portal.cires.pt/admin/edit/fileit/views/appadmin.html>, line
85, in <module>
    {{=SQLTABLE(rows,linkto,upload,orderby=True,_class='sortable')}}
  File "/home/ramos/apps/fileit/web2py/applications/fileit/models/tools.py"
<https://portal.cires.pt/admin/edit/fileit/models/tools.py>, line 23,
in myFriends
    ).select(db.dbentities.id).as_list()
  File "/home/ramos/apps/fileit/web2py/gluon/packages/dal/pydal/objects.py",
line 2634, in select
    return adapter.select(self.query, fields, attributes)
  File 
"/home/ramos/apps/fileit/web2py/gluon/packages/dal/pydal/adapters/base.py",
line 878, in select
    return self._select_aux(sql, fields, attributes, colnames)
  File 
"/home/ramos/apps/fileit/web2py/gluon/packages/dal/pydal/adapters/base.py",
line 835, in _select_aux
    rows = self._select_aux_execute(sql)
  File 
"/home/ramos/apps/fileit/web2py/gluon/packages/dal/pydal/adapters/base.py",
line 829, in _select_aux_execute
    self.execute(sql)
  File 
"/home/ramos/apps/fileit/web2py/gluon/packages/dal/pydal/adapters/__init__.py",
line 69, in wrap
    return f(*args, **kwargs)
  File 
"/home/ramos/apps/fileit/web2py/gluon/packages/dal/pydal/adapters/base.py",
line 461, in execute
    rv = self.cursor.execute(command, *args[1:], **kwargs)
psycopg2.errors.InFailedSqlTransaction: current transaction is
aborted, commands ignored until end of transaction block

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAEM0BxPAY5H0-4%2BYaUVnOzCY1qKz4o72NqoVDWCM5kgDEYxYAQ%40mail.gmail.com.

Reply via email to