current transaction is aborted

20 views
Skip to first unread message

António Ramos

unread,
Feb 11, 2020, 10:41:52 AM2/11/20
to web...@googlegroups.com

Any help ??? i upgraded from 17.2 to 18.5 . Could it be the cause ???


Error ticket for "fileit"

Ticket ID

194.65.91.147.2020-02-11.15-39-28.fb5635a7-2723-474a-9363-6f3eda0a672f

<class 'psycopg2.InternalError'> current transaction is aborted, commands ignored until end of transaction block

Versão

web2py™Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
PythonPython 2.7.5: /home/ramstein74/webapps/new2py/bin/uwsgi (prefix: /usr)

Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
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/views/appadmin.html", line 152, in <module>
{{=
T.M("(**%.0d MB**)", total['bytes'] / 1048576)}}
File "/home/ramstein74/webapps/new2py/web2py/gluon/authapi.py", line 592, in has_membership
group_id = self.id_group(group_id) # interpret group_id as a role
File "/home/ramstein74/webapps/new2py/web2py/gluon/authapi.py", line 454, in id_group
rows = self.db(self.table_group().role == role).select()
File "/home/ramstein74/webapps/new2py/web2py/gluon/packages/dal/pydal/objects.py", line 2395, in select
return adapter.select(self.query, fields, attributes)
File "/home/ramstein74/webapps/new2py/web2py/gluon/packages/dal/pydal/adapters/base.py", line 763, in select
return self._select_aux(sql, fields, attributes, colnames)
File "/home/ramstein74/webapps/new2py/web2py/gluon/packages/dal/pydal/adapters/base.py", line 719, in _select_aux
rows = self._select_aux_execute(sql)
File "/home/ramstein74/webapps/new2py/web2py/gluon/packages/dal/pydal/adapters/base.py", line 713, in _select_aux_execute
self.execute(sql)
File "/home/ramstein74/webapps/new2py/web2py/gluon/packages/dal/pydal/adapters/__init__.py", line 67, in wrap
return f(*args, **kwargs)
File "/home/ramstein74/webapps/new2py/web2py/gluon/packages/dal/pydal/adapters/base.py", line 413, in execute
rv = self.cursor.execute(command, *args[1:], **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block

António Ramos

unread,
Feb 11, 2020, 10:47:24 AM2/11/20
to web...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages