Skip to content

Instantly share code, notes, and snippets.

@jisaacstone
Created August 8, 2016 17:16
Show Gist options
  • Save jisaacstone/1df976479a236bf20c94a4a169647740 to your computer and use it in GitHub Desktop.
Save jisaacstone/1df976479a236bf20c94a4a169647740 to your computer and use it in GitHub Desktop.
traceback
(appstream) Isaacs-MacBook-Pro://I/w/n/appstream (appstream:feature/daemon)
$ trial test/
fetching http://www.pythontest.net/unicode/gb-18030-2000.xml ...
fetching http://www.pythontest.net/unicode/EUC-CN.TXT ...
fetching http://www.pythontest.net/unicode/CP936.TXT ...
fetching http://www.pythontest.net/unicode/BIG5HKSCS-2004.TXT ...
fetching http://www.pythontest.net/unicode/CP932.TXT ...
fetching http://www.pythontest.net/unicode/EUC-JISX0213.TXT ...
fetching http://www.pythontest.net/unicode/EUC-JP.TXT ...
fetching http://www.pythontest.net/unicode/SHIFTJIS.TXT ...
fetching http://www.pythontest.net/unicode/SHIFT_JISX0213.TXT ...
fetching http://www.pythontest.net/unicode/CP949.TXT ...
fetching http://www.pythontest.net/unicode/EUC-KR.TXT ...
fetching http://www.pythontest.net/unicode/JOHAB.TXT ...
fetching http://www.pythontest.net/unicode/BIG5.TXT ...
fetching http://www.pythontest.net/unicode/CP950.TXT ...
struct.pack: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00'
Traceback (most recent call last):
File "/Users/Isaac/.virtualenvs/appstream/bin/trial", line 22, in <module>
run()
File "/Users/Isaac/.virtualenvs/appstream/lib/python2.7/site-packages/twisted/scripts/trial.py", line 612, in run
suite = _getSuite(config)
File "/Users/Isaac/.virtualenvs/appstream/lib/python2.7/site-packages/twisted/scripts/trial.py", line 500, in _getSuite
return loader.loadByNames(config['tests'], recurse=recurse)
File "/Users/Isaac/.virtualenvs/appstream/lib/python2.7/site-packages/twisted/trial/runner.py", line 609, in loadByNames
for thing in self._uniqueTests(things)]
File "/Users/Isaac/.virtualenvs/appstream/lib/python2.7/site-packages/twisted/trial/runner.py", line 565, in loadAnything
return self.loadPackage(thing, recurse)
File "/Users/Isaac/.virtualenvs/appstream/lib/python2.7/site-packages/twisted/trial/runner.py", line 515, in loadPackage
thingToAdd = self.loadModule(module)
File "/Users/Isaac/.virtualenvs/appstream/lib/python2.7/site-packages/twisted/trial/runner.py", line 434, in loadModule
suite.addTest(self.loadClass(testClass))
File "/Users/Isaac/.virtualenvs/appstream/lib/python2.7/site-packages/twisted/trial/runner.py", line 454, in loadClass
for name in names])
File "/Users/Isaac/.virtualenvs/appstream/lib/python2.7/site-packages/twisted/trial/runner.py", line 475, in _makeCase
return klass(methodName)
File "/Users/Isaac/.pyenv/versions/2.7.10/lib/python2.7/test/test_multibytecodec_support.py", line 268, in __init__
self.open_mapping_file().close() # test it to report the error early
File "/Users/Isaac/.pyenv/versions/2.7.10/lib/python2.7/test/test_multibytecodec_support.py", line 273, in open_mapping_file
return test_support.open_urlresource(self.mapfileurl)
AttributeError: 'TestBase_Mapping' object has no attribute 'mapfileurl'
(appstream) Isaacs-MacBook-Pro://I/w/n/appstream (appstream:feature/daemon)
$ pip freeze
appnope==0.1.0
autobahn==0.15.0
backports.shutil-get-terminal-size==1.0.0
decorator==4.0.10
ipython==5.0.0
ipython-genutils==0.1.0
pathlib2==2.1.0
pexpect==4.2.0
pickleshare==0.7.3
prompt-toolkit==1.0.5
ptyprocess==0.5.1
Pygments==2.1.3
requests==2.10.0
simplegeneric==0.8.1
six==1.10.0
tqdm==4.8.3
traitlets==4.2.2
Twisted==16.3.0
txaio==2.5.1
wcwidth==0.1.7
zope.interface==4.2.0
(appstream) Isaacs-MacBook-Pro://I/w/n/appstream (appstream:feature/daemon)
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.11.5
BuildVersion: 15F34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment