These are steps I took to try to pinpoint watchman issue,
I previously before this installed latest versions of biblepay on my Masternode setup from a month ago:
===
On Sanctuary/Masternode Linux Wallet:
=== Stop Biblepay & Delete Old Testnet .Dat Data
cd biblepay/src
./biblepay-cli stop
cd ~/.biblepaycore/testnet3
rm blocks -R
rm chainstate -R
rm banlist.dat
rm fee_estimates.dat
rm governance.dat
rm mncache.dat
rm mnpayments.dat
rm netfulfilled.dat
rm peers.dat
=== Delete, Download and Setup Watchman
cd ..
rm -r -f watchman
git clone
https://github.com/biblepay/watchman.gitcd watchman
virtualenv venv
venv/bin/pip install -r requirements.txt
vi watchman.conf
i
(add hashtag # to front of network=mainnet)
(remove hashtag # in front of network=testnet)
ESC
:wq
=== Turn on BiblePay
cd ../../biblepay/src
./biblepayd -daemon
(Wait for full sync)
=== Now Try Watchman
cd ~/.biblepaycore/watchman
venv/bin/python bin/watchman.py
OUTPUT: None, Blank, Yay!
============================================
~/.biblepaycore/watchman$ ./venv/bin/py.test ./test
=========================================================== test session starts ===========================================================
platform linux2 -- Python 2.7.12, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
rootdir: /home/ubuntu/.biblepaycore/watchman, inifile:
collected 12 items / 2 errors
================================================================= ERRORS ==================================================================
___________________________________________ ERROR collecting test/unit/models/test_proposals.py ___________________________________________
test/unit/models/test_proposals.py:10: in <module>
from models import GovernanceObject, Proposal, Vote
lib/models.py:5: in <module>
import init
lib/init.py:103: in <module>
main()
lib/init.py:94: in main
if not is_database_correctly_configured():
lib/init.py:55: in is_database_correctly_configured
sys.exit(1)
E SystemExit: 1
------------------------------------------------------------- Captured stdout -------------------------------------------------------------
[error]: unable to open database file
Cannot connect to database. Please ensure database service is running and user access is properly configured in 'watchman.conf'.
__________________________________________ ERROR collecting test/unit/models/test_superblocks.py __________________________________________
test/unit/models/test_superblocks.py:10: in <module>
from models import GovernanceObject, Proposal, Superblock, Vote
lib/models.py:5: in <module>
import init
lib/init.py:103: in <module>
main()
lib/init.py:94: in main
if not is_database_correctly_configured():
lib/init.py:55: in is_database_correctly_configured
sys.exit(1)
E SystemExit: 1
------------------------------------------------------------- Captured stdout -------------------------------------------------------------
[error]: unable to open database file
Cannot connect to database. Please ensure database service is running and user access is properly configured in 'watchman.conf'.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================================================= 2 error in 0.18 seconds ========================================================
=== Watchman Database Poking
sudo apt-get install sqlite3
sqlite3 Watchman
sqlite>
select * from votes;
.table <enter>
== OUTPUT:
1|2|2|1|2017-11-13 16:20:01.419328|2017-11-13 16:20:01.419338|2017-11-13 16:20:01.419344|f2ff8b0970c959e1ea750234593ff358f9ea7ce8e162a6c6ab50c6b31035330c
governance_objects proposals signals votes
outcomes settings superblocks watchdogs
CTRL + D to exit sqlite
=========
=== Windows Home Controller Wallet - Unban, Reindex and Start Masternode
Tools >> Peer List >> (Unban banned peers)
Tools >> Wallet Repair >> Rebuild index
Tools >> Debug Console
masternode list
masternode list-conf
masternode start-alias MASTERNODENAME
setgenerate true 4
(I started mining, and am waiting for Masternode/Sanctuary to get out of PRE_ENABLED state)
(No Watch dog expired state so that seems good)
=== Linux Masternode/Sanctuary Wallet - Check Status
./biblepay-cli masternode status
{
"vin": "CTxIn(COutPoint(be3eaf8322909bbb150d89058bf261f0a2bf96369c8928313a3d69e2d5087add, 1), scriptSig=)",
"service": "34.208.206.95:40001",
"payee": "yggy2oVuVKTsVJvLycK6V9HW7qP9ybVcbF",
"status": "Masternode successfully started"
}