This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2010-10-01 18:57:13-0600 [Proxy,0,127.0.0.1] Unhandled Error | |
| Traceback (most recent call last): | |
| File "/Library/Python/2.6/site-packages/Twisted-10.1.0-py2.6-macosx-10.6-universal.egg/twisted/python/log.py", line 84, in callWithLogger | |
| return callWithContext({"system": lp}, func, *args, **kw) | |
| File "/Library/Python/2.6/site-packages/Twisted-10.1.0-py2.6-macosx-10.6-universal.egg/twisted/python/log.py", line 69, in callWithContext | |
| return context.call({ILogContext: newCtx}, func, *args, **kw) | |
| File "/Library/Python/2.6/site-packages/Twisted-10.1.0-py2.6-macosx-10.6-universal.egg/twisted/python/context.py", line 59, in callWithContext | |
| return self.currentContext().callWithContext(ctx, func, *args, **kw) | |
| File "/Library/Python/2.6/site-packages/Twisted-10.1.0-py2.6-macosx-10.6-universal.egg/twisted/python/context.py", line 37, in callWithContext | |
| return func(*args,**kw) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def main(): | |
| def inner1(): | |
| global domain_name | |
| domain_name = "hi" | |
| inner2() | |
| def inner2(): | |
| print domain_name | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Phantome:NewApplication $ sudo tusk catalog | |
| Password: | |
| js: "/usr/local/narwhal/packages/tusk/lib/tusk.js", line 63: uncaught JavaScript runtime exception: TypeError: Cannot read property "0" from undefined | |
| at /usr/local/narwhal/packages/tusk/lib/tusk.js:63 | |
| at /usr/local/narwhal/packages/tusk/lib/tusk.js:71 | |
| at /usr/local/narwhal/packages/tusk/lib/tusk.js:81 | |
| at /usr/local/narwhal/packages/tusk/lib/tusk/commands/catalog.js:14 | |
| at /usr/local/narwhal/packages/narwhal-lib/lib/narwhal/args.js:194 | |
| at /usr/local/narwhal/packages/narwhal-lib/lib/narwhal/args.js:605 | |
| at /usr/local/narwhal/packages/tusk/lib/tusk.js:174 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| forgotPasswordButtonView: SC.ButtonView.design({ | |
| layout: {top: 177, width: 60, height: 30}, | |
| icon: "sc-icon-help-24", | |
| titleMinWidth: 0, | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import multiprocessing as mp | |
| import riak, os, time, uuid | |
| DB = "perf_test" | |
| WORKERS = 20 | |
| WORK_ATTEMPTS = 20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import multiprocessing as mp | |
| import couchdb, os, time, uuid | |
| URL = "http://localhost:5984" | |
| DB = "perf_test" | |
| WORKERS = 20 | |
| WORK_ATTEMPTS = 20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import multiprocessing as mp | |
| import redis, os, time, uuid | |
| WORKERS = 20 | |
| WORK_ATTEMPTS = 20 | |
| total_doc_list = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def bindToDB(self, dbName): | |
| """ | |
| Bind all operations asking for a DB name to the given DB. | |
| """ | |
| for methname in ["createDB", "deleteDB", "infoDB", "listDoc", | |
| "openDoc", "saveDoc", "deleteDoc", "openView", | |
| "tempView"]: | |
| method = getattr(self, methname) | |
| newMethod = partial(method, dbName) | |
| setattr(self, methname, newMethod) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| /Applications/Browsers/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean. | |
| DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug) | |
| <DelayedCall 0x2214a80 [43198.997438s] called=0 cancelled=0 Proxy.__timedOut()> |