vermiculus / magithub

**DEPRECATED - please use Forge instead!** -- Magit-based interfaces to GitHub
GNU General Public License v3.0
579 stars 62 forks source link

wrong-type-argument listp on RET on issues #352

Closed vspinu closed 5 years ago

vspinu commented 5 years ago

I am getting this in magithub-issue-vistit but magithub-issue-browse works as expected:

Debugger entered--Lisp error: (wrong-type-argument listp (url . "https://api.github.com/repos/vspinu/sesman/issues/8"))
  magithub-issue-repo((url . "https://api.github.com/repos/vspinu/sesman/issues/8"))
  magithub-issue-view--lock-value(((url . "https://api.github.com/repos/vspinu/sesman/issues/8") (repository_url . "https://api.github.com/repos/vspinu/sesman") (labels_url . "https://api.github.com/repos/vspinu/sesman/issues/8/labels{/name}") (comments_url . "https://api.github.com/repos/vspinu/sesman/issues/8/comments") (events_url . "https://api.github.com/repos/vspinu/sesman/issues/8/events") (html_url . "https://github.com/vspinu/sesman/issues/8") (id . 345378596) (node_id . "MDU6SXNzdWUzNDUzNzg1OTY=") (number . 8) (title . "Simplify \"info\" UI") (user (login . "vspinu") (id . 1363467) (node_id . "MDQ6VXNlcjEzNjM0Njc=") (avatar_url . "https://avatars3.githubusercontent.com/u/1363467?v=4") (gravatar_id . "") (url . "https://api.github.com/users/vspinu") (html_url . "https://github.com/vspinu") (followers_url . "https://api.github.com/users/vspinu/followers") (following_url . "https://api.github.com/users/vspinu/following{/other_user}") (gists_url . "https://api.github.com/users/vspinu/gists{/gist_id}") (starred_url . "https://api.github.com/users/vspinu/starred{/owner}{/repo}") (subscriptions_url . "https://api.github.com/users/vspinu/subscriptions") (organizations_url . "https://api.github.com/users/vspinu/orgs") (repos_url . "https://api.github.com/users/vspinu/repos") (events_url . "https://api.github.com/users/vspinu/events{/privacy}") (received_events_url . "https://api.github.com/users/vspinu/received_events") (type . "User") (site_admin)) (labels ((id . 836177143) (node_id . "MDU6TGFiZWw4MzYxNzcxNDM=") (url . "https://api.github.com/repos/vspinu/sesman/labels/enhancement") (name . "enhancement") (color . "a2eeef") (default . t))) (state . "open") (locked) (assignee) (assignees) (milestone) (comments . 1) (created_at . "2018-07-27T22:00:44Z") (updated_at . "2018-07-28T18:33:37Z") (closed_at) (author_association . "OWNER") (body . "Looks like current info commands (`sesman-show-session-info` and `sesman-show-links`) are  not up to the task. I think the following simple alternatives would work better:\15\n\15\n  - `sesman-show-info` which would display links and sessions in a bit more comprehensive way than the current `sesman-show-links` does.\15\n  - `sesman-browse-sessions` which would pop-up an interactive session browser\15\n\15\nOne extra advantage of the above is that C-c C-s C-l could be freed for a generic `sesman-link` (asking for type of context to link to). ")))
  apply(magithub-issue-view--lock-value ((url . "https://api.github.com/repos/vspinu/sesman/issues/8") (repository_url . "https://api.github.com/repos/vspinu/sesman") (labels_url . "https://api.github.com/repos/vspinu/sesman/issues/8/labels{/name}") (comments_url . "https://api.github.com/repos/vspinu/sesman/issues/8/comments") (events_url . "https://api.github.com/repos/vspinu/sesman/issues/8/events") (html_url . "https://github.com/vspinu/sesman/issues/8") (id . 345378596) (node_id . "MDU6SXNzdWUzNDUzNzg1OTY=") (number . 8) (title . "Simplify \"info\" UI") (user (login . "vspinu") (id . 1363467) (node_id . "MDQ6VXNlcjEzNjM0Njc=") (avatar_url . "https://avatars3.githubusercontent.com/u/1363467?v=4") (gravatar_id . "") (url . "https://api.github.com/users/vspinu") (html_url . "https://github.com/vspinu") (followers_url . "https://api.github.com/users/vspinu/followers") (following_url . "https://api.github.com/users/vspinu/following{/other_user}") (gists_url . "https://api.github.com/users/vspinu/gists{/gist_id}") (starred_url . "https://api.github.com/users/vspinu/starred{/owner}{/repo}") (subscriptions_url . "https://api.github.com/users/vspinu/subscriptions") (organizations_url . "https://api.github.com/users/vspinu/orgs") (repos_url . "https://api.github.com/users/vspinu/repos") (events_url . "https://api.github.com/users/vspinu/events{/privacy}") (received_events_url . "https://api.github.com/users/vspinu/received_events") (type . "User") (site_admin)) (labels ((id . 836177143) (node_id . "MDU6TGFiZWw4MzYxNzcxNDM=") (url . "https://api.github.com/repos/vspinu/sesman/labels/enhancement") (name . "enhancement") (color . "a2eeef") (default . t))) (state . "open") (locked) (assignee) (assignees) (milestone) (comments . 1) (created_at . "2018-07-27T22:00:44Z") (updated_at . "2018-07-28T18:33:37Z") (closed_at) (author_association . "OWNER") (body . "Looks like current info commands (`sesman-show-session-info` and `sesman-show-links`) are  not up to the task. I think the following simple alternatives would work better:\15\n\15\n  - `sesman-show-info` which would display links and sessions in a bit more comprehensive way than the current `sesman-show-links` does.\15\n  - `sesman-browse-sessions` which would pop-up an interactive session browser\15\n\15\nOne extra advantage of the above is that C-c C-s C-l could be freed for a generic `sesman-link` (asking for type of context to link to). ")))
  magit-buffer-lock-value(magithub-issue-view-mode (((url . "https://api.github.com/repos/vspinu/sesman/issues/8") (repository_url . "https://api.github.com/repos/vspinu/sesman") (labels_url . "https://api.github.com/repos/vspinu/sesman/issues/8/labels{/name}") (comments_url . "https://api.github.com/repos/vspinu/sesman/issues/8/comments") (events_url . "https://api.github.com/repos/vspinu/sesman/issues/8/events") (html_url . "https://github.com/vspinu/sesman/issues/8") (id . 345378596) (node_id . "MDU6SXNzdWUzNDUzNzg1OTY=") (number . 8) (title . "Simplify \"info\" UI") (user (login . "vspinu") (id . 1363467) (node_id . "MDQ6VXNlcjEzNjM0Njc=") (avatar_url . "https://avatars3.githubusercontent.com/u/1363467?v=4") (gravatar_id . "") (url . "https://api.github.com/users/vspinu") (html_url . "https://github.com/vspinu") (followers_url . "https://api.github.com/users/vspinu/followers") (following_url . "https://api.github.com/users/vspinu/following{/other_user}") (gists_url . "https://api.github.com/users/vspinu/gists{/gist_id}") (starred_url . "https://api.github.com/users/vspinu/starred{/owner}{/repo}") (subscriptions_url . "https://api.github.com/users/vspinu/subscriptions") (organizations_url . "https://api.github.com/users/vspinu/orgs") (repos_url . "https://api.github.com/users/vspinu/repos") (events_url . "https://api.github.com/users/vspinu/events{/privacy}") (received_events_url . "https://api.github.com/users/vspinu/received_events") (type . "User") (site_admin)) (labels ((id . 836177143) (node_id . "MDU6TGFiZWw4MzYxNzcxNDM=") (url . "https://api.github.com/repos/vspinu/sesman/labels/enhancement") (name . "enhancement") (color . "a2eeef") (default . t))) (state . "open") (locked) (assignee) (assignees) (milestone) (comments . 1) (created_at . "2018-07-27T22:00:44Z") (updated_at . "2018-07-28T18:33:37Z") (closed_at) (author_association . "OWNER") (body . "Looks like current info commands (`sesman-show-session-info` and `sesman-show-links`) are  not up to the task. I think the following simple alternatives would work better:\15\n\15\n  - `sesman-show-info` which would display links and sessions in a bit more comprehensive way than the current `sesman-show-links` does.\15\n  - `sesman-browse-sessions` which would pop-up an interactive session browser\15\n\15\nOne extra advantage of the above is that C-c C-s C-l could be freed for a generic `sesman-link` (asking for type of context to link to). "))))
  magit-mode-setup-internal(magithub-issue-view-mode (((url . "https://api.github.com/repos/vspinu/sesman/issues/8") (repository_url . "https://api.github.com/repos/vspinu/sesman") (labels_url . "https://api.github.com/repos/vspinu/sesman/issues/8/labels{/name}") (comments_url . "https://api.github.com/repos/vspinu/sesman/issues/8/comments") (events_url . "https://api.github.com/repos/vspinu/sesman/issues/8/events") (html_url . "https://github.com/vspinu/sesman/issues/8") (id . 345378596) (node_id . "MDU6SXNzdWUzNDUzNzg1OTY=") (number . 8) (title . "Simplify \"info\" UI") (user (login . "vspinu") (id . 1363467) (node_id . "MDQ6VXNlcjEzNjM0Njc=") (avatar_url . "https://avatars3.githubusercontent.com/u/1363467?v=4") (gravatar_id . "") (url . "https://api.github.com/users/vspinu") (html_url . "https://github.com/vspinu") (followers_url . "https://api.github.com/users/vspinu/followers") (following_url . "https://api.github.com/users/vspinu/following{/other_user}") (gists_url . "https://api.github.com/users/vspinu/gists{/gist_id}") (starred_url . "https://api.github.com/users/vspinu/starred{/owner}{/repo}") (subscriptions_url . "https://api.github.com/users/vspinu/subscriptions") (organizations_url . "https://api.github.com/users/vspinu/orgs") (repos_url . "https://api.github.com/users/vspinu/repos") (events_url . "https://api.github.com/users/vspinu/events{/privacy}") (received_events_url . "https://api.github.com/users/vspinu/received_events") (type . "User") (site_admin)) (labels ((id . 836177143) (node_id . "MDU6TGFiZWw4MzYxNzcxNDM=") (url . "https://api.github.com/repos/vspinu/sesman/labels/enhancement") (name . "enhancement") (color . "a2eeef") (default . t))) (state . "open") (locked) (assignee) (assignees) (milestone) (comments . 1) (created_at . "2018-07-27T22:00:44Z") (updated_at . "2018-07-28T18:33:37Z") (closed_at) (author_association . "OWNER") (body . "Looks like current info commands (`sesman-show-session-info` and `sesman-show-links`) are  not up to the task. I think the following simple alternatives would work better:\15\n\15\n  - `sesman-show-info` which would display links and sessions in a bit more comprehensive way than the current `sesman-show-links` does.\15\n  - `sesman-browse-sessions` which would pop-up an interactive session browser\15\n\15\nOne extra advantage of the above is that C-c C-s C-l could be freed for a generic `sesman-link` (asking for type of context to link to). "))) t)
  magithub-issue-view(((url . "https://api.github.com/repos/vspinu/sesman/issues/8") (repository_url . "https://api.github.com/repos/vspinu/sesman") (labels_url . "https://api.github.com/repos/vspinu/sesman/issues/8/labels{/name}") (comments_url . "https://api.github.com/repos/vspinu/sesman/issues/8/comments") (events_url . "https://api.github.com/repos/vspinu/sesman/issues/8/events") (html_url . "https://github.com/vspinu/sesman/issues/8") (id . 345378596) (node_id . "MDU6SXNzdWUzNDUzNzg1OTY=") (number . 8) (title . "Simplify \"info\" UI") (user (login . "vspinu") (id . 1363467) (node_id . "MDQ6VXNlcjEzNjM0Njc=") (avatar_url . "https://avatars3.githubusercontent.com/u/1363467?v=4") (gravatar_id . "") (url . "https://api.github.com/users/vspinu") (html_url . "https://github.com/vspinu") (followers_url . "https://api.github.com/users/vspinu/followers") (following_url . "https://api.github.com/users/vspinu/following{/other_user}") (gists_url . "https://api.github.com/users/vspinu/gists{/gist_id}") (starred_url . "https://api.github.com/users/vspinu/starred{/owner}{/repo}") (subscriptions_url . "https://api.github.com/users/vspinu/subscriptions") (organizations_url . "https://api.github.com/users/vspinu/orgs") (repos_url . "https://api.github.com/users/vspinu/repos") (events_url . "https://api.github.com/users/vspinu/events{/privacy}") (received_events_url . "https://api.github.com/users/vspinu/received_events") (type . "User") (site_admin)) (labels ((id . 836177143) (node_id . "MDU6TGFiZWw4MzYxNzcxNDM=") (url . "https://api.github.com/repos/vspinu/sesman/labels/enhancement") (name . "enhancement") (color . "a2eeef") (default . t))) (state . "open") (locked) (assignee) (assignees) (milestone) (comments . 1) (created_at . "2018-07-27T22:00:44Z") (updated_at . "2018-07-28T18:33:37Z") (closed_at) (author_association . "OWNER") (body . "Looks like current info commands (`sesman-show-session-info` and `sesman-show-links`) are  not up to the task. I think the following simple alternatives would work better:\15\n\15\n  - `sesman-show-info` which would display links and sessions in a bit more comprehensive way than the current `sesman-show-links` does.\15\n  - `sesman-browse-sessions` which would pop-up an interactive session browser\15\n\15\nOne extra advantage of the above is that C-c C-s C-l could be freed for a generic `sesman-link` (asking for type of context to link to). ")))
  magithub-issue-visit(((url . "https://api.github.com/repos/vspinu/sesman/issues/8") (repository_url . "https://api.github.com/repos/vspinu/sesman") (labels_url . "https://api.github.com/repos/vspinu/sesman/issues/8/labels{/name}") (comments_url . "https://api.github.com/repos/vspinu/sesman/issues/8/comments") (events_url . "https://api.github.com/repos/vspinu/sesman/issues/8/events") (html_url . "https://github.com/vspinu/sesman/issues/8") (id . 345378596) (node_id . "MDU6SXNzdWUzNDUzNzg1OTY=") (number . 8) (title . "Simplify \"info\" UI") (user (login . "vspinu") (id . 1363467) (node_id . "MDQ6VXNlcjEzNjM0Njc=") (avatar_url . "https://avatars3.githubusercontent.com/u/1363467?v=4") (gravatar_id . "") (url . "https://api.github.com/users/vspinu") (html_url . "https://github.com/vspinu") (followers_url . "https://api.github.com/users/vspinu/followers") (following_url . "https://api.github.com/users/vspinu/following{/other_user}") (gists_url . "https://api.github.com/users/vspinu/gists{/gist_id}") (starred_url . "https://api.github.com/users/vspinu/starred{/owner}{/repo}") (subscriptions_url . "https://api.github.com/users/vspinu/subscriptions") (organizations_url . "https://api.github.com/users/vspinu/orgs") (repos_url . "https://api.github.com/users/vspinu/repos") (events_url . "https://api.github.com/users/vspinu/events{/privacy}") (received_events_url . "https://api.github.com/users/vspinu/received_events") (type . "User") (site_admin)) (labels ((id . 836177143) (node_id . "MDU6TGFiZWw4MzYxNzcxNDM=") (url . "https://api.github.com/repos/vspinu/sesman/labels/enhancement") (name . "enhancement") (color . "a2eeef") (default . t))) (state . "open") (locked) (assignee) (assignees) (milestone) (comments . 1) (created_at . "2018-07-27T22:00:44Z") (updated_at . "2018-07-28T18:33:37Z") (closed_at) (author_association . "OWNER") (body . "Looks like current info commands (`sesman-show-session-info` and `sesman-show-links`) are  not up to the task. I think the following simple alternatives would work better:\15\n\15\n  - `sesman-show-info` which would display links and sessions in a bit more comprehensive way than the current `sesman-show-links` does.\15\n  - `sesman-browse-sessions` which would pop-up an interactive session browser\15\n\15\nOne extra advantage of the above is that C-c C-s C-l could be freed for a generic `sesman-link` (asking for type of context to link to). ")))
vspinu commented 5 years ago

Same error on r.

This is magit magit-20180720.1712 and magithub-20180726.2131 on GNU Emacs 27.0.50 of 2018-07-26.

vermiculus commented 5 years ago

First thing I'd do is I'd uninstall/reinstall magithub and restart emacs. I had some problems surrounding recent magit section infrastructure changes and, while I don't think my problem is related to the current one, it's worth crossing out.

vspinu commented 5 years ago

Indeed. Some local messup. Reinstalled and everything is fine.

Awesome project!