Mattermost-server: hash/maphash: malformed module path "hash/maphash": missing dot in first path element

Created on 25 Aug 2020  路  2Comments  路  Source: mattermost/mattermost-server

Per Mattermost guidelines, GitHub issues are for bug reports: http://www.mattermost.org/filing-issues/.

For troubleshooting see: http://forum.mattermost.org/.
For feature proposals see: http://www.mattermost.org/feature-requests/

If you've found a bug--something appears unintentional--please follow these steps:

  1. Confirm you鈥檙e filing a new issue. Search existing tickets in Jira to ensure that the ticket does not already exist.
  2. Confirm your issue does not involve security. Otherwise, please see our Responsible Disclosure Policy.
  3. File a new issue using the format below. Mattermost will confirm steps to reproduce and file in Jira, or ask for more details if there is trouble reproducing it. If there's already an existing bug in Jira, it will be linked back to the GitHub issue so you can track when it gets fixed.

Summary

Bug report in one concise sentence

Steps to reproduce

How can we reproduce the issue (what version are you using?)

Expected behavior

Describe your issue in detail

Observed behavior (that appears unintentional)

What did you see happen? Please include relevant error messages and/or screenshots.

Possible fixes

If you can, link to the line of code that might be responsible for the problem

Most helpful comment

I bumped into the same issue after cloning https://github.com/mattermost/mmctl and running make test. It also happened when running make build, go mod tidy and go mod vendor.

A search brought me to https://community.k6.io/t/building-from-source-seems-to-thrown-an-exception/876/2, which suggested upgrading my golang install. It made sense because the test/build commands succeed for other mmctl developers, which indicated the error had something to do with my go set up. I was using 1.13.8 and had been thinking of upgrading for a some time.

I upgraded my go install to 1.15.2 and everything works fine now. Hope this helps anyone else that bumps into this error.

All 2 comments

@nsingxia Are you open to sharing the information above (steps to reproduce, expected and observed behaviour)? This will make it easier for us to troubleshoot the issue.

I bumped into the same issue after cloning https://github.com/mattermost/mmctl and running make test. It also happened when running make build, go mod tidy and go mod vendor.

A search brought me to https://community.k6.io/t/building-from-source-seems-to-thrown-an-exception/876/2, which suggested upgrading my golang install. It made sense because the test/build commands succeed for other mmctl developers, which indicated the error had something to do with my go set up. I was using 1.13.8 and had been thinking of upgrading for a some time.

I upgraded my go install to 1.15.2 and everything works fine now. Hope this helps anyone else that bumps into this error.

Was this page helpful?
0 / 5 - 0 ratings