Skip to content
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

PYDE1_ROOT in 40-config-files.sh does not resolve #40

Open
FIRKremer opened this issue Mar 24, 2023 · 3 comments
Open

PYDE1_ROOT in 40-config-files.sh does not resolve #40

FIRKremer opened this issue Mar 24, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@FIRKremer
Copy link

Install of pyDE1 as per documentation fails at 40-config-files.sh, as directories rely on a PYDE1_ROOT variable that is not set.
It is required to move services from the venv to /usr/local/etc/pyde1, but I am also not able to locate respective services in the VENV_PATH set by _config.

@a112358132134
Copy link

That problem looks to have been created in a recent commit, where the definition for PYDE1_ROOT was removed:
6b32f34

I don't have an understanding of the python venv stuff to fix it properly (jeffsf can help here.

In the interim, you could try hard coding the directory in the script. By default, I think PYDE1_ROOT is set as /home/pyde1/venv/pyde1/lib/python3.10/site-packages/pyDE1?

@FIRKremer
Copy link
Author

Thanks for the quick reply and the respective commit. That fix did work for me

There generally seems to be an issue with the 40-config-files.sh since the sed fails as well, which can be ignored if the user is named pyde1 - otherwise you would need to manually set the actual user name in the service files /usr/local/etc/pydes/*.service )

@jeffsf
Copy link
Owner

jeffsf commented Mar 28, 2023

My apologies for not seeing this sooner. We've been without Internet since the storm a week ago and just got it back.

I should re-examine all of these, especially with the changes in v2.0 in how the executables are deployed by pip.

@jeffsf jeffsf reopened this Mar 28, 2023
@jeffsf jeffsf added the bug Something isn't working label Mar 28, 2023
@jeffsf jeffsf self-assigned this Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants