Post
Topic
Board Pools
Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool
by
spiccioli
on 18/10/2012, 07:30:00 UTC
I renamed the dir back to forrestv-p2pool-7aedd00 and then, to accommodate my script which starts p2pool, made a soft link to it named p2pool.  That script contains "python ~/src/p2pool/run_p2pool.py".  There's still no version output.

[I recognize that this issue is quite trivial and will cheerfully accept lack of a reply.]

P2Pool uses the argv[0] (the path that you give to run_p2pool.py) to find its directory, so it's looking at "~/src/p2pool", and the symlink does nothing. I think it would make most sense to rename it to p2pool_8.2 and run p2pool as "python ~/src/p2pool_8.2/run_p2pool.py". (:

forrestv,

I'm doing the same thing, that is I untar it and then do a

Code:
ln -s ./forrestv-p2pool-7aedd00 p2pool

then I start it with a

Code:
cd p2pool
python ./run_p2pool.py

and it shows, right at the start

Code:
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
2012-10-18 09:25:08.997911 p2pool (version 7aedd00)

So it finds its version even if I start if from a link

spiccioli