Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

ringo-admin --config option fails if config file is not is src folder. #22

Open
toirl opened this issue Aug 2, 2016 · 0 comments
Open
Labels

Comments

@toirl
Copy link
Member

toirl commented Aug 2, 2016

Usually the ringo-admin command will use the development.ini configuration file as default which is located in the "src" folder of the application.

In case you copy the development.ini into production.ini (e.g) in another location which is not within the src then the following command will fail (At least for the ringo-admin user passwd command).

When invoking the command next to the production.ini

ringo-admin --config production.ini ...

will result in:

IOError: [Errno 2] No such file or directory: '/production.ini'

A workaround is to provide the absolut path of the configuration file.

The expected behaviour should be that the the config file should always be loaded relativ the the CWD of the command as long as not provided as absolut path. Default name for development.ini is ok.

@toirl toirl added the bug label Aug 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant