{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/magenta/issues/633","repository_url":"https://api.github.com/repos/tensorflow/magenta","labels_url":"https://api.github.com/repos/tensorflow/magenta/issues/633/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/magenta/issues/633/comments","events_url":"https://api.github.com/repos/tensorflow/magenta/issues/633/events","html_url":"https://github.com/tensorflow/magenta/issues/633","id":227187899,"number":633,"title":"error while running bash magenta_melody.sh","user":{"login":"cchecalama","id":28547149,"avatar_url":"https://avatars3.githubusercontent.com/u/28547149?v=3","gravatar_id":"","url":"https://api.github.com/users/cchecalama","html_url":"https://github.com/cchecalama","followers_url":"https://api.github.com/users/cchecalama/followers","following_url":"https://api.github.com/users/cchecalama/following{/other_user}","gists_url":"https://api.github.com/users/cchecalama/gists{/gist_id}","starred_url":"https://api.github.com/users/cchecalama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchecalama/subscriptions","organizations_url":"https://api.github.com/users/cchecalama/orgs","repos_url":"https://api.github.com/users/cchecalama/repos","events_url":"https://api.github.com/users/cchecalama/events{/privacy}","received_events_url":"https://api.github.com/users/cchecalama/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-08T22:00:50Z","updated_at":"2017-05-08T22:55:16Z","closed_at":null,"body":"\r\nHi,\r\n\r\nI have this error \"AttributeError: 'module' object has no attribute 'get_spec'\" while running bash magenta_melody.sh. Is there an easy fix for this? Thanks in advance.\r\n\r\nFile \"/Users/cristinachecalama/anaconda/envs/magenta/bin/magenta_midi\", line 11, in <module>\r\n    sys.exit(console_entry_point())\r\n  File \"/Users/cristinachecalama/anaconda/envs/magenta/lib/python2.7/site-packages/magenta/interfaces/midi/magenta_midi.py\", line 376, in console_entry_point\r\n    tf.app.run(main)\r\n  File \"/Users/cristinachecalama/anaconda/envs/magenta/lib/python2.7/site-packages/tensorflow/python/platform/app.py\", line 48, in run\r\n    _sys.exit(main(_sys.argv[:1] + flags_passthrough))\r\n  File \"/Users/cristinachecalama/anaconda/envs/magenta/lib/python2.7/site-packages/magenta/interfaces/midi/magenta_midi.py\", line 331, in main\r\n    control=control_map['clock'], value=127)\r\n  File \"/Users/cristinachecalama/anaconda/envs/magenta/lib/python2.7/site-packages/magenta/interfaces/midi/midi_hub.py\", line 135, in __init__\r\n    for name in mido.messages.get_spec(inferred_types[0]).arguments:\r\nAttributeError: 'module' object has no attribute 'get_spec'\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/magenta/issues/comments/300013641","html_url":"https://github.com/tensorflow/magenta/issues/633#issuecomment-300013641","issue_url":"https://api.github.com/repos/tensorflow/magenta/issues/633","id":300013641,"user":{"login":"adarob","id":1088232,"avatar_url":"https://avatars2.githubusercontent.com/u/1088232?v=3","gravatar_id":"","url":"https://api.github.com/users/adarob","html_url":"https://github.com/adarob","followers_url":"https://api.github.com/users/adarob/followers","following_url":"https://api.github.com/users/adarob/following{/other_user}","gists_url":"https://api.github.com/users/adarob/gists{/gist_id}","starred_url":"https://api.github.com/users/adarob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adarob/subscriptions","organizations_url":"https://api.github.com/users/adarob/orgs","repos_url":"https://api.github.com/users/adarob/repos","events_url":"https://api.github.com/users/adarob/events{/privacy}","received_events_url":"https://api.github.com/users/adarob/received_events","type":"User","site_admin":false},"created_at":"2017-05-08T22:55:16Z","updated_at":"2017-05-08T22:55:16Z","body":"It looks like mido has changed things a bit. Can you try installing the older version to see if it works:\r\n\r\npip install mido==1.1.17 --force-reinstall"}}
{"actor":{"display_login":"adarob"}}