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

load_acl uncaught exception in creating a cm ticket #39

jathanism opened this Issue Sep 7, 2012 · 1 comment


None yet
2 participants

jathanism commented Sep 7, 2012

Traceback (most recent call last): 
 File "/usr/local/bin/load_acl", line 764, in <module> 
 File "/usr/local/bin/load_acl", line 704, in main 
   cm_ticketnum = create_cm_ticket(work, oncall) 
 File "/etc/trigger/", line 421, in create_cm_ticket 
   return create_ticket(**oncall) 
 File "/usr/local/lib/python/site-packages/aol/", line 181, in create_ticket 
   verbose=verbose, debug=debug) 
 File "/usr/local/lib/python/site-packages/aol/", line 259, in __init__ 
   self.client = setup_client(self.url) 
 File "/usr/local/lib/python/site-packages/aol/", line 221, in setup_client 
   client = Client(url) 
 File "/usr/local/lib/python/site-packages/suds/", line 112, in __init__ 
   self.wsdl = 
 File "/usr/local/lib/python/site-packages/suds/", line 152, in open 
   d = self.fn(url, self.options) 
 File "/usr/local/lib/python/site-packages/suds/", line 136, in __init__ 
   d = 
 File "/usr/local/lib/python/site-packages/suds/", line 79, in open 
   d = 
 File "/usr/local/lib/python/site-packages/suds/", line 95, in download 
   fp = 
 File "/usr/local/lib/python/site-packages/suds/transport/", line 60, in open 
   return, request) 
 File "/usr/local/lib/python/site-packages/suds/transport/", line 62, in open 
   return self.u2open(u2request) 
 File "/usr/local/lib/python/site-packages/suds/transport/", line 118, in u2open 
   return, timeout=tm) 
 File "/usr/local/lib/python2.6/", line 391, in open 
   response = self._open(req, data) 
 File "/usr/local/lib/python2.6/", line 409, in _open 
   '_open', req) 
 File "/usr/local/lib/python2.6/", line 369, in _call_chain 
   result = func(*args) 
 File "/usr/local/lib/python2.6/", line 1178, in https_open 
   return self.do_open(httplib.HTTPSConnection, req) 
 File "/usr/local/lib/python2.6/", line 1145, in do_open 
   raise URLError(err) 
urllib2.URLError: <urlopen error The read operation timed out> 

@ghost ghost assigned mvh Sep 7, 2012


This comment has been minimized.


jathanism commented Sep 7, 2012

We should wrap the call to settings.create_cm_ticket within load_acl to catch any exception and set the cm_ticketnum value to None so that it can fail gracefully without crashing.

@mvh mvh closed this Sep 7, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment