YoRyan / nuxhash

A NiceHash cryptocurrency mining client for Linux.
GNU General Public License v3.0
264 stars 164 forks source link

change to excavator api 1.5 #3

Closed albcn closed 6 years ago

albcn commented 6 years ago

Hello,

Is the project still alive? The code won't work with new excavator api.

Traceback (most recent call last): File "./nuxhashd.py", line 255, in main() File "./nuxhashd.py", line 70, in main new_benchmarks = run_all_benchmarks(nx_settings, devices) File "./nuxhashd.py", line 163, in run_all_benchmarks sample_callback=report_speeds) File "/home/alex/bt/nux/nuxhash-master/utils.py", line 45, in run_benchmark algorithm.attach_device(device) File "/home/alex/bt/nux/nuxhash-master/miners/excavator.py", line 171, in attach_device self.parent.server.dispatchdevice(''.join(self.algorithms), device) File "/home/alex/bt/nux/nuxhash-master/miners/excavator.py", line 111, in dispatch_device response = self.send_command('algorithm.add', add_params) File "/home/alex/bt/nux/nuxhash-master/miners/excavator.py", line 95, in send_command raise ExcavatorAPIError(response_data) miners.excavator.ExcavatorAPIError

YoRyan commented 6 years ago

Hi,

Sorry, been busy with school. Just updated to API 0.1.1 and added cryptonight V7. Thanks for the report!