Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#43091 - [liteide] Unable to browse or search Golang documentation
Attached to Project:
Community Packages
Opened by Alain Kalker (ackalker) - Friday, 12 December 2014, 11:59 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 07 January 2015, 09:14 GMT
Opened by Alain Kalker (ackalker) - Friday, 12 December 2014, 11:59 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 07 January 2015, 09:14 GMT
|
DetailsDescription:
I'm unable to browse Golang documentation. Clicking the link on the Welcome screen, I get no documentation page but instead it produces the following error in the Event Log: 12:49:26 GolangDoc: 2014/12/12 12:49:25 open /doc/docs.html: no such file or directory From some digging with strace, it appears that LiteIDE executes godoc: 3193 execve("/usr/bin/godoc", ["/usr/bin/godoc", "-html=true", "/doc/docs.html"], [/* 70 vars */]) = 0 Translating this to a shell command indeed produces the same error: $ /usr/bin/godoc -html=true /doc/docs.html 2014/12/12 12:53:03 open /doc/docs.html: no such file or directory From looking at godoc's help message, it appears that one needs to wrap the URL of the requested document with `-url=`. This indeed appears to work: $ /usr/bin/godoc -html=true -url="/doc/docs.html" [...HTML output...] I don't know enough about godoc's history to say that this need to use `-url=` is a recent change, so there. Additional info: * package version(s) go 2:1.4-1 liteide 25-1 * config and/or log files etc. Steps to reproduce: - Start LiteIDE. - On the Welcome screen, under "Quicklinks", click the link "Golang Documents". |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Wednesday, 07 January 2015, 09:14 GMT
Reason for closing: Fixed
Wednesday, 07 January 2015, 09:14 GMT
Reason for closing: Fixed
Thanks for updating :-)