Opened 10 years ago
Closed 4 years ago
#1008 closed enhancement (no-action)
gmg makeadmin <user> don't work...
Reported by: | Manuel | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | programming | Keywords: | |
Cc: | Parent Tickets: |
Description
... if launched from the bin dir.
It works well when launched from mediagoblin/ but fails from mediagoblin/bin
Change History (5)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Status: | new → accepted |
---|
Trying to make better use of the Trac workflow by marking this bug confirmed.
comment:3 by , 10 years ago
I believe the source of the problem here is that it's running without any local config file, since gmg looks for a config file from the directory being run from if one is not specified otherwise...
I'm not sure that's a bug then? The true bug is that a warning that a config file hasn't been found?
comment:4 by , 9 years ago
Type: | defect → enhancement |
---|
switching to enhancement (i.e. it would be nice to be able to run from the bin directory)
comment:5 by , 4 years ago
Resolution: | → no-action-required |
---|---|
Status: | accepted → closed |
Closing this old bug report - for now gmg
needs to either be run in the same directory as the mediagoblin.ini
config file or run with the --conf_file
argument.
Here's some output to illustrate the issue above. Change to the bin directory and run
gmg makeadmin
.So far so good, but then give it a username.
Well, that exploded, so go back up a directory to verify it actually works there.