error tickets missing error snapshot details

27 views
Skip to first unread message

David Manns

unread,
Oct 23, 2019, 10:59:12 AM10/23/19
to web2py-users
In my development environment, on Windows, with web2py 2.18.5, error tickets are truncated, no details are displayed. An example is included below. The ticket file is only ~2kb, so the stored ticket is actually truncated. Any idea why this is happening?

In the same environment /admin/default/error produces a complete ticket.

Example of truncated ticket:

Error ticket for "init"

Ticket ID

127.0.0.1.2019-10-23.09-47-41.70e0e0e9-5662-4727-9535-1a8f67be5bcd

<type 'exceptions.TypeError'> string indices must be integers, not Expression

Version

web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03

Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
Traceback (most recent call last):
File "C:\Users\David\Google Drive\My Documents\OxCamNE.3.0\gluon\restricted.py", line 219, in restricted
exec(ccode, environment)
File "C:\Users\David\Google Drive\My Documents\OxCamNE.3.0\applications\init\controllers/default.py", line 1243, in <module>
File "C:\Users\David\Google Drive\My Documents\OxCamNE.3.0\gluon\globals.py", line 421, in <lambda>
self._caller = lambda f: f()
File "C:\Users\David\Google Drive\My Documents\OxCamNE.3.0\applications\init\models\db.py", line 121, in wrapped_f
return f(*args)
File "C:\Users\David\Google Drive\My Documents\OxCamNE.3.0\applications\init\controllers/default.py", line 1078, in finstmt
assets['Accounts Payable'] = getpyblrcvbl(-1, 'Event expenses pending')
File "C:\Users\David\Google Drive\My Documents\OxCamNE.3.0\applications\init\controllers/default.py", line 1043, in getpyblrcvbl
d = [value(session.range.startstamp)]
File "C:\Users\David\Google Drive\My Documents\OxCamNE.3.0\applications\init\controllers/default.py", line 1040, in value
if r[sumamt] * sign > 0:
TypeError: string indices must be integers, not Expression

In file: C:\Users\David\Google Drive\My Documents\OxCamNE.3.0\applications\init\controllers/default.py

1.
<code object <module> at 000000000BBF48B0, file "C:\Users\David\Google Drive\My Documents\OxCamNE.3.0\applications\init\controllers/default.py", line 3>

David Manns

unread,
Oct 23, 2019, 4:12:07 PM10/23/19
to web2py-users
I don't know exactly what caused this; possibly the deletion of earlier tickets without deleting session cookies.
Deleting the session cookie from the browser and starting over fixed the problem: the same error produced a complete ticket.
Reply all
Reply to author
Forward
0 new messages