Skip to content

Can't develop the ui #40

@Tchoupinax

Description

@Tchoupinax

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 ? ^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions