[Snowy] Really handy troubleshooting tool for failed tomboy syncs
- From: Jeff Schroeder <jeffschroeder computer org>
- To: snowy-list gnome org
- Subject: [Snowy] Really handy troubleshooting tool for failed tomboy syncs
- Date: Thu, 4 Nov 2010 12:38:48 -0700
Here is the hack I came up with the snarf the tracebacks when a tomboy
<---> snowy connection setup or sync fails. It might be useful to
someone else.
https://gist.github.com/663028
jeff omniscience:~/snowy (master)$ debugdjango help
Usage: debugdjango [action] [port] [interface]
action = all, help, traceback
-traceback only prints python tracebacks (this is the default)
-all prints everything
-help prints this usage
port = port that snowy is running on. default=8000
interface = interface that snowy is listening on. default=lo
NOTE: All arguments are optional
jeff omniscience:~/snowy (master)$ debugdjango
INFO: Capturing tracebacks on interface lo and port 8000
[sudo] password for jeff:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
Traceback:
File "/home/jeff/svn/django/django/core/handlers/base.py" in get_response
100. response = callback(request,
*callback_args, **callback_kwargs)
File "/home/jeff/svn/django/django/views/decorators/csrf.py" in wrapped_view
23. resp = view_func(*args, **kwargs)
File "/home/jeff/svn/django/django/views/decorators/csrf.py" in wrapped_view
36. return view_func(*args, **kwargs)
File "/home/jeff/snowy/lib/piston/authentication.py" in oauth_request_token
162. token = oauth_server.fetch_request_token(oauth_request)
File "/home/jeff/snowy/lib/piston/oauth.py" in fetch_request_token
403. self._check_signature(oauth_request, consumer, None)
File "/home/jeff/snowy/lib/piston/oauth.py" in _check_signature
500. token, signature)
File "/home/jeff/snowy/lib/piston/oauth.py" in check_signature
596. built = self.build_signature(oauth_request, consumer, token)
File "/home/jeff/snowy/lib/piston/oauth.py" in build_signature
629. hashed = hmac.new(key, raw, sha)
File "/usr/lib/python2.7/hmac.py" in new
134. return HMAC(key, msg, digestmod)
File "/usr/lib/python2.7/hmac.py" in __init__
72. self.outer.update(key.translate(trans_5C))
Sandy mentioned having some debug patches for tomboy which likely do
the same thing, but I'm no C# hacker and didn't know where those
patches are.
--
Jeff Schroeder
Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]