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

How to resolve warning "Failed to detect environment path" and error "AUGUSTUS-PPX config file is absent or improperly formatted." #16

Closed
Changwanseo opened this issue May 17, 2023 · 2 comments
Labels
good first issue Good for newcomers

Comments

@Changwanseo
Copy link

In conda installation, UFCG requires
ufcg -t download to finish installation.

However, current error message

"Failed to detect environment path. --ppxcfg, --seqpath, and --modelpath options should be specified."
"ERROR! Block profile model directory is incomplete."

is difficult for users to figure out needs of ufcg -t download

I suggest to add messages such as these

If this is your first time using UFCG, use "ufcg -t download config
If you haven't downloaded model, use "ufcg -t download minimum" or "ufcg -t download full"

@endixk endixk added the good first issue Good for newcomers label May 17, 2023
@endixk endixk pinned this issue May 17, 2023
@endixk
Copy link
Member

endixk commented May 17, 2023

Please run ufcg download -t minimum if you encounter the following warning and error from profile module after the first installation.

Failed to detect environment path. --ppxcfg, --seqpath, and --modelpath options should be specified.
ERROR! AUGUSTUS-PPX config file is absent or improperly formatted.

These messages may appear again after updating the conda package into the newest version, even if you've been using the previous version of the pipeline. In such cases, running ufcg download -t minimum will resolve the issue as well, however, will occupy unnecessary disk space by downloading another set of databases.

This will be handled by the next update, along with adding better description to the warning messages.

@endixk endixk changed the title Need better warnings in first execution How to resolve warning Failed to detect environment path. and/or error AUGUSTUS-PPX config file is absent or improperly formatted. May 17, 2023
@endixk endixk changed the title How to resolve warning Failed to detect environment path. and/or error AUGUSTUS-PPX config file is absent or improperly formatted. How to resolve warning "Failed to detect environment path" and error "AUGUSTUS-PPX config file is absent or improperly formatted." May 17, 2023
@endixk
Copy link
Member

endixk commented Aug 11, 2023

From release v1.0.5, the profiling modules will prompt warning and automatically download resources for their initial run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants