further import error

19 views
Skip to first unread message

Will Stocker

unread,
Mar 24, 2017, 9:38:31 AM3/24/17
to CDR-Stats
INFO[0007] RunFetcher sleeps for 1 seconds!
panic: pq: invalid input syntax for integer: "2.719975"

goroutine 7 [running]:
github.com/jmoiron/sqlx.MustExec(0x7f38d538de20, 0xc208162b70, 0xc2080ab4a0, 0x1d9, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/app/cdr-pusher/src/github.com/jmoiron/sqlx/sqlx.go:708 +0xde
github.com/jmoiron/sqlx.(*Tx).MustExec(0xc208162b70, 0xc2080ab4a0, 0x1d9, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/app/cdr-pusher/src/github.com/jmoiron/sqlx/sqlx.go:449 +0xa2
main.(*PGPusher).BatchInsert(0xc208098800, 0xc20803b860, 0x0, 0x0)
/opt/app/cdr-pusher/pusher_postgres.go:257 +0xd98
main.(*PGPusher).Push(0xc208098800, 0xc20803b860, 0x0, 0x0)
/opt/app/cdr-pusher/pusher_postgres.go:303 +0x15f
main.DispatchPush(0xc20800b510, 0x8, 0xc208098400, 0x71, 0xc20800b520, 0xa, 0x0, 0x0, 0x0, 0x0, ...)
/opt/app/cdr-pusher/cdr_pusher.go:58 +0x124
main.PushResult(0xc20800b510, 0x8, 0xc208098400, 0x71, 0xc20800b520, 0xa, 0x0, 0x0, 0x0, 0x0, ...)
/opt/app/cdr-pusher/cdr_pusher.go:84 +0x1ff
created by main.RunApp
/opt/app/cdr-pusher/cdr_pusher.go:124 +0x30b

goroutine 1 [chan receive]:
main.RunApp(0x0, 0x0, 0x0, 0x0)
/opt/app/cdr-pusher/cdr_pusher.go:137 +0x4f4
main.main()
/opt/app/cdr-pusher/cdr_pusher.go:175 +0x2a4

goroutine 5 [syscall]:
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/usr/local/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 6 [sleep]:
main.RunFetcher(0xc20800b510, 0x8, 0xc208098400, 0x71, 0xc20800b520, 0xa, 0x0, 0x0, 0x0, 0x0, ...)
/opt/app/cdr-pusher/cdr_pusher.go:47 +0x533
created by main.RunApp
/opt/app/cdr-pusher/cdr_pusher.go:123 +0x2c1

goroutine 66 [runnable]:
database/sql.(*DB).connectionOpener(0xc20815c500)
/usr/local/go/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:452 +0x31c

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1
Reply all
Reply to author
Forward
0 new messages