-
Notifications
You must be signed in to change notification settings - Fork 77
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
Fails with no useful log output if crudini is not installed. #220
Comments
Here are multiple things that makes no sense.
Is crudini now installed or not? Also we are talking about crowsnest and not mainsail here ig. How did you install crowsnest without crudini? It's a dependency that will be installed during installation process or otherwise crowsnest will fail to install.
A little bit more output would be helpful as this error isn't connected to crudini at all: Line 64 in f7ac6aa
This code checks for dependencies and shows an error if crudini is missing Lines 72 to 81 in f7ac6aa
For the reasons above I think you get why I'm confused about your issue. |
Side: I'm running on opensuse leap, my repo is at /opt/crowsnest log at /var/log/crowsnest/crowsnest.log config at /etc/crowsnest.conf. After installing crudini it worked as expected. I determined the behavior of the above expansion with strace and bash -x |
The dependency check is after getting the As I already said, during installation we install all dependencies: Lines 155 to 163 in f7ac6aa
So atm this doesn't seem like an overall issue and more like a problem with your specific setup maybe.
edit: have a look at the next message |
As I'm not a big linux guy, I didn't know that openSUSE doesn't have |
Okay. |
Overall I cannot say, how long I will still need to rewrite everything as I also got some other things that need to be finished until a specific deadline. |
What happened
On a system with bash 4, and crudini not installed, mainsail will exit with errors from logging.sh
What did you expect to happen
An error indicating that crudini is not installed, instructing the user to install it.
How to reproduce
Run mainsail w/o crudini installed.
Additional information
No response
The text was updated successfully, but these errors were encountered: