Post
Topic
Board Mining software (miners)
Re: bitHopper: Python Pool Hopper Proxy
by
kbsbtc
on 20/07/2011, 03:43:15 UTC
Having a little problem when I try to access the stats. I get the message

Code:
web.Server Traceback (most recent call last):

: [Errno 2] No such file or directory: 'index.html'

Using latest version of ryouiki's fork

possible cause

1. index.html is not there (same directory as bitHopper.py)
2. working (current) directory is not the correct
3. do not have permission to read file

in case of 2.
modify this line to point the absolute path
Code:
file = open('index.html', 'r')
as
Code:
file = open('/root/dev/blahblah/index.html', 'r')


Had to change the working directory manually set to the full path of the folder. Thanks! Weird that I had to do that though.