gsethi / golem

Automatically exported from code.google.com/p/golem
0 stars 0 forks source link

panics when started without a config file #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
starting golem without a config file yields a panic:

panic: open golem.config: no such file or directory

runtime.panic+0xac /Users/rbressle/Code/go/src/pkg/runtime/proc.c:1060
    runtime.panic(0x1b79d0, 0xf8400454e0)
main.NewConfigFile+0x8f /Users/rbressle/Code/golem/src/main.go:94
    main.NewConfigFile(0x213bec, 0xc, 0x666e6f6300000006, 0x213bec, 0x656c6f670000000c, ...)
main.main+0x18c /Users/rbressle/Code/golem/src/main.go:43
    main.main()
runtime.mainstart+0xf /Users/rbressle/Code/go/src/pkg/runtime/amd64/asm.s:77
    runtime.mainstart()
runtime.goexit /Users/rbressle/Code/go/src/pkg/runtime/proc.c:178
    runtime.goexit()
----- goroutine created by -----
_rt0_amd64+0x8e /Users/rbressle/Code/go/src/pkg/runtime/amd64/asm.s:64

Original issue reported on code.google.com by ryanbres...@gmail.com on 29 Aug 2011 at 9:57

GoogleCodeExporter commented 8 years ago

Original comment by ryanbres...@gmail.com on 29 Aug 2011 at 9:57

GoogleCodeExporter commented 8 years ago
I'm removing the dependency on the external conf library, replacing it with 
json and rewriting things to allow optional command line tags again.

Original comment by ryanbres...@gmail.com on 29 Aug 2011 at 10:07

GoogleCodeExporter commented 8 years ago

Original comment by ryanbres...@gmail.com on 1 Dec 2011 at 8:20