Coder Social home page Coder Social logo

Comments (5)

osnwt avatar osnwt commented on July 20, 2024

Why it was closed without comment?
I have the same issue. solver itself works in test mode, miner not.

Connecting to zec-eu.coinmine.pl:7007
Stratum server sent us the first job
Mining on 1 device
Total 0.0 sol/s [] 0 shares
Total 0.0 sol/s [] 0 shares
Total 0.0 sol/s [] 0 shares
Task exception was never retrieved
future: <Task finished coro=<Silentarmy.show_stats() done, defined at ./silentarmy:183> exception=KeyError('0.1',)>
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "./silentarmy", line 228, in show_stats
rate_gpus = sorted(gpus(last_sols, last_times, period_gpu))
File "./silentarmy", line 193, in gpus
sols[devid] = last_sols[0][devid] - last_sols[idx][devid]
KeyError: '0.1'
^C
Quitting

$ uname -a
Linux multiboot 4.8.0-22-generic #24-Ubuntu SMP Sat Oct 8 09:15:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety

from silentarmy.

Deelight-fr avatar Deelight-fr commented on July 20, 2024

I don't know where I messed up but now the silentarmy python script works fine for me.

Here's the diff between the buggy script and the working one:
diff.txt

from silentarmy.

osnwt avatar osnwt commented on July 20, 2024

Thanks, it resolved the issue for me.

I think it should not be closed since I had the same issue with 3.0 release as well as git cloned copy.

from silentarmy.

osnwt avatar osnwt commented on July 20, 2024

And yes, github somehow messed up with code tags for me either.

from silentarmy.

mbevand avatar mbevand commented on July 20, 2024

The release tagged v3 is prone to this KeyError bug. But I fixed it in the repo in a later commit (c685157). So I think we can close this issue.

from silentarmy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.