[pkg-go] Bug#925546: How to reproduce?

Joonas Kylmälä joonas.kylmala at iki.fi
Tue Apr 16 17:41:59 BST 2019


Hi,

you can reproduce the issue by creating a file main.go with the content:

------------------------
package main

import (
        "html/template"
        "net/http"
)
------------------------

and then running in the same directory:

$ gocode -f=json --in=main.go autocomplete 12

Then to see the error log first kill the running gocode server and run

$ nohup gocode -s debug &

The error will be printed then to nohup.out file when you run "gocode
-f=json --in=main.go autocomplete 12"

I remember reading somewhere on the online that this issue is caused
because the library dependencies are compiled with a different golang
version than this binary. So yeah, I have not yet tried but maybe this
is fixed by just uploading a new compilation of the binary.

Joonas

Hilko Bengen:
> control: tag -1 moreinfo
> 
> Hi Joonas,
> 
> could you describe in more detail how I might be able to reproduce the
> error? Does it happen with any file?
> 
> Cheers,
> -Hilko
> 



More information about the Pkg-go-maintainers mailing list