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

Can't develop the ui #40

Open
Tchoupinax opened this issue Jul 6, 2020 · 0 comments
Open

Can't develop the ui #40

Tchoupinax opened this issue Jul 6, 2020 · 0 comments

Comments

@Tchoupinax
Copy link

Hello,

I wanted to make some contribution about the CSS but when i launched the project it crashed:

あ→ docker-compose up
Starting ui_chartmuseum_1 ... done
Recreating ui_ui_1        ... done
Attaching to ui_chartmuseum_1, ui_ui_1
chartmuseum_1  | 2020-07-06T22:10:43.142Z	DEBUG	Fetching chart list from storage	{"repo": ""}
chartmuseum_1  | 2020-07-06T22:10:43.142Z	DEBUG	No change detected between cache and storage	{"repo": ""}
chartmuseum_1  | 2020-07-06T22:10:43.142Z	INFO	Starting ChartMuseum	{"port": 8080}
ui_1           | 2020/07/06 22:10:43.225 [I]  http server Running on http://:8080
ui_1           | 2020/07/06 22:10:44.912  I'm alive
ui_1           | 2020/07/06 22:10:44.912  Getting charts on url: /api/charts
ui_1           | 2020/07/06 22:10:44.912  0x8dc5b0
ui_1           | 2020/07/06 22:10:44.912 [C]  the request url is  /
ui_1           | 2020/07/06 22:10:44.912 [C]  Handler crashed with error 0x8dc5b0
ui_1           | 2020/07/06 22:10:44.912 [C]  /usr/local/go/src/runtime/panic.go:969
ui_1           | 2020/07/06 22:10:44.912 [C]  /usr/local/go/src/log/log.go:221
ui_1           | 2020/07/06 22:10:44.912 [C]  /go/src/github.com/chartmuseum/ui/controllers/chartmuseum.go:21
ui_1           | 2020/07/06 22:10:44.912 [C]  /go/src/github.com/chartmuseum/ui/controllers/main.go:17
ui_1           | 2020/07/06 22:10:44.912 [C]  /go/src/github.com/chartmuseum/ui/vendor/github.com/astaxie/beego/router.go:829
ui_1           | 2020/07/06 22:10:44.912 [C]  /usr/local/go/src/net/http/server.go:2807
ui_1           | 2020/07/06 22:10:44.912 [C]  /usr/local/go/src/net/http/server.go:1895
ui_1           | 2020/07/06 22:10:44.912 [C]  /usr/local/go/src/runtime/asm_amd64.s:1373

Moreover, when i wanted to launch server with go run main.go, i had this error:

あ→ go run main.go 
/tmp/go-build701212469/b001/exe/main flag redefined: graceful
panic: /tmp/go-build701212469/b001/exe/main flag redefined: graceful

goroutine 1 [running]:
flag.(*FlagSet).Var(0xc00006a2a0, 0xcf65e0, 0x122f0a9, 0xbeff81, 0x8, 0xc04886, 0x21)
	/usr/lib/go/src/flag/flag.go:851 +0x4b8
flag.BoolVar(...)
	/usr/lib/go/src/flag/flag.go:630
github.com/astaxie/beego/grace.init.0()
	/home/user/go/src/github.com/astaxie/beego/grace/grace.go:93 +0x7a
exit status 2

I tried to remove go dependancies, reinstall them but no success. :( This project does not want i help it xD

What is my problem ? ^^

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

No branches or pull requests

1 participant