Trouble with getting debugger to work

From: Alex Kim <kimalex557(at)gmail(dot)com>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Trouble with getting debugger to work
Date: 2019-06-28 22:58:09
Message-ID: CAABJyxx8Mg8HyFVX-tRs70Y2n6wZ9wFBg7aR+tJAHJ8mDLKahg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi I am having trouble getting the debugger to work. I have installed the
debugger on edb postgres 10, 11, and standalone 11. Whenever I try to use
the debugger on pgadmin4, I either get a (TypeError: 'NoneType' object does
not support item assignment) if I try to debug directly or (TypeError:
'NoneType' object has no attribute '__getitem__') when i try to set a
breakpoint.

I have attached a screenshot of the stacktrace and some of the functions
involved and the text of the TraceBacks. Any and all help would be greatly
appreciated.

PgAdmin 4.4.9
Mac OS X 10.4.5
PgAdmin 10.9.2 / 11. 4. 2
Python 2.7

NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File
"/Users/ak/.virtualenvs/pgadmin4/lib/python2.7/site-packages/flask/app.py",
line 1813, in full_dispatch_request
rv = self.dispatch_request()
File
"/Users/ak/.virtualenvs/pgadmin4/lib/python2.7/site-packages/flask/app.py",
line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File
"/Users/ak/.virtualenvs/pgadmin4/lib/python2.7/site-packages/flask_login/utils.py",
line 261, in decorated_view
return func(*args, **kwargs)
File "/Users/ak/Desktop/pgadmin4/web/pgadmin/tools/debugger/__init__.py",
line 768, in initialize_target
'function_name': de_inst.function_data['name'],
TypeError: 'NoneType' object has no attribute '__getitem__'

'NoneType' object does not support item assignment
Traceback (most recent call last):
File
"/Users/ak/.virtualenvs/pgadmin4/lib/python2.7/site-packages/flask/app.py",
line 1813, in full_dispatch_request
rv = self.dispatch_request()
File
"/Users/ak/.virtualenvs/pgadmin4/lib/python2.7/site-packages/flask/app.py",
line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File
"/Users/ak/.virtualenvs/pgadmin4/lib/python2.7/site-packages/flask_login/utils.py",
line 261, in decorated_view
return func(*args, **kwargs)
File "/Users/ak/Desktop/pgadmin4/web/pgadmin/tools/debugger/__init__.py",
line 756, in initialize_target
de_inst.function_data['args_value'] = data
TypeError: 'NoneType' object does not support item assignment

Attachment Content-Type Size
Screen Shot 2019-06-28 at 3.08.23 PM.png image/png 4.1 MB

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Khushboo Vashi 2019-07-01 04:46:39 Re: Trouble with getting debugger to work
Previous Message Michel Feinstein 2019-06-28 17:26:51 Autocomplete