Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added point about enabling Google Calendar API, corrected link for co… #7

Closed
wants to merge 1 commit into from

Conversation

jedziemyjedziemy
Copy link

…mplete

Summary

Ticket Link

@mattermod
Copy link

Thanks @jedziemyjedziemy for the pull request!

Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.

Please help complete the Mattermost contribution license agreement?

This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.

Please let us know if you have any questions.

We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

@hanzei hanzei requested a review from hahmadia April 22, 2020 13:19
@hanzei hanzei added 1: PM Review Requires review by a product manager 2: Dev Review Requires review by a core committer labels Apr 22, 2020
@hahmadia hahmadia requested a review from jfrerich April 22, 2020 13:39
@hanzei hanzei removed the 2: Dev Review Requires review by a core committer label Apr 22, 2020
@mickmister
Copy link
Member

The misconfiguration of the plugin that this PR tries to avoid was causing a panic in the plugin. See the conversation here https://community-daily.mattermost.com/core/pl/j1xkbhxkf7d65nip5z9feoe39e . The panic still needs to be addressed.

2020-04-22T13:42:19.556+0200    debug   plugin/hclog_adapter.go:35      panic: runtime error: index out of range        {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35              {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35      goroutine 35 [running]: {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35      main.(*Plugin).completeCalendar(0xc0000a8f50, 0xcd32c0, 0xc000021830, 0xc0001de300)     {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35              /home/f/git/mattermost-plugin-google-calendar-abdul/server/api.go:83 +0x8ab     {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35      github.com/mattermost/mattermost-server/plugin.(*hooksRPCServer).ServeHTTP(0xc00000e600, 0xc00000f520, 0x11ffcc8, 0x0, 0x0)     {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35              /home/f/go/pkg/mod/github.com/mattermost/mattermost-server@v1.4.1-0.20191016162522-6597fdb40134/plugin/client_rpc.go:358 +0x293 {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35      reflect.Value.call(0xc000266180, 0xc00009a8f0, 0x13, 0xbbf995, 0x4, 0xc000053f18, 0x3, 0x3, 0xc000064400, 0xc0001e2aa8, ...)    {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35              /usr/lib/go-1.12/src/reflect/value.go:447 +0x461        {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35      reflect.Value.Call(0xc000266180, 0xc00009a8f0, 0x13, 0xc00022cf18, 0x3, 0x3, 0xc0001e2a80, 0xc00022cf10, 0xc00022cfb8)  {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35              /usr/lib/go-1.12/src/reflect/value.go:308 +0xa4 {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35      net/rpc.(*service).call(0xc0001c3b40, 0xc0000a9130, 0xc000097948, 0xc000097970, 0xc000102d80, 0xc00008dde0, 0xa70ea0, 0xc00000f520, 0x16, 0xa815a0, ...)        {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35              /usr/lib/go-1.12/src/net/rpc/server.go:384 +0x14e       {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35      created by net/rpc.(*Server).ServeCodec {"plugin_id": "calendar"}
2020-04-22T13:42:19.557+0200    debug   plugin/hclog_adapter.go:35              /usr/lib/go-1.12/src/net/rpc/server.go:481 +0x42b       {"plugin_id": "calendar"}
2020-04-22T13:42:19.564+0200    error   mlog/log.go:174 Plugin failed to ServeHTTP, RPC call failed     {"plugin_id": "calendar", "error": "unexpected EOF"}

Index out of range error here

userId := strings.Split(state, "_")[1]

@mickmister
Copy link
Member

Ticket made here #8

@jfrerich Mentioning you for visibility

@hanzei
Copy link
Contributor

hanzei commented May 26, 2020

@jedziemyjedziemy Would you be open on signing the CLA?

@mattermod
Copy link

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

/cc @jasonblais @hanzei

@jasonblais
Copy link

@jedziemyjedziemy unfortunately we're unable to accept the contribution without you signing the CLA (contribution license agreement). As a result, we'll have to close your pull request for now.

If you have any questions about the CLA, would be happy to answer them. Thanks again for your help identifying the gap in our documentation and proposing an update to it.

@jasonblais jasonblais closed this Aug 2, 2020
@jasonblais
Copy link

cc @jfrerich @mickmister

@hanzei hanzei removed 1: PM Review Requires review by a product manager Lifecycle/1:stale labels Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants