Skip to content

Instantly share code, notes, and snippets.

@desnudopenguino
Last active November 25, 2016 20:01
Show Gist options
  • Save desnudopenguino/82ad7e630152a16639698e9d7969712a to your computer and use it in GitHub Desktop.
Save desnudopenguino/82ad7e630152a16639698e9d7969712a to your computer and use it in GitHub Desktop.
Error when running make (test) after installing OpenBazaar
bucky@hal:~/openbazaar_test/OpenBazaar-Server$ make [191/191]
./scripts/pycheck.sh
/usr/local/bin/pylint
.: Checking python source files...
find: -not: unknown option
PASS: Successfully checked 0 files.
nosetests -vs --with-doctest --with-coverage --cover-package=dht --cover-package=db --cover-package
=market --cover-inclusive ./dht/tests ./db/tests ./market/tests
Failure: AttributeError ('NoneType' object has no attribute 'endswith') ... ERROR
test_getNoneNodeById ... ok
test_iteration ... ok
test_maxSize ... ok
test_remove ... ok
test_create_proto ... ok
test_distanceCalculation ... ok
test_longID ... ok
test_tuple ... ok
Failure: AttributeError ('NoneType' object has no attribute 'endswith') ... ERROR
test_addNode ... ok
test_inRange ... ok
test_removeNode ... ok
test_split ... ok
test_addContact ... ok
test_addDuplicate ... ok
test_addSameIP ... ok
test_delete ... ok
test_get ... ok
test_getSpecific ... ok
test_iteritems ... ok
test_iterkeys ... ok
test_setitem ... ok
test_ttl ... ok
test_order ... ok
test_defferedDict ... ok
test_digest ... ok
test_sharedPrefix ... ok
Failure: AttributeError ('NoneType' object has no attribute 'endswith') ... ERROR
test_BtcPrice ... ok
test_BtcPrice_loadbitcoinaverage ... ok
test_BtcPrice_loadbitcoincharts ... Error reading loadbitcoincharts data'24h'
BtcPrice unable to load Bitcoin exchange price
Error reading loadbitcoincharts data'24h'
BtcPrice unable to load Bitcoin exchange price
ok
test_BtcPrice_loadbitpay ... ok
test_BtcPrice_loadblockchain ... ok
BroadcastListenerImpl correctly notifies. ... ok
test_MarketListeners_notifiation_notify_success ... ok
test_MarketListeners_notifiation_push_success ... ok
MessageListenerImpl correctly notify with handle. ... ok
MessageListenerImpl correctly notify without handle. ... ok
test_MarketListeners_save_message_exception ... ok
Failure: AttributeError ('NoneType' object has no attribute 'endswith') ... ERROR
Failure: AttributeError ('NoneType' object has no attribute 'endswith') ... ERROR
Email not sent when disabled ... ok
Email sent when enabled ... ok
Email sent when enabled ... ok
Email sent when enabled ... ok
SMTP Notification settings correctly set. ... ok
======================================================================
ERROR: Failure: AttributeError ('NoneType' object has no attribute 'endswith')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/bucky/openbazaar_test/OpenBazaar-Server/dht/tests/test_crawling.py", line 8, in <modu
le>
from db.datastore import Database
File "/home/bucky/openbazaar_test/OpenBazaar-Server/db/datastore.py", line 8, in <module>
from config import DATA_FOLDER
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 164, in <module>
DATA_FOLDER = _platform_agnostic_data_path(cfg.get('CONSTANTS', 'DATA_FOLDER'))
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 69, in _platform_agnostic_da
ta_path
return join(_platform_agnostic_home_path(), _platform_agnostic_data_folder(data_folder), '')
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 96, in _platform_agnostic_da
ta_folder
name = join(os.getenv('APPDATA'), 'OpenBazaar')
File "/usr/local/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
======================================================================
ERROR: Failure: AttributeError ('NoneType' object has no attribute 'endswith')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/bucky/openbazaar_test/OpenBazaar-Server/dht/tests/test_protocol.py", line 15, in <mod
ule>
from dht.protocol import KademliaProtocol
File "/home/bucky/openbazaar_test/OpenBazaar-Server/dht/protocol.py", line 15, in <module>
from net.rpcudp import RPCProtocol
File "/home/bucky/openbazaar_test/OpenBazaar-Server/net/rpcudp.py", line 9, in <module>
from config import PROTOCOL_VERSION
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 164, in <module>
DATA_FOLDER = _platform_agnostic_data_path(cfg.get('CONSTANTS', 'DATA_FOLDER'))
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 69, in _platform_agnostic_da
ta_path
return join(_platform_agnostic_home_path(), _platform_agnostic_data_folder(data_folder), '')
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 96, in _platform_agnostic_da
ta_folder
name = join(os.getenv('APPDATA'), 'OpenBazaar')
File "/usr/local/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
======================================================================
ERROR: Failure: AttributeError ('NoneType' object has no attribute 'endswith')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/bucky/openbazaar_test/OpenBazaar-Server/db/tests/test_datastore.py", line 4, in <modu
le>
from db.datastore import Database
File "/home/bucky/openbazaar_test/OpenBazaar-Server/db/datastore.py", line 8, in <module>
from config import DATA_FOLDER
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 164, in <module>
DATA_FOLDER = _platform_agnostic_data_path(cfg.get('CONSTANTS', 'DATA_FOLDER'))
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 69, in _platform_agnostic_da
ta_path
return join(_platform_agnostic_home_path(), _platform_agnostic_data_folder(data_folder), '')
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 96, in _platform_agnostic_da
ta_folder
name = join(os.getenv('APPDATA'), 'OpenBazaar')
File "/usr/local/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
======================================================================
ERROR: Failure: AttributeError ('NoneType' object has no attribute 'endswith')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/bucky/openbazaar_test/OpenBazaar-Server/market/tests/test_profile.py", line 5, in <mo
dule>
from db.datastore import Database
File "/home/bucky/openbazaar_test/OpenBazaar-Server/db/datastore.py", line 8, in <module>
from config import DATA_FOLDER
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 164, in <module>
DATA_FOLDER = _platform_agnostic_data_path(cfg.get('CONSTANTS', 'DATA_FOLDER'))
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 69, in _platform_agnostic_da
ta_path
return join(_platform_agnostic_home_path(), _platform_agnostic_data_folder(data_folder), '')
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 96, in _platform_agnostic_da
ta_folder
name = join(os.getenv('APPDATA'), 'OpenBazaar')
File "/usr/local/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
======================================================================
ERROR: Failure: AttributeError ('NoneType' object has no attribute 'endswith')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/bucky/openbazaar_test/OpenBazaar-Server/market/tests/test_protocol.py", line 7, in <m
odule>
from market.protocol import MarketProtocol
File "/home/bucky/openbazaar_test/OpenBazaar-Server/market/protocol.py", line 14, in <module>
from market.contracts import Contract
File "/home/bucky/openbazaar_test/OpenBazaar-Server/market/contracts.py", line 17, in <module>
from config import DATA_FOLDER, TRANSACTION_FEE
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 164, in <module>
DATA_FOLDER = _platform_agnostic_data_path(cfg.get('CONSTANTS', 'DATA_FOLDER'))
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 69, in _platform_agnostic_da
ta_path
return join(_platform_agnostic_home_path(), _platform_agnostic_data_folder(data_folder), '')
File "/home/bucky/openbazaar_test/OpenBazaar-Server/config.py", line 96, in _platform_agnostic_da
ta_folder
name = join(os.getenv('APPDATA'), 'OpenBazaar')
File "/usr/local/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
Name Stmts Miss Cover Missing
-------------------------------------------------------
db 1 0 100%
dht 0 0 100%
dht.node 88 14 84% 44, 59, 62, 91, 100-101, 105, 108, 111, 114-116, 14
3, 147
dht.routing 123 42 66% 38, 50, 71-72, 75, 78, 86-91, 94, 100-113, 132-134,
141, 148-149, 168-172, 183-191
dht.storage 96 17 82% 111-112, 125-126, 136-137, 144-145, 148-150, 153-15
8
dht.utils 31 0 100%
market 2 0 100%
market.audit 15 10 33% 12-17, 27-34
market.btcprice 70 3 96% 44-45, 76
market.listeners 64 3 95% 68-70
market.smtpnotification 39 0 100%
-------------------------------------------------------
TOTAL 529 89 83%
----------------------------------------------------------------------
Ran 47 tests in 4.449s
FAILED (errors=5)
*** Error 1 in /home/bucky/openbazaar_test/OpenBazaar-Server (Makefile:9 'unittest')
bucky@hal:~/openbazaar_test/OpenBazaar-Server$ make
./scripts/pycheck.sh
/usr/local/bin/pylint
.: Checking python source files...
find: -not: unknown option
PASS: Successfully checked 0 files.
nosetests -vs --with-doctest --with-coverage --cover-package=dht --cover-package=db --cover-package
=market --cover-inclusive ./dht/tests ./db/tests ./market/tests
test_find ... migrating to db version 7
ok
test_nodesFound ... migrating to db version 7
ok
test_getNodeList ... ok
test_getValue ... ok
test_happened ... ok
test_hasValue ... ok
test_find ... migrating to db version 7
ok
test_handleFoundValues ... migrating to db version 7
ok
test_nodesFound ... migrating to db version 7
ok
test_getNoneNodeById ... ok
test_iteration ... ok
test_maxSize ... ok
test_remove ... ok
test_create_proto ... ok
test_distanceCalculation ... ok
test_longID ... ok
test_tuple ... ok
test_acceptResponse ... migrating to db version 7
ok
test_badRPCDelete ... migrating to db version 7
ok
test_bad_rpc_store ... migrating to db version 7
ok
test_callDelete ... migrating to db version 7
ok
test_callFindNode ... migrating to db version 7
ok
test_callFindValue ... migrating to db version 7
ok
test_callPing ... migrating to db version 7
ok
test_callStore ... migrating to db version 7
ok
test_invalid_datagram ... migrating to db version 7
ok
test_refreshIDs ... migrating to db version 7
ok
test_rpc_delete ... migrating to db version 7
ok
test_rpc_find_node ... migrating to db version 7
ok
test_rpc_find_value ... migrating to db version 7
ok
test_rpc_find_without_value ... migrating to db version 7
ok
test_rpc_ping ... migrating to db version 7
ok
test_rpc_store ... migrating to db version 7
ok
test_rpc_stun ... migrating to db version 7
ok
test_timeout ... migrating to db version 7
ok
test_transferKeyValues ... migrating to db version 7
ok
test_unknownRPC ... migrating to db version 7
ok
test_addNode ... ok
test_inRange ... ok
test_removeNode ... ok
test_split ... ok
test_addContact ... ok
test_addDuplicate ... ok
test_addSameIP ... ok
test_delete ... ok
test_get ... ok
test_getSpecific ... ok
test_iteritems ... ok
test_iterkeys ... ok
test_setitem ... ok
test_ttl ... ok
test_order ... ok
test_defferedDict ... ok
test_digest ... ok
test_sharedPrefix ... ok
test_BroadcastStore (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_MassageStore (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_ModeratorStore (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_NotificationStore (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_Purchases (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_Sales (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_Settings (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_VendorStore (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_addListing (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_deleteFollower (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_deleteListing (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_follow_unfollow (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_getKeyFromEmptyTable (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_hashmapDelete (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_hashmapGetAll (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_hashmapGetEmpty (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_hashmapInsert (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_setBitcoinKey (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_setGUIDKey (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_setProto (db.tests.test_datastore.DatastoreTest) ... migrating to db version 7
ok
test_BtcPrice ... ok
test_BtcPrice_loadbitcoinaverage ... ok
test_BtcPrice_loadbitcoincharts ... Error reading loadbitcoincharts data'24h'
BtcPrice unable to load Bitcoin exchange price
Error reading loadbitcoincharts data'24h'
BtcPrice unable to load Bitcoin exchange price
ok
test_BtcPrice_loadbitpay ... ok
test_BtcPrice_loadblockchain ... ok
BroadcastListenerImpl correctly notifies. ... ok
test_MarketListeners_notifiation_notify_success ... ok
test_MarketListeners_notifiation_push_success ... ok
MessageListenerImpl correctly notify with handle. ... ok
MessageListenerImpl correctly notify without handle. ... ok
test_MarketListeners_save_message_exception ... ok
test_MarketProfile_add_pgp_key_success ... migrating to db version 7
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response
result._handle_status(keyword, value)
File "/usr/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 1419, in _handle_status
raise ValueError("Unknown status message: %r" % key)
ValueError: Unknown status message: u'NEWSIG'
FAIL
test_MarketProfile_add_pgp_key_wrong_guid ... migrating to db version 7
Exception in thread Thread-11:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response
result._handle_status(keyword, value)
File "/usr/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 1419, in _handle_status
raise ValueError("Unknown status message: %r" % key)
ValueError: Unknown status message: u'NEWSIG'
ok
test_MarketProfile_add_social_invalid ... migrating to db version 7
ok
test_MarketProfile_add_social_no_proof ... migrating to db version 7
ok
test_MarketProfile_add_social_with_proof ... migrating to db version 7
ok
test_MarketProfile_get_success ... migrating to db version 7
ok
test_MarketProfile_get_temp_handle ... migrating to db version 7
ok
test_MarketProfile_remove_field_success ... migrating to db version 7
ok
test_MarketProfile_remove_lowercase_social ... migrating to db version 7
ok
test_MarketProfile_remove_social ... migrating to db version 7
ok
test_MarketProfile_remove_social_invalid ... migrating to db version 7
ok
test_MarketProfile_replace_social_no_proof ... migrating to db version 7
ok
test_MarketProfile_replace_social_with_proof ... migrating to db version 7
ok
test_MarketProfile_update_success ... migrating to db version 7
ok
test_MarketProtocol_get_serialized_success ... migrating to db version 7
ok
test_MarketProtocol_add_listener_correctly ... ok
test_MarketProtocol_connect_multiplexer_correctly ... ok
test_MarketProtocol_rpc_get_image_invalid_image_hash ... ok
Email not sent when disabled ... ok
Email sent when enabled ... ok
Email sent when enabled ... ok
Email sent when enabled ... ok
SMTP Notification settings correctly set. ... ok
======================================================================
FAIL: test_MarketProfile_add_pgp_key_success
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 150, in maybeDeferr
ed
result = f(*args, **kw)
File "/usr/local/lib/python2.7/site-packages/twisted/internet/utils.py", line 201, in runWithWarn
ingsSuppressed
reraise(exc_info[1], exc_info[2])
File "/usr/local/lib/python2.7/site-packages/twisted/internet/utils.py", line 197, in runWithWarn
ingsSuppressed
result = f(*a, **kw)
File "/home/bucky/openbazaar_test/OpenBazaar-Server/market/tests/test_profile.py", line 174, in t
est_MarketProfile_add_pgp_key_success
self.assertTrue(p.add_pgp_key(self.PUBLIC_KEY, self.SIGNATURE, self.VALID_GUID))
File "/usr/local/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 400, in assertTrue
super(_Assertions, self).assertTrue(condition, msg)
File "/usr/local/lib/python2.7/unittest/case.py", line 422, in assertTrue
raise self.failureException(msg)
FailTest: False is not true
-------------------- >> begin captured logging << --------------------
gnupg: ERROR: Could not find binary for 'gpg'.
gnupg: DEBUG: GPGBase._homedir_setter(): got directory '/home/bucky/.config/python-gnupg'
gnupg: DEBUG: GPGBase._homedir_setter(): Check existence of '/home/bucky/.config/python-gnupg'
gnupg: DEBUG: GPGBase._homedir_setter(): checking permissions
gnupg: INFO: Setting homedir to '/home/bucky/.config/python-gnupg'
gnupg: DEBUG: Got arg string: --list-config
gnupg: DEBUG: Got groups: {'--list-config': ''}
gnupg: DEBUG: Appending option: --list-config
gnupg: DEBUG: Got arg string: --with-colons
gnupg: DEBUG: Got groups: {'--with-colons': ''}
gnupg: DEBUG: Appending option: --with-colons
gnupg: DEBUG: Sending command to GnuPG process:
['/usr/local/bin/gpg2', '--no-options', '--no-emit-version', '--no-tty', '--status-fd', '2', '--hom
edir', '/home/bucky/.config/python-gnupg', '--no-default-keyring', '--keyring', '/home/bucky/.confi
g/python-gnupg/pubring.gpg', '--secret-keyring', '/home/bucky/.config/python-gnupg/secring.gpg', '-
-no-use-agent', '--list-config', '--with-colons']
gnupg: DEBUG: Reading data from stream "<open file '<fdopen>', mode 'rb' at 0x175b0761e780>"...
gnupg: DEBUG: Read 444 bytes
gnupg: DEBUG: Finishing reading from stream "<open file '<fdopen>', mode 'rb' at 0x175b0761e780>"..
.
gnupg: DEBUG: Read 444 bytes total
gnupg: DEBUG: Using GnuPG version 2.1.9
gnupg: INFO:
Initialised settings:
binary: /usr/local/bin/gpg2
binary version: 2.1.9
homedir: /home/bucky/.config/python-gnupg
ignore_homedir_permissions: False
keyring: /home/bucky/.config/python-gnupg/pubring.gpg
secring: /home/bucky/.config/python-gnupg/secring.gpg
default_preference_list: SHA512 SHA384 SHA256 AES256 CAMELLIA256 TWOFISH AES192 ZLIB ZIP Uncompress
ed
keyserver: hkp://wwwkeys.pgp.net
options: None
verbose: False
use_agent: False
gnupg: INFO: Importing: '-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQENBFbGMvQBCAD
I9MkIEyVeyeAV+R4za8DuFEJbUviWmwTV+iCpt4utcsBNQa+/\nMWxcQcZK76hY9l6/xvXNZifnMozfifFL4n+FR4hFYp8fwB6Q
jikACsd6CfO2coUk\np3aZSvP1ops2Z/LRNLf1QAqtltnMqkBcKPHp3JMcZUmOx1gOWfSrnc2b2Jk45sW2\npD0tk'
gnupg: DEBUG: Got arg string: --import
gnupg: DEBUG: Got groups: {'--import': ''}
gnupg: DEBUG: Appending option: --import
gnupg: DEBUG: Sending command to GnuPG process:
['/usr/local/bin/gpg2', '--no-options', '--no-emit-version', '--no-tty', '--status-fd', '2', '--hom
edir', '/home/bucky/.config/python-gnupg', '--no-default-keyring', '--keyring', '/home/bucky/.confi
g/python-gnupg/pubring.gpg', '--secret-keyring', '/home/bucky/.config/python-gnupg/secring.gpg', '-
-import']
gnupg: DEBUG: <Thread(Thread-1, initial daemon)>, <_io.BytesIO object at 0x175b61cc9110>, <open fil
e '<fdopen>', mode 'wb' at 0x175b0761e810>
gnupg: DEBUG: Sending 1024 bytes of data...
gnupg: DEBUG: Encoded data (type <type 'str'>):
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBFbGMvQBCADI9MkIEyVeyeAV+R4za8DuFEJbUviWmwTV+iCpt4utcsBNQa+/
MWxcQcZK76hY9l6/xvXNZifnMozfifFL4n+FR4hFYp8fwB6QjikACsd6CfO2coUk
p3aZSvP1ops2Z/LRNLf1QAqtltnMqkBcKPHp3JMcZUmOx1gOWfSrnc2b2Jk45sW2
pD0tk3v4UU/4WP20lzHnnCTQaVT7RkDivcZEVSfACtYWKBvL8iHtDJds0hsb5nSs
qUTnK7IPkAdL8iHTNtCRoReyPPbnTQQMdWGNxyBpgOd2tAUtWEMyUfLa9/Hl0dgA
TnI6c8SG8mugvucoeLujqJjlzfIVR8QejLd9ABEBAAG0HE9CIFRlc3QgPG9idGVz
dEBpbnZhbGlkLmNvbT6JATgEEwECACIFAlbGMvQCGwMGCwkIBwMCBhUIAgkKCwQW
AgMBAh4BAheAAAoJEIsTPki+1mH2NtsH/jprOKjdltcUS4eQ3PD555xYX++qpVkT
lv0MH+NP3eTD8v/LA1pAqjI1Lb58SxT7j5mAgJkJmMZylmHhptOBvtW8hpIAAdYM
4ywDVyZO9lz9tk4snU8cZiZqKi3Rp3FWwR3dR+Eyx1ciiYNN2nhQoLZUhynE2ShB
O6dk9VpWjdNhK1PU2umSopNJBb6bTes00HnHordml/StrxQPmyoJ8ZEV452Mztzx
WcryI42F7OsHPAg3hxD1QZ9cf9SIl9/p4x8Td/yms2y+rL8p7t4zBmgxAFDcBRsh
qllYKJpeVP4Jb6uOGiVyUUB+rr5/G8C9tpjPjYpbe0EHvTOdKqSZrMe5AQ0EVsYy
9AEIAJci80lDNCrpQaOIgXBouWhOwKMzteg/LvtwVbtLu8biJSNv1z7v/BBBhYuJ
OzbF60L4a/e25dsgEc/3kG2FzBAjq3ecR/2DxfF4e2dio+SUtOdf9ycK3V
gnupg: DEBUG: Wrote data type <type 'str'> to outstream.
gnupg: DEBUG: Sending 1692 bytes of data...
gnupg: DEBUG: Encoded data (type <type 'str'>):
XmJMas
KpYmOdSAfMMSzDmCBbwXQ27gxBdu4+gSmsWh31MLACZ29C0L+p99x6uoFX5hgOC8
XelhWAa4dsCOXDIbkOTVl44XSoMyQtFZmEsyRp7/7h78osgssinFgY87/EXE3exC
fYNLZhotQWuqKn+2NvvED/UShVfzOCmkobVltAKRVC8vgQn3ALBgmtw7J9P0fr2z
IW0E9NR6I6JdbWLz+6hZ6sTSFZ0AEQEAAYkBHwQYAQIACQUCVsYy9AIbDAAKCRCL
Ez5IvtZh9jsJB/4z9sNqCiKo/FYIBG6mTlWTZ0fTnfTy81zUTVmfPhJtnjGDGk6l
r5jqi6itSx+qkRiV9W9IVUQLXboKIXFjugiWNTqbYtURiCigNis2SEkQ1uYp3y3H
o7IQG52dTqB5gopOx/jNDrcv0z7Vf71UOg9L0WU/5F4AZhxUMo0jCQudWbp0okEo
yOjZDvyBt/8ESAZCa/51doYeKBq+olS03AusUF6S1tyIOHaFWA/cCumc0QzdrHkD
gPJjjEdv9iS9Gyyc/G5p9xcIch3lw+pcRLqBAch4AGKJPudEN9P/fbbMCeCbJLif
FAfk98lyZjL/oXBb5qX9qcQguehRyuE4ccGD=F9sf
-----END PGP PUBLIC KEY BLOCK-----
gnupg: DEBUG: Wrote data type <type 'str'> to outstream.
gnupg: DEBUG: Closed outstream: 1692 bytes sent.
gnupg: DEBUG: stderr reader: <Thread(Thread-2, initial daemon)>
gnupg: GNUPG: IMPORT_OK 0 0480DCCEC12BB8C798BC3ABB8B133E48BED661F6
gnupg: GNUPG: IMPORT_RES 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0
gnupg: DEBUG: stdout reader: <Thread(Thread-3, initial daemon)>
gnupg: DEBUG: Reading data from stream "<open file '<fdopen>', mode 'rb' at 0x175b0761e6f0>"...
gnupg: DEBUG: Finishing reading from stream "<open file '<fdopen>', mode 'rb' at 0x175b0761e6f0>"..
.
gnupg: DEBUG: Read 0 bytes total
gnupg: DEBUG: verify_file(): Handling embedded signature
gnupg: DEBUG: Got arg string: --verify
gnupg: DEBUG: Got groups: {'--verify': ''}
gnupg: DEBUG: Appending option: --verify
gnupg: DEBUG: Sending command to GnuPG process:
['/usr/local/bin/gpg2', '--no-options', '--no-emit-version', '--no-tty', '--status-fd', '2', '--hom
edir', '/home/bucky/.config/python-gnupg', '--no-default-keyring', '--keyring', '/home/bucky/.confi
g/python-gnupg/pubring.gpg', '--secret-keyring', '/home/bucky/.config/python-gnupg/secring.gpg', '-
-verify']
gnupg: DEBUG: <Thread(Thread-4, initial daemon)>, <_io.BytesIO object at 0x175b61cc9110>, <open fil
e '<fdopen>', mode 'wb' at 0x175b0761e810>
gnupg: DEBUG: Sending 556 bytes of data...
gnupg: DEBUG: Encoded data (type <type 'str'>):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
4c103483-3757-4ac6-85af-51e1f3193236
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJWxjoAAAoJEIsTPki+1mH2cGkH/0w+Q0V00oYtM86kifiH5iY7
//uMjCv0pAaupcanJMBi0lJPVa0uijz09fXThF+pWq85nDTx5FDklNexzzqUEaaR
Qggk3abEm9LjXYS9gq0AR5Va0qxBo4Xe8oMAheYIyC4/ikG627ew+x5VMPfKfbFq
zaX5wLzZGfrFtWetE1kFBbzlmdb8jARlkRB68nvzSH3vCoyLkRXa9/l7FXouIuNG
4i5iTMeM4T+bu6A5yS4Fz67+AGZnC2VZwzsz3RrpuAV65LoM3w2wfFrM6sni76Gu
/+VUFmAv+o3i0gbTCbaf3wc0SYrD5hrzjilqPVCmTxQYe4cOD8N6D1ZrTYyMdYU=
=FPwF
-----END PGP SIGNATURE-----
gnupg: DEBUG: stderr reader: <Thread(Thread-5, initial daemon)>
gnupg: DEBUG: Wrote data type <type 'str'> to outstream.
gnupg: GNUPG: NEWSIG
gnupg: DEBUG: Closed outstream: 556 bytes sent.
gnupg: DEBUG: stdout reader: <Thread(Thread-6, initial daemon)>
gnupg: DEBUG: Reading data from stream "<open file '<fdopen>', mode 'rb' at 0x175b0761e780>"...
gnupg: DEBUG: Finishing reading from stream "<open file '<fdopen>', mode 'rb' at 0x175b0761e780>"..
.
gnupg: DEBUG: Read 0 bytes total
--------------------- >> end captured logging << ---------------------
Name Stmts Miss Cover Missing
--------------------------------------------------------
db 1 0 100%
db.datastore 1004 254 75% 47, 54, 60, 77-80, 201-206, 208-212, 214-217, 219-
221, 223-224, 226-227, 317, 325, 576-577, 586, 600-607, 632-636, 664, 669-676, 750-755, 815-816, 83
9-840, 872-873, 924-925, 975-980, 989, 994-1002, 1019, 1024-1032, 1053-1054, 1088-1095, 1114-1119,
1128, 1133-1141, 1166, 1181-1192, 1195-1200, 1203-1209, 1212-1220, 1223-1231, 1234-1239, 1242-1247,
1259-1266, 1269-1287, 1290-1307, 1320-1325, 1328-1333, 1336-1341, 1378-1384, 1387-1392, 1403-1412,
1415-1420, 1423-1428
db.migrations 2 0 100%
db.migrations.migration1 16 14 13% 5-30
db.migrations.migration2 16 13 19% 6-25
db.migrations.migration3 20 17 15% 6-33
db.migrations.migration4 15 13 13% 5-21
db.migrations.migration5 15 13 13% 4-20
db.migrations.migration6 15 13 13% 5-21
db.migrations.migration7 12 0 100%
dht 0 0 100%
dht.crawling 136 9 93% 62-63, 129-130, 155-156, 186-188
dht.node 88 0 100%
dht.protocol 198 70 65% 72-78, 92-93, 103, 118-128, 131-139, 166-167, 183-
200, 208-209, 220, 229-241, 251-255, 260
dht.routing 123 22 82% 38, 50, 71-72, 75, 78, 104-106, 109-111, 132-134,
148-149, 168-172, 189
dht.storage 96 15 84% 125-126, 136-137, 144-145, 148-150, 153-158
dht.utils 31 0 100%
market 2 0 100%
market.audit 15 6 60% 27-34
market.btcprice 70 3 96% 44-45, 76
market.contracts 936 885 5% 52-94, 140-279, 297-427, 442-502, 508-560, 578-696
, 703-801, 808-869, 878-907, 910-960, 963, 966-975, 978-984, 993-1014, 1028-1088, 1091-1154, 1162-1
309, 1312-1435, 1438, 1446-1454, 1458-1499
market.listeners 64 3 95% 68-70
market.moderation 120 104 13% 37-135, 156-209
market.profile 58 6 90% 75-80
market.protocol 418 328 22% 54-63, 71-74, 80-88, 91-104, 107-122, 125-140, 143
-180, 183-193, 196-203, 206-213, 216-233, 236-260, 263-287, 290-305, 308-325, 328-340, 343-354, 357
-373, 376-388, 391-392, 395-396, 399-400, 403-404, 407-408, 411-412, 415-416, 419-420, 423-427, 430
-431, 434-435, 438-439, 442-443, 446-447, 450-451, 454-455, 458-459, 462-466, 469-470, 477-482, 485
-490, 493-498, 501
market.smtpnotification 39 0 100%
market.transactions 90 63 30% 26-28, 45-68, 72-73, 80-88, 94-103, 114-118, 125,
134, 147-158, 161-164, 167, 170, 175-182
--------------------------------------------------------
TOTAL 3600 1851 49%
----------------------------------------------------------------------
Ran 109 tests in 9.814s
FAILED (failures=1)
*** Error 1 in /home/bucky/openbazaar_test/OpenBazaar-Server (Makefile:9 'unittest')
@desnudopenguino
Copy link
Author

Fixed first set of errors by adding a function _is_openbsd() to the config.py file and using it in the _platform_agnostic_data_folder function (along side _is_linux and is_osx)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment