Kozea / Kozea/wdb

Error inspecting xmlrpclib fault

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.6k
Forks
120
PR merge metrics
No merged PRs in 30d

Description

I clicked on a fault when using xmlrpclib.

```
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/wdb/ui.py", line 180, in loop
stop = self.interact()
File "/usr/lib/python2.7/site-packages/wdb/ui.py", line 219, in interact
rv = fun(data)
File "/usr/lib/python2.7/site-packages/wdb/ui.py", line 327, in do_inspect
'val': self.db.dmp(thing),
File "/usr/lib/python2.7/site-packages/wdb/__init__.py", line 619, in dmp
for key in dir(thing)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1587, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1306, in single_request
return self.parse_response(response)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1482, in parse_response
return u.close()
File "/usr/lib64/python2.7/xmlrpclib.py", line 794, in close
raise Fault(**self._stack[0])
Fault:

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with do_inspect in wdb/ui.py and follow dmp in wdb/__init__.py, using the reported xmlrpclib fault as the reproduction case. Trace why inspecting the fault reaches xmlrpclib.__dir__, then run the same inspection path; done means the fault can be inspected without the shown remote-call exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.