Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Nicehash API changes #54

Open
evorion opened this issue Apr 22, 2020 · 6 comments · May be fixed by #58
Open

Nicehash API changes #54

evorion opened this issue Apr 22, 2020 · 6 comments · May be fixed by #58

Comments

@evorion
Copy link

evorion commented Apr 22, 2020

Nicehash made API changes that affect Nuxhash.

https://www.nicehash.com/blog/post/api-changes-notification-apr-3

@kinteseay
Copy link

Do you have a solution for us, or were you looking for one? I'm stuck also

@evorion
Copy link
Author

evorion commented May 11, 2020

I have managed to patch a few things even though I have never done anything in Python. But since the author is nowhere to be found I can't even get a pull request submitted.

@YoRyan
Copy link
Owner

YoRyan commented May 28, 2020

Please, don't let that stop you...

@kinteseay
Copy link

So does this mean an update is coming soon?

@franciscordeiro
Copy link

franciscordeiro commented Jun 2, 2020

Hi,
Please note I'm only an enthusiast without any coding skills and not much experience using Linux but I think I've also managed to patch the Python wx.lib.pubsub issue by replacing the dependencies with pypubsub.

Now I'm stuck here:

###############################################################################
root@ubuntu:/home/ubuntu# nuxhash-gui

(nuxhash-gui:36686): Gtk-WARNING **: 16:33:19.911: Negative content width -33 (allocation 1, extents 17x17) while allocating gadget (node button, owner GtkButton)

(nuxhash-gui:36686): Gtk-WARNING **: 16:33:19.911: Negative content height -5 (allocation 1, extents 3x3) while allocating gadget (node button, owner GtkButton)

(nuxhash-gui:36686): Gtk-WARNING **: 16:33:19.911: Negative content width -33 (allocation 1, extents 17x17) while allocating gadget (node button, owner GtkButton)

(nuxhash-gui:36686): Gtk-WARNING **: 16:33:19.911: Negative content height -5 (allocation 1, extents 3x3) while allocating gadget (node button, owner GtkButton)

(nuxhash-gui:36686): Gtk-WARNING **: 16:33:19.912: Negative content width -33 (allocation 1, extents 17x17) while allocating gadget (node button, owner GtkButton)

(nuxhash-gui:36686): Gtk-WARNING **: 16:33:19.912: Negative content height -5 (allocation 1, extents 3x3) while allocating gadget (node button, owner GtkButton)

(nuxhash-gui:36686): Gtk-WARNING **: 16:33:19.914: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node entry, owner GtkEntry)

(nuxhash-gui:36686): Gtk-WARNING **: 16:33:19.916: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/dist-packages/nuxhash/gui/mining.py", line 140, in do_requests
wallet, unpaid = get_balances(self._Settings)
File "/usr/local/lib/python3.8/dist-packages/nuxhash/nicehash.py", line 26, in get_balances
response = nh.public_api(HOST).request(
File "/usr/local/lib/python3.8/dist-packages/nuxhash/nhrest/python/nicehash.py", line 38, in request
raise Exception(str(response.status_code) + ": " + response.reason)
Exception: 404: Not Found
###############################################################################

Has anyone made it this far? Am I on the right track?

Seems like the GUI's appearance has changed which would account for half of the buttons missing there. I also believe the API changes are reflected in the errors expressed on the final lines pasted above.

Edit:
Last but not least: The excavator downloads but no other "Nicehash" authorised miners are downloading?? Maybe This has always been the case but I don't know because I'm relatively new to nicehash and even fresher mining on Linux.

Anyone able to shed some light regarding what still needs to be addressed?
I think the entire community would really appreciate it. :)

Cheers!

DarthGandalf added a commit to DarthGandalf/nuxhash that referenced this issue Jun 27, 2020
@DarthGandalf DarthGandalf linked a pull request Jun 27, 2020 that will close this issue
@Eric1212
Copy link

If someone want to manually change the Fix from DG, the location on my system (Debian) is /usr/local/lib/python3.7/dist-packages/nuxhash so your files should also be near that place for you.

folkien pushed a commit to folkien/nuxhash that referenced this issue May 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants