I don’t have anything like a neoscrypt.dll file… I’ve got a neoscrypt.pyd and a neoscrypt.egg could one of these work?
IF so, where would the p2pool code be looking for the dlls?
I don’t have anything like a neoscrypt.dll file… I’ve got a neoscrypt.pyd and a neoscrypt.egg could one of these work?
IF so, where would the p2pool code be looking for the dlls?
Yes, I followed the steps in the readme. The neoscrypt installed into my site-packages folder. It’s still throwing that error. I’ve also added the site-packages folder into my path environment variable.
Okay, that resolved that error and now I get one about the neoscrypt dll, I’ve run the setup.py in the neoscrypt folder. What am I missing?
Error while requesting best block header:
Traceback (most recent call last):
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 653, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 1442, in gotResult
_inlineCallbacks(r, g, deferred)
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File “C:\Python27\lib\site-packages\twisted\python\failure.py”, line 422, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
— <exception caught here> —
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\util\deferral.py”, line 41, in f
result = yield func(*args, **kwargs)
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 1386, in _inlineCallbacks
result = g.send(result)
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\node.py”, line 218, in poll_header
handle_header((yield self.factory.conn.value.get_block_header(self.bitcoind_work.value[‘previous_block’])))
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\node.py”, line 200, in handle_header
if not (self.net.PARENT.POW_FUNC(bitcoin_data.block_header_type.pack(new_header)) <= self.bitcoind_work.value[‘bits’].target):
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\bitcoin\networks\feathercoin.py”, line 17, in <lambda>
POW_FUNC = lambda data: pack.IntType(256).unpack(import(‘neoscrypt’).getPoWHash(data))
exceptions.ImportError: DLL load failed: The specified module could not be found.
just in case it’s helpful here’s the full stack trace:
Fatal error:
Traceback (most recent call last):
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 567, in _startRunCallbacks
self._runCallbacks()
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 653, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 1442, in gotResult
_inlineCallbacks(r, g, deferred)
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 1386, in _inlineCallbacks
result = g.send(result)
— <exception caught here> —
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\main.py”, line 145, in main
my_pubkey_hash = bitcoin_data.address_to_pubkey_hash(address, net.PARENT)
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\bitcoin\data.py”, line 262, in address_to_pubkey_hash
raise ValueError(‘address not for this net!’)
exceptions.ValueError: address not for this net!
.bat file
python run_p2pool.py --net feathercoin
.conf file
server=1
rpcuser=node
rpcpassword=youreamazingsecurepassword
Yes, with only server=1, and user/pass (not really needed) in the feathercoin.conf file
When I updated the p2pool to the new version and attempt to run, I get the following error:
p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\bitcoin\data.py", line 262, in address_to_pubkey_hash
raise ValueError(‘address not for this net!’)
Can anyone help me resolve it?
Almost. I created a linux box and got everything to run and compile right. The only issue now is when I try and use an newly generated receipt address from my wallet it won’t work. Runs fine if I use the address you show in the example at the beginning.
Any thoughts?
ha! Yeah, I added the directory for the .pyd to the path variable :D
I tried copying over the whole folder and it was no good. I’m going to try a new install on a completely different machine and see what happens… this whole thing is just weird.
yeah, I tried that with not much luck… the only thing I could find was a path issue, and I’ve added every directory I could think of to the path just to see if it helped. It didn’t.
Running just the build creates the neoscrypt.pyd file. It seems like the issue is that the python scripts run when starting the pool just don’t know where to find it.
It’s odd because I’ve run this setup guide on another windows machine and not had a single issue.
When I run the setup.py for neoscrypt this is the output in the console;
C:\Python27\Lib\site-packages\p2pool-neoscrypt-master\neoscrypt>python C:\Python27\Lib\site-packages\p2pool-neoscrypt-master\neoscrypt\setup.py build --compile=mingw32 install
running build
running build_ext
running install
running install_lib
running install_egg_info
Removing C:\Python27\Lib\site-packages\neoscrypt-1.0-py2.7.egg-info
Writing C:\Python27\Lib\site-packages\neoscrypt-1.0-py2.7.egg-info
C:\Python27\Lib\site-packages\p2pool-neoscrypt-master\neoscrypt>pause
Press any key to continue . . .
Which appears like it works correctly as the build directory is created.
I don’t have anything like a neoscrypt.dll file… I’ve got a neoscrypt.pyd and a neoscrypt.egg could one of these work?
IF so, where would the p2pool code be looking for the dlls?
Yes, I followed the steps in the readme. The neoscrypt installed into my site-packages folder. It’s still throwing that error. I’ve also added the site-packages folder into my path environment variable.
Okay, that resolved that error and now I get one about the neoscrypt dll, I’ve run the setup.py in the neoscrypt folder. What am I missing?
Error while requesting best block header:
Traceback (most recent call last):
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 653, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 1442, in gotResult
_inlineCallbacks(r, g, deferred)
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File “C:\Python27\lib\site-packages\twisted\python\failure.py”, line 422, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
— <exception caught here> —
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\util\deferral.py”, line 41, in f
result = yield func(*args, **kwargs)
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 1386, in _inlineCallbacks
result = g.send(result)
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\node.py”, line 218, in poll_header
handle_header((yield self.factory.conn.value.get_block_header(self.bitcoind_work.value[‘previous_block’])))
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\node.py”, line 200, in handle_header
if not (self.net.PARENT.POW_FUNC(bitcoin_data.block_header_type.pack(new_header)) <= self.bitcoind_work.value[‘bits’].target):
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\bitcoin\networks\feathercoin.py”, line 17, in <lambda>
POW_FUNC = lambda data: pack.IntType(256).unpack(import(‘neoscrypt’).getPoWHash(data))
exceptions.ImportError: DLL load failed: The specified module could not be found.
just in case it’s helpful here’s the full stack trace:
Fatal error:
Traceback (most recent call last):
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 567, in _startRunCallbacks
self._runCallbacks()
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 653, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 1442, in gotResult
_inlineCallbacks(r, g, deferred)
File “C:\Python27\lib\site-packages\twisted\internet\defer.py”, line 1386, in _inlineCallbacks
result = g.send(result)
— <exception caught here> —
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\main.py”, line 145, in main
my_pubkey_hash = bitcoin_data.address_to_pubkey_hash(address, net.PARENT)
File “C:…\Desktop\p2pool-neoscrypt-16\p2pool-neoscrypt-16\p2pool\bitcoin\data.py”, line 262, in address_to_pubkey_hash
raise ValueError(‘address not for this net!’)
exceptions.ValueError: address not for this net!
.bat file
python run_p2pool.py --net feathercoin
.conf file
server=1
rpcuser=node
rpcpassword=youreamazingsecurepassword
Yes, with only server=1, and user/pass (not really needed) in the feathercoin.conf file