Skip to content

Instantly share code, notes, and snippets.

@admc
Created April 27, 2009 22:59
Show Gist options
  • Save admc/102802 to your computer and use it in GitHub Desktop.
Save admc/102802 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py", line 460, in __bootstrap
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "/Users/adam/Documents/projects/windmill/branches/1.1.x/windmill/bin/shell_objects.py", line 113, in run_functest
functest.run_framework(test_args=[module_name], test_runner=WindmillFunctestRunner())
File "/Users/adam/Documents/projects/functest/functest/__init__.py", line 37, in run_framework
totals = frame.execute(tests)
File "/Users/adam/Documents/projects/functest/functest/frame.py", line 48, in execute
execute( [(mod, [],)], )
File "/Users/adam/Documents/projects/functest/functest/frame.py", line 44, in execute
run_test_module(test_module)
File "/Users/adam/Documents/projects/functest/functest/frame.py", line 124, in run_test_module
result = run_test_function(func)
File "/Users/adam/Documents/projects/functest/functest/frame.py", line 156, in run_test_function
formatter.highlight_traceback(sys.exc_info())
File "/Users/adam/Documents/projects/functest/functest/formatter.py", line 61, in highlight_traceback
print(highlight(''.join(tb.encode('ascii', 'ignore')), PythonTracebackLexer(),
AttributeError: 'list' object has no attribute 'encode'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment