I keep getting this error: 2017/10/03 17:50:40 go-app-builder: Failed parsing input: app file DbConfig.go conflicts with same file imported from GOPATH

32 views
Skip to first unread message

Lars Nielsen

unread,
Oct 4, 2017, 9:13:37 AM10/4/17
to Google App Engine
Hello,

I have a web service which I am developing for running in GAE. However, I have the following situation:

When I disable access to my MySQL instance running in GAE and use a local MySQL instance and doesn't call the

    appengine.Main()

In my main function, and run the service locally, the service works. However, if I connecto MySQL in GAE and call the above line of code, I get this

error: 2017/10/03 17:50:40 go-app-builder: Failed parsing input: app file DbConfig.go conflicts with same file imported from GOPATH

when I try to deploy to the local dev server using dev_appserver.py and when I deploy to live GAE, I do not get an error but every thing I try returns 404 both in browser and in the log.

I use absolute paths for all includes and simply cannot figure out what is wrong. Can someone please f.... help me, I have spend 1.5 days on this and is getting really annoyed.

I have asked the same answer on stackoverflow: https://stackoverflow.com/questions/46548839/getting-conflicts-with-same-file-imported-from-gopath-with-google-app-engine-b

Best,
Lars

Jordan (Cloud Platform Support)

unread,
Oct 4, 2017, 12:21:18 PM10/4/17
to Google App Engine
Note: Google Groups is meant for general product discussions and not for technical support. The correct place is indeed your Stack Overflow post

I recommend you have a look at the previous Stack Overflow posts here and here covering this issue. Also this Google Groups post explaining App Engine's main package behavior.  
Reply all
Reply to author
Forward
0 new messages