Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Unable to getwork. Reason: can't read "state(status)": no such variable #40

Open
qaziullah opened this issue Aug 31, 2022 · 1 comment

Comments

@qaziullah
Copy link

Hi @progranism,

I am trying to run the given program on DE2-115 for the first time.

FPGA got programed successfully, but the mining script is giving the following error. Could you look into it and let me know what could the reason for this error.

image

@jp-diegidio
Copy link

Hi there, I have narrowed it down to the get_work proc in ~/scripts/mine/json_rpc.tcl

I can't do debugging (but you can, e.g. insert some printing to the console in the script), nor have I been following the evolution of the getwork protocol lately, if any... Nor am I a TCL programmer, so I may be missing something there.

That said, my just wild guess would be that the do_rpc_request call itself is failing, possibly because your mining pool is looking for params in the request that are simply not there (that "state"?): and then again, I do not know if getwork the protocol has changed in the meantime, or whether it's your pool that is using some customization (you don't say which pool it is, which does not allow really diagnosing this problem)...

Sorry, all quite vague, I just hope you or somebody else will be able to pick it up from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants