Skip to content

Instantly share code, notes, and snippets.

@jamii
Created April 12, 2011 14:15
Show Gist options
  • Select an option

  • Save jamii/915558 to your computer and use it in GitHub Desktop.

Select an option

Save jamii/915558 to your computer and use it in GitHub Desktop.
In [5]: help(mt)
---------------------------------------------------------------------------
Fault Traceback (most recent call last)
/home/jamie/Locker/Connectors/MoveableType/<ipython console> in <module>()
/usr/lib/python2.6/site.pyc in __call__(self, *args, **kwds)
430 def __call__(self, *args, **kwds):
431 import pydoc
--> 432 return pydoc.help(*args, **kwds)
433
434 def sethelper():
/usr/lib/python2.6/pydoc.pyc in __call__(self, request)
1728 def __call__(self, request=None):
1729 if request is not None:
-> 1730 self.help(request)
1731 else:
1732 self.intro()
/usr/lib/python2.6/pydoc.pyc in help(self, request)
1775 elif request: doc(request, 'Help on %s:')
1776 elif isinstance(request, Helper): self()
-> 1777 else: doc(request, 'Help on %s:')
1778 self.output.write('\n')
1779
/usr/lib/python2.6/pydoc.pyc in doc(thing, title, forceload)
1513 """Display text documentation, given an object or a path to an object."""
1514 try:
-> 1515 pager(render_doc(thing, title, forceload))
1516 except (ImportError, ErrorDuringImport), value:
1517 print value
/usr/lib/python2.6/pydoc.pyc in render_doc(thing, title, forceload)
1488 """Render text documentation, given an object or a path to an object."""
1489 object, name = resolve(thing, forceload)
-> 1490 desc = describe(object)
1491 module = inspect.getmodule(object)
1492 if name and '.' in name:
/usr/lib/python2.6/pydoc.pyc in describe(thing)
1440 thing.__name__)
1441 if inspect.isclass(thing):
-> 1442 return 'class ' + thing.__name__
1443 if inspect.isfunction(thing):
1444 return 'function ' + thing.__name__
/usr/lib/python2.6/xmlrpclib.pyc in __call__(self, *args)
1197 return _Method(self.__send, "%s.%s" % (self.__name, name))
1198 def __call__(self, *args):
-> 1199 return self.__send(self.__name, args)
1200
1201 ##
/usr/lib/python2.6/xmlrpclib.pyc in __request(self, methodname, params)
1487 self.__handler,
1488 request,
-> 1489 verbose=self.__verbose
1490 )
1491
/usr/lib/python2.6/xmlrpclib.pyc in request(self, host, handler, request_body, verbose)
1251 sock = None
1252
-> 1253 return self._parse_response(h.getfile(), sock)
1254
1255 ##
/usr/lib/python2.6/xmlrpclib.pyc in _parse_response(self, file, sock)
1390 p.close()
1391
-> 1392 return u.close()
1393
1394 ##
/usr/lib/python2.6/xmlrpclib.pyc in close(self)
836 raise ResponseError()
837 if self._type == "fault":
--> 838 raise Fault(**self._stack[0])
839 return tuple(self._stack)
840
Fault: <Fault -32601: 'server error. requested method mt.__name__.__coerce__ does not exist.'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment