Elemento-Modular-Cloud / helpcenter

0 stars 0 forks source link

Daemons not working Macbook with M2 / MacOS Sonoma #6

Open pcfriek1987 opened 3 months ago

pcfriek1987 commented 3 months ago

I tried installing ElectrOS, and come at the point it downloaded the daemons (setup page), wanted me to open it up and wait. However opening up the daemons doesn't do much in this case and the setup page never finishes.

Are there any logs I can see why it doesn't load them?

fvalle1 commented 3 months ago

Hello,

please right click on the daemons and click "Show Package Content", then run Contents/MacOS/elemento_client_demons and send me the logs you see there

Screenshot 2024-03-20 at 20 54 26 Screenshot 2024-03-20 at 20 54 52
pcfriek1987 commented 3 months ago

Here you go:

/Applications/elemento_client_daemons.app/Contents/MacOS/elemento_client_daemons ; exit; Traceback (most recent call last): File "elemento-monorepo-client/elemento_client_daemons.py", line 52, in File "/Applications/elemento_client_daemons.app/Contents/MacOS/elemento-matcher-client/matcherclient.py", line 204, in init with open(TCP_SERVER_LIST_filename, "r") as file: UnboundLocalError: local variable 'TCP_SERVER_LIST_filename' referenced before assignment [57089] Failed to execute script 'elemento_client_daemons' due to unhandled exception: local variable 'TCP_SERVER_LIST_filename' referenced before assignment [57089] Traceback: Traceback (most recent call last): File "elemento-monorepo-client/elemento_client_daemons.py", line 52, in File "/Applications/elemento_client_daemons.app/Contents/MacOS/elemento-matcher-client/matcherclient.py", line 204, in init with open(TCP_SERVER_LIST_filename, "r") as file: UnboundLocalError: local variable 'TCP_SERVER_LIST_filename' referenced before assignment

Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. Deleting expired sessions...none found.

fvalle1 commented 3 months ago

Hello,

do you mind trying this version: https://www.swisstransfer.com/d/61dc4ebd-e819-4724-ae28-3495aeb09097

fvalle1 commented 3 months ago

thank you for your feedback

pcfriek1987 commented 2 months ago

So I totally forgot this due to other things. Just tried it for you but that one doesn't work at all, it just tells me "elemento_client_daemons is damaged and can't be opened."

fvalle1 commented 2 months ago

Hi @pcfriek1987 If you go to Settings->Privacy&Security do you see any warning about our daemons?

pcfriek1987 commented 2 months ago

Hi @fvalle1 not seeing any messages there about the daemons

fvalle1 commented 2 months ago

May you try running them from terminal. I.E. ./elemento_client_daemons.app/Contents/MacOS/elemento_client_daemons

pcfriek1987 commented 2 months ago

Hi,

I tried it, but it doesn't do anything, it just mentions it's damaged and I should sent it to the recycle bin.

fvalle1 commented 2 months ago

may you try xattr -d com.apple.quarantine elemento_client_daemons.app

pcfriek1987 commented 2 months ago

That at least executed it but seems the same error as the first one.

./elemento_client_daemons.app/Contents/MacOS/elemento_client_daemons Traceback (most recent call last): File "elemento-monorepo-client/elemento_client_daemons.py", line 52, in File "/Applications/elemento_client_daemons.app/Contents/MacOS/elemento-matcher-client/matcherclient.py", line 226, in init with open(TCP_SERVER_LIST_filename, "r") as file: UnboundLocalError: local variable 'TCP_SERVER_LIST_filename' referenced before assignment [32470] Failed to execute script 'elemento_client_daemons' due to unhandled exception: local variable 'TCP_SERVER_LIST_filename' referenced before assignment [32470] Traceback: Traceback (most recent call last): File "elemento-monorepo-client/elemento_client_daemons.py", line 52, in File "/Applications/elemento_client_daemons.app/Contents/MacOS/elemento-matcher-client/matcherclient.py", line 226, in init with open(TCP_SERVER_LIST_filename, "r") as file: UnboundLocalError: local variable 'TCP_SERVER_LIST_filename' referenced before assignment

fvalle1 commented 2 months ago

Are you able to run touch ~/.elemento/hosts

It seems the initialisation didn't work well

pcfriek1987 commented 2 months ago

Now that did a lot more after touching that

Starting Timeloop.. [2024-04-23 21:58:11,247] [timeloop] [INFO] Registered job <function elementoStorageClient.run..verifyCache at 0x1079b1670> [2024-04-23 21:58:11,247] [timeloop] [INFO] Timeloop now started. Jobs will run based on the interval set

fvalle1 commented 2 months ago

Ok, that seems good.

At this point you should be able to use the ElectrOS app

The Errors your are viewing are due to the fact that there are not AtomOS servers in your lan