{"action":"created","issue":{"url":"https://api.github.com/repos/milkypostman/melpa/issues/3548","labels_url":"https://api.github.com/repos/milkypostman/melpa/issues/3548/labels{/name}","comments_url":"https://api.github.com/repos/milkypostman/melpa/issues/3548/comments","events_url":"https://api.github.com/repos/milkypostman/melpa/issues/3548/events","html_url":"https://github.com/milkypostman/melpa/issues/3548","id":130038602,"number":3548,"title":"Bug in the json code?","user":{"login":"jkitchin","id":1610070,"avatar_url":"https://avatars.githubusercontent.com/u/1610070?v=3","gravatar_id":"","url":"https://api.github.com/users/jkitchin","html_url":"https://github.com/jkitchin","followers_url":"https://api.github.com/users/jkitchin/followers","following_url":"https://api.github.com/users/jkitchin/following{/other_user}","gists_url":"https://api.github.com/users/jkitchin/gists{/gist_id}","starred_url":"https://api.github.com/users/jkitchin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkitchin/subscriptions","organizations_url":"https://api.github.com/users/jkitchin/orgs","repos_url":"https://api.github.com/users/jkitchin/repos","events_url":"https://api.github.com/users/jkitchin/events{/privacy}","received_events_url":"https://api.github.com/users/jkitchin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-30T21:22:21Z","updated_at":"2016-02-01T08:18:49Z","closed_at":null,"body":"I am having problems running the make json target in the melpa repo.\r\n\r\n16:09 $ make json\r\n • Building html/archive.json ...\r\nemacs --no-site-file --batch -l package-build.el --eval '(let ((package-build-stable nil) (package-build-archive-dir (expand-file-name \"./packages/\" package-build--this-dir))) (package-build-archive-alist-as-json \"html/archive.json\"))'\r\nWrong type argument: listp, \"jkitchin@andrew.cmu.edu\"\r\nmake: *** [html/archive.json] Error 255\r\n\r\nIt seems that :maintainer in the alist should be a cons cell, but it is not:\r\n\r\n`#+BEGIN_SRC emacs-lisp :results code\r\n(package-build--archive-alist-for-json)\r\n#+END_SRC\r\n\r\n#+RESULTS:\r\n#+BEGIN_SRC emacs-lisp\r\n(:kitchingroup-57\r\n (:ver\r\n  (20160130 1223)\r\n  :deps\r\n  (:cappa\r\n   (0))\r\n  :desc \"preprint http://dx.doi.org/10.1021/acscatal.5b00538.\" :type tar :props\r\n  ((:authors\r\n    (\"John Kitchin\" . \"jkitchin@andrew.cmu.edu\"))\r\n   (:maintainer \"John Kitchin\" . \"jkitchin@andrew.cmu.edu\")))`\r\n\r\nAny suggestions on how to track this down? I can't figure out where maintainer is even getting stuck in.\r\n\r\nthanks,"},"comment":{"url":"https://api.github.com/repos/milkypostman/melpa/issues/comments/177836871","html_url":"https://github.com/milkypostman/melpa/issues/3548#issuecomment-177836871","issue_url":"https://api.github.com/repos/milkypostman/melpa/issues/3548","id":177836871,"user":{"login":"purcell","id":5636,"avatar_url":"https://avatars.githubusercontent.com/u/5636?v=3","gravatar_id":"","url":"https://api.github.com/users/purcell","html_url":"https://github.com/purcell","followers_url":"https://api.github.com/users/purcell/followers","following_url":"https://api.github.com/users/purcell/following{/other_user}","gists_url":"https://api.github.com/users/purcell/gists{/gist_id}","starred_url":"https://api.github.com/users/purcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purcell/subscriptions","organizations_url":"https://api.github.com/users/purcell/orgs","repos_url":"https://api.github.com/users/purcell/repos","events_url":"https://api.github.com/users/purcell/events{/privacy}","received_events_url":"https://api.github.com/users/purcell/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T08:18:49Z","updated_at":"2016-02-01T08:18:49Z","body":"That actually appears to be a bug in the recent Emacs you're using (and I can reproduce it locally too). In an affected buffer, e.g. the contents of [this package](https://github.com/lujun9972/uimage/blob/master/uimage.el), evaluating `(package-desc-extras (package-buffer-info))` results in the bogus output:\r\n\r\n```el\r\n((:authors\r\n  (\"DarkSun\" . \"lujun9972@gmail.com\"))\r\n (:maintainer \"DarkSun\" . \"lujun9972@gmail.com\"))\r\n```\r\n\r\nwhere the invalid `:maintainer` entry seems to have come from `package.el` upstream. Any idea about this, @Malabarba?"}}