Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle xmlrpclib.Fault exceptions nicely #13

Open
kvalo opened this issue Feb 8, 2017 · 0 comments
Open

handle xmlrpclib.Fault exceptions nicely #13

kvalo opened this issue Feb 8, 2017 · 0 comments

Comments

@kvalo
Copy link
Owner

kvalo commented Feb 8, 2017

2 patches applied:

31e41e6748ba rt2x00usb: do not anchor rx and tx urb's
2e0df2442185 rt2x00usb: fix anchor initialization

Accepted/Under review/Changes requested/Rejected/New/Deferred/Superseded/aWaiting upstream/not aPplicable/rFc/aBort? a
Traceback (most recent call last):
  File "/home/kvalo/bin/pwcli", line 2220, in <module>
    main()
  File "/home/kvalo/bin/pwcli", line 2217, in main
    pwcli.run_shell()
  File "/home/kvalo/bin/pwcli", line 2002, in run_shell
    args.func(args)
  File "/home/kvalo/bin/pwcli", line 1563, in cmd_commit
    patch.set_state_name(state)
  File "/home/kvalo/bin/pwcli", line 521, in set_state_name
    self.pw.rpc.patch_set(self.get_id(), params)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1316, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: "<class 'django.db.utils.OperationalError'>:(1040, 'Too many connections')">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant