-
Notifications
You must be signed in to change notification settings - Fork 62
Some nodes are no more working on alpine #5
Comments
@TristanCP this project is meant to be generic, targeting multiple device types. The "issue" you are describing is specific to the Raspberry Pi and could be "fixed" by leaving python installed and adding the like:
|
note that this will result in a container around 150MB vs the 110MB of the "generic" default one |
Could you just read the 6th and 7th lines of the RUN I copy pasted for you ? And now watch the edit time, I haven't changed it for 21 hours. So yeah you are telling me to do what I've already done ;) |
To be clear : I don't expect you to fix my specific problem, but if your generic setup doesn't allow some very common use case, I think it should be changed or propose an alternative (like the Debian setup). |
@TristanCP I tested what I suggested before writing back to you. I don't give random canned answers ;) Did you try exactly as suggested? if the problem still persists, the issue might be somewhere else in the project |
I doubt you tested, since you said "could be "fixed" by leaving python installed and adding the py-rpigpio package", and not will be fixed. Moreover, you get the exact same result with your Dockerfile, which is not surprising since it's almost the same as mine :
|
I can confirm that this works.
|
Hey, if u want to participate to this thread, you should copy paste the template proposed by curcuz, not bring your own which "works" ;) You don't have "node-red-node-pisrf" in your own, which is the component not supported on alpine and not recognizing py-rpigpio as a valid dependency. |
@TristanCP I asked you if you were testing the same example I was using while trying to reproduce the issue in an attempt to help you get sorted on this project, which I made in order to allow people to get started quickly and easily with node-red on resin. I assume you are using this, since you were the one asking for alpine in the first instance. I don't understand the sarcasm you are showcasing here, I'm here to help for what I can with the limited time I can put on this project. Not to mention that the node-red library you are referring ( |
Sorry about what you think is "sarcasm", it's just you don't understand my point on this. Let's stay as much close to the facts as possible : This comment was just ignoring what I just did and showed (exactly what u suggested). Ok now let's just forget about this, maybe you are very exhausted by your other activities and you forget everything between each message : the only thing I say now is "Let people chose, your first node-red demo was useful on debian, while the alpine one is not useable for some basic use cases just don't burry the working thing deep into a git history." |
@TristanCP I think my last message was clear and it wasn't neither an attempt to forget this conversation nor a rant from an "exhausted guy". Let me try to be clearer: arrogance is not the best way to ask a maintainer for help, having some days of delays between replies on an issue doesn't allow you to mock the maintainer and your issue is being worked within a limited time per week ( Friday hack project , so only 1 day a week spread across a bunch of projects I maintain) |
I hope you understand now the "delay" between answers was not the cause of my disappointment, but more the fact that you did a false answer, and then insisted on the fact it was a tested answer when it was not. One more thing : I'm not asking for help, just suggesting things to make your work "hack friday" useful to the community. |
@TristanCP what I tested was the ability to run RPI.GPIO on alpine, assuming the specific library you are trying to use (and for which I don't have a specific test case) would work too. No false answers, maybe misunderstanding? |
I was planning on digging the rpi-srf issue today (it's Friday :P ) - I'll keep you updated |
@TristanCP a quick google search led me here so I tuned the suggested Dockerfile accordingly and the error disappeared from my logs
Dashboard logs:
I do not have the sensor the |
issue got fixed, but left open for the user to confirm with real hardware. Since no reply has been received since 6 months ago, I consider this closed. |
Hi,
I've finally took time to test this new slim node-red Dockerfile, but I've met some problems :
Here is my the relevant RUN where you can see I've added py-rpigpio but maybe this library is not the same as python-rpi.gpio debian package :
As a conclusion, maybe you should keep a second Dockerfile template for those who need packages not available on alpine.
The text was updated successfully, but these errors were encountered: