Problem installing eGeoffrey #129
Replies: 33 comments
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2022-03-27 11:22:29] Hi @eporocrail! This has to do with python3 I believe. Some functions such as "print" have a different syntax and modules have sometimes slightly different names. Now that python3 became the default, the egeoffrey-cli script on some systems can fail in this way, unless you explicitly call the python 2.7 interpreter unfortunately |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-03-27 16:31:52] @user2684 |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2022-03-28 09:58:28] @eporocrail can you share the OS version you are running so I will reproduce the issue and see if I can fix this before the overall code migration? Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-03-28 18:29:34] @user2684 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-01 16:24:02] @user2684 |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2022-04-03 10:52:43] @eporocrail MacOS is a bit wild when it comes to Python so would be pretty challenging to adapt the script to every situations. On Raspi instead should be working correctly. When you say "Raspi4, 2Gb, Raspi OS", do you mean you experienced the same problem on a raspberrypi? In case this is something I definitely need to fix. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-03 14:08:29] @user2684 I will try and see if the adaptation of the script solves the problem. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-03 15:50:47] I am not able to fix this myself. The log file content: |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-04 07:38:34] I realised that my previous reply is not very helpful. Could you adapt the script at your side please and tell me how to run the script locally? |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2022-04-05 10:45:51] @eporocrail thanks for your tests, ok let me try to reproduce the issue on a fresh install on a rasperrypi to find the best workaround. Definitely this has to be prioritized over everything else since the installation process MUST just works. Will be back to you asap. PS. just in case you missed this one about upcoming Forum migration which may cause notifications to be set back again once completed: https://forum.egeoffrey.com/topic/92/egeoffrey-forum-migration-and-other-upcoming-changes. Just wanted to be sure you have seen it |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-05 11:55:23] Thanks. I am awaiting the solution. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2022-04-05 16:31:53] @eporocrail just to anticipate how the solution would look like: I come to the conclusion that |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2022-04-05 17:07:20] Ok done, I've published the new version of egeoffrey-cli (https://forum.egeoffrey.com/topic/93/egeoffrey-cli-updated-to-v1-1) and updated the installation script, give it a new try if you don't mind and let me know. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-05 18:31:03] Tomorrow I don't have the possibility to work on it. As soon as I have results I will let you know. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-07 11:44:58] I tried several things but can not get rid of "Exit 128" |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2022-04-07 17:38:37] @eporocrail looks like port 1883 is already in use either by another instance of eGeoffrey gateway (installed twice?) or by another service. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-07 18:46:22] @user2684 I will try to allocate a different port to mosquitto |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-07 19:50:51] Did a clean install starting with raspi OS. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2022-04-08 08:47:08] @eporocrail I will try to reproduce the issue with a fresh install asap, wonder if the other fix break something else somewhere. Meanwhile if you have logs to share with |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-08 11:36:13] |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-08 13:13:09] Good to see you incorporated mosquitto into the Geoffrey package! |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2022-04-09 12:26:31] @eporocrail Looks like you hit a bug not necessarily easy to fix And then This should use gateway protocol 2 which seems to work fine. From the end user prospective, nothing changes, gateway protocol is just the way eGeoffrey modules interact under the hood. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-09 13:39:14] @user2684 Have a nice weekend. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-09 13:50:06] For other users: is the correct syntax to install this package |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-09 14:51:51] @user2684 Is there any difference between the two? I have a sensor reporting in the topic "home/living/co2/level". By the way a massive amount of egeoffrey messages are published. Somewhere I make a mistake because the sensor is not receiving any value. I will go to one of the HowTo's to see what my mistake is. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-09 15:10:35] I tried four possible mqtt topic's: None worked in the sense that data arrived. What next? |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-10 14:05:06] Sensor data are arriving. I made a typo!!!!!! |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-04-10 20:19:42] I succeeded to create the sensors I need. Thanks The left part the sensor was scanned once per minute. The dip was caused by the fan which was switchedON at a momentarily value of 1250 ppm. |
Beta Was this translation helpful? Give feedback.
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2022-04-12 14:14:01] @eporocrail apologize for the late reply. Glad to see everything is working fine now |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2022-03-19 14:56:07]
I am starting from scratch with a new project.
Running the eGeoffrey install script the first issue was:
"python module yaml not found." I had to install it manually with:
"sudo apt install python3-yaml".
No problem with that.
But after installing "docker" the procedure got stuck.
Your action please.
Beta Was this translation helpful? Give feedback.
All reactions