Trouble with getting debugger to work - Mailing list pgadmin-support

From Alex Kim
Subject Trouble with getting debugger to work
Date
Msg-id CAABJyxx8Mg8HyFVX-tRs70Y2n6wZ9wFBg7aR+tJAHJ8mDLKahg@mail.gmail.com
Whole thread Raw
Responses Re: Trouble with getting debugger to work
List 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

pgadmin-support by date:

Previous
From: Michel Feinstein
Date:
Subject: Autocomplete
Next
From: Khushboo Vashi
Date:
Subject: Re: Trouble with getting debugger to work