Author

Topic: eloipool (Read 426 times)

full member
Activity: 190
Merit: 100
full member
Activity: 190
Merit: 100
September 26, 2015, 08:50:47 PM
#5
The only error I get now is presumably due to bitcoind not being completely sync'd. Otherwise I think I'm in good shape. TY anyway.
staff
Activity: 3374
Merit: 6530
Just writing some code
September 26, 2015, 08:38:04 PM
#4
According to the dev who wrote it, the errors I get when trying to run it indicate an old, mismatched python installation. I have 2.7 & 3.x installed & if I try to uninstall 2.7, aptitude wants to delete all sorts of stuff I need.

So my mission right now is to figure out how to make eloipool use the newer version of python in case that helps.


Are you sure you need all of those? Most of those are probably just dependencies for python 2.7 and can be removed. But if you don't want to remove them, instead of using the remove command, use the purge command. Purge will only remove that package, and not the dependencies.
full member
Activity: 190
Merit: 100
September 26, 2015, 08:19:35 PM
#3
According to the dev who wrote it, the errors I get when trying to run it indicate an old, mismatched python installation. I have 2.7 & 3.x installed & if I try to uninstall 2.7, aptitude wants to delete all sorts of stuff I need.

So my mission right now is to figure out how to make eloipool use the newer version of python in case that helps.

staff
Activity: 3374
Merit: 6530
Just writing some code
September 26, 2015, 08:05:29 PM
#2
I think you need to copy the config.py.example file to config.py. Then open that file and edit some of it to fit your needs. Everything is explained in comments inside the file. All you really need to change is the address which receives the new Bitcoin and the settings for your local bitcoin daemon for it to run.

Code:
python eloipool.py
is the command to run when you want to start it.

If that was what you are looking for, you can tip the address in my avatar.
full member
Activity: 190
Merit: 100
September 26, 2015, 06:52:59 PM
#1
Hi,

I have a VPS where I've got all the prerequisites installed, & cloned the eloipool source with git.

I don't know what needs to be done to make it so that people can connect.

Luke-jr said I just need to run it from its root directory, but not only I not know how to do that (since its a .py)- there's a config file that confuses me when I look at the example.

So I'm looking for someone to lend a hand & walk me through this.

PM me if interested.

Thanks,
-N

EDIT:
When I do 'python eloipool.py' I get these errors:


admin@crypt0:~/apps/eloipool$ eloipool.py
-bash: eloipool.py: command not found
admin@crypt0:~/apps/eloipool$ python eloipool.py
Traceback (most recent call last):
  File "eloipool.py", line 28, in
    __import__(configmod)
ImportError: No module named config
admin@crypt0:~/apps/eloipool$ python eloipool.py
Traceback (most recent call last):
  File "eloipool.py", line 82, in
    bcnode = BitcoinNode(config.UpstreamNetworkId)
  File "/home/admin/apps/eloipool/bitcoin/node.py", line 146, in __init__
    super().__init__(*a, **ka)
TypeError: super() takes at least 1 argument (0 given)
admin@crypt0:~/apps/eloipool$
Jump to: