Note that with --debug p2pool is not working, just error during startup and traceback, you can see it in log. log contains multiple tries of starting p2pool, last one is successfull without --debug option and contains log from mining on Blade.
Oh, sure, I also had this error. To fix it, I changed file p2pool/data.py from this
for peer_addr, hash, ts, targ in desired:
print ' ', '%s:%i' % peer_addr, format_hash(hash), math.format_dt(time.time() - ts), bitcoin_data.target_to_difficulty(targ), ts >= timestamp_cutoff, targ <= target_cutoff
to this:
for peer_addr, hash, ts, targ in desired:
try:
print ' ', '%s:%i' % peer_addr, format_hash(hash), math.format_dt(time.time() - ts), bitcoin_data.target_to_difficulty(targ), ts >= timestamp_cutoff, targ <= target_cutoff
except:
pass
Now I can run it with --debug