Debug error

18 views
Skip to first unread message

Maurice Waka

unread,
Mar 6, 2019, 8:50:19 AM3/6/19
to web2py-users
I got this error when trying to debug:

Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
Traceback (most recent call last):
File "/home/mauricewaka/web2py/gluon/main.py", line 444, in wsgibase
serve_controller(request, response, session)
File "/home/mauricewaka/web2py/gluon/main.py", line 183, in serve_controller
page = run_view_in(response._view_environment)
File "/home/mauricewaka/web2py/gluon/compileapp.py", line 733, in run_view_in
ccode = compile2(scode, filename)
File "/home/mauricewaka/web2py/gluon/restricted.py", line 205, in compile2
return compile(code, layer, 'exec')
File "/home/mauricewaka/web2py/applications/admin/views/debug/interact.html", line 103
response.write(T.M("You need to set up and reach a [[breakpoint %s]] to use the debugger!') %URL('breakpoints'))
^
SyntaxError: EOL while scanning string literal

Leonel Câmara

unread,
Mar 6, 2019, 8:55:39 AM3/6/19
to web...@googlegroups.com
The error is here:

T.M("You need to set up and reach a [[breakpoint %s]] to use the debugger!')
Notice how you open the string with " but then try to close it with '.

EDIT: Oh lol nevermind that error is in admins code, I'll fix it.

Maurice Waka

unread,
Mar 6, 2019, 9:44:54 AM3/6/19
to web...@googlegroups.com
Done.
Thanks

On Wed, 6 Mar 2019, 16:55 Leonel Câmara <leonel...@gmail.com> wrote:
The error is here:

T.M("You need to set up and reach a [[breakpoint %s]] to use the debugger!')
Notice how you open the string with " but then try to close it with '.


--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/DykU5wPQ614/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages