Hi Kushal,
While working with the bugspad frontend, I found an issue with the bugspad
backend API.
The "create bug" API was'nt working. That is, the post request to /bug/
with the new bug details failed.
*The flask server shows this:*
ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=9998): Max
retries exceeded with url: /bug/
*The bugspad backend server shows:*
127.0.0.1:51556 POST /bug/ 10.472us
2013/11/13 17:12:46 http: panic serving 127.0.0.1:51556: invalid character
'c' looking for beginning of value
goroutine 149 [running]:
net/http.funcĀ·007()
/home/de/go/src/pkg/net/http/server.go:1022 +0xac
main.backend_bug(0xc2000a4400, 0xc2000d0c40, 0xc20010c9c0)
/home/de/Documents/bugspad/bugspad.go:150 +0x229
net/http.HandlerFunc.ServeHTTP(0x6ee7e0, 0xc2000a4400, 0xc2000d0c40,
0xc20010c9c0)
/home/de/go/src/pkg/net/http/server.go:1149 +0x3e
net/http.(*ServeMux).ServeHTTP(0xc2000b7660, 0xc2000a4400, 0xc2000d0c40,
0xc20010c9c0)
/home/de/go/src/pkg/net/http/server.go:1416 +0x11d
net/http.serverHandler.ServeHTTP(0xc2000a86e0, 0xc2000a4400, 0xc2000d0c40,
0xc20010c9c0)
/home/de/go/src/pkg/net/http/server.go:1517 +0x16c
net/http.(*conn).serve(0xc200108e10)
/home/de/go/src/pkg/net/http/server.go:1096 +0x765
created by net/http.(*Server).Serve
/home/de/go/src/pkg/net/http/server.go:1564 +0x266
Also, for the bug listing page, we would need an API which would return
bugs based on products.
Thanks.
--
*Souradeep De*
desouradeep.wordpress.com
_______________________________________________
Users mailing list
[email protected]
http://lists.dgplug.org/listinfo.cgi/users-dgplug.org