-
Notifications
You must be signed in to change notification settings - Fork 9
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
Systeminfo starts with Error "err from getObjectList: TypeError: ..." #214
Comments
I have the same problem! |
After I updated to js-controller 5.0.12, this same error apeared... |
me 2 ` systeminfo.0 | 2024-03-25 09:49:02.916 | error | err from getObjectList: TypeError: Cannot read private member from an object whose class did not declare it -- | -- | -- | -- ` |
Hi, |
Hi, |
I would suggest that you calm down a little bit. If you can analyze / fix the code you are very welcome to provide a PR. And you are right, there's no active maintainer for this adapter currently. If you did not recognize - work at ioBroker is done be volunteers at their free time and without any paiment. Its easy to consume and to request only. Please help by supporteing ioBroker with your know how / coding or whtever you can provide. Or develop your own system. No developer spending its time need to be attacked by "its a shame ...". Such statements will likely reduce the number of active Developers only. Have a nice day |
At Whever find time to look into it ... or maybe @Sayonara-Rolo wanne try it out and report back? i think the issues is in https://github.com/iobroker-community-adapters/ioBroker.systeminfo/blob/master/myAdapter.js#L63-L68 ... all here ".bind(adapter)" is missing for all these function calls because they get patched . This woukd no longer since ages and there could be other "ex Frank Joke Adapters" where this is already fixed. I think these places could be changed like |
I don't want to or didn't mean to attack anyone here. I apologize for that. On the other hand, I don't think it's good for users if they no longer receive feedback from a developer. Once again, many thanks for the commitment and dedication of the developers. Unfortunately, I don't have the know-how to program or debug the adapter myself. |
Thanks for the feedback adn explaining things. Yes I can understand that you are frustracted. But this (nad many other) adapter lacks an active maintainer. So you nobody responded either. I cannot promise to look at it at a short time - my list is sinply tooo long. But I am aware that this adapter needs a maintainance. |
You are right, I have replaced these lines as you suggested, and my Systeminfo Adapter is working again. Edit: Ah I was a bit fast. The getObjectList Error disappeared, but the adapter still has another issue.
|
After making the following changes, the adapter is now working for me and updating / creating objects again: As mentioned by Apollon77 replace: Additionally replace and Edit: I tried my best to create a pull request with these changes. I hope it is of some help, as I am really not used to both java script and github. |
Hi ioBroker Community,
When I start "systeminfo" I get the following Error
"err from getObjectList: TypeError: Cannot read private member from an object whose class did not declare it"
and the Warning
"Unhandled error in main: TypeError: Cannot read private member from an object whose class did not declare it"
See attached Picture "systeminfo_Protocol240217.jpg"
An instance of systeminfo is created, which appears to be running (green)
See attached Picture "systeminfo_Instance240217.jpg"
Apart from the Admin Object, no other Objects are created.
See attached Picture "systeminfo_no-Object240217.jpg"
Systeminfo is up to Date with the Version 1.1.0.
What could be the Reason for this?
Thank,
Sayonara-Rolo
The text was updated successfully, but these errors were encountered: