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>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/2b51e7d1-43ff-4d22-85ef-c92521f77d2d%40googlegroups.com.

Reply via email to