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

crash on mac #154

Closed
cyc115 opened this issue Jan 10, 2018 · 1 comment
Closed

crash on mac #154

cyc115 opened this issue Jan 10, 2018 · 1 comment
Assignees
Milestone

Comments

@cyc115
Copy link

cyc115 commented Jan 10, 2018

First of all I would like to thank the developer for this wonderful project.
I'm having some trouble running on a mac.

the following realize start command fails for me.

$ realize start \
		--build \
		--test \
		--run

[21:28:20][ELLO] : Watching 1 file/s 1 folder/s
[21:28:20][ELLO] : Install started
[21:28:20][ELLO] : Install completed in 0.117 s
[21:28:20][ELLO] : Running..
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xa0 pc=0x141ad65]

goroutine 42 [running]:
github.com/tockins/realize/realize.(*Project).run.func1(0xc420196c40)
	/Users/xjqw46/go/src/github.com/tockins/realize/realize/projects.go:544 +0x25
github.com/tockins/realize/realize.(*Project).run(0xc42014c600, 0xc4201ea1e0, 0x18, 0xc42014ef00, 0xc42014eb40, 0x17344c0, 0xc420175540)
	/Users/xjqw46/go/src/github.com/tockins/realize/realize/projects.go:589 +0x5f3
github.com/tockins/realize/realize.(*Project).Reload.func3(0xc42014c600, 0xc42014ef00, 0xc42014eb40)
	/Users/xjqw46/go/src/github.com/tockins/realize/realize/projects.go:252 +0x1e1
created by github.com/tockins/realize/realize.(*Project).Reload
	/Users/xjqw46/go/src/github.com/tockins/realize/realize/projects.go:258 +0x2e0
make: *** [start] Error 2

I have a .realize.yaml in the same dir if that makes a difference:

settings:
  files:
    outputs:
      status: true
      path: ""
      name: .r.outputs.log
    logs:
      status: false
      path: ""
      name: .r.logs.log
    errors:
      status: true
      path: ""
      name: .r.errors.log
  legacy:
    force: false
    interval: 0s
server:
  status: false
  open: false
  port: 5002
  host: localhost
schema:
- name: ello
  path: /Users/xjqw46/go/src/github.com/cyc115/ello
  commands:
    vet:
      status: true
    test:
      status: true
    install:
      status: true
    run:
      status: true
  watcher:
    paths:
    - /
    extensions:
    - go
    ignored_paths:
    - .git
    - .realize
    - vendor
@asoseil asoseil self-assigned this Jan 10, 2018
@asoseil asoseil added this to the 2.0.1 milestone Jan 10, 2018
asoseil added a commit that referenced this issue Jan 10, 2018
@asoseil asoseil mentioned this issue Jan 10, 2018
@asoseil
Copy link
Contributor

asoseil commented Jan 10, 2018

should be fixed, there was a problem related to abs path

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

No branches or pull requests

2 participants