{"action":"closed","issue":{"url":"https://api.github.com/repos/urinieto/msaf/issues/22","repository_url":"https://api.github.com/repos/urinieto/msaf","labels_url":"https://api.github.com/repos/urinieto/msaf/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/urinieto/msaf/issues/22/comments","events_url":"https://api.github.com/repos/urinieto/msaf/issues/22/events","html_url":"https://github.com/urinieto/msaf/issues/22","id":142906552,"number":22,"title":"run_msaf.py tries to evaluate when it is not supposed to do so.","user":{"login":"keunwoochoi","id":16153797,"avatar_url":"https://avatars.githubusercontent.com/u/16153797?v=3","gravatar_id":"","url":"https://api.github.com/users/keunwoochoi","html_url":"https://github.com/keunwoochoi","followers_url":"https://api.github.com/users/keunwoochoi/followers","following_url":"https://api.github.com/users/keunwoochoi/following{/other_user}","gists_url":"https://api.github.com/users/keunwoochoi/gists{/gist_id}","starred_url":"https://api.github.com/users/keunwoochoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keunwoochoi/subscriptions","organizations_url":"https://api.github.com/users/keunwoochoi/orgs","repos_url":"https://api.github.com/users/keunwoochoi/repos","events_url":"https://api.github.com/users/keunwoochoi/events{/privacy}","received_events_url":"https://api.github.com/users/keunwoochoi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/urinieto/msaf/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-23T09:20:20Z","updated_at":"2016-03-28T00:04:56Z","closed_at":"2016-03-28T00:04:56Z","body":"\r\nHi, I was testing msaf in collection mode and had this error message. \r\nThere are two audio files and msaf got me two .json and .jams file in features/ and estimations/, but nothing in references/. \r\n\r\n```\r\newert-server:keunwoo keunwoo$ /Users/keunwoo/Downloads/msaf/examples/run_msaf.py temp -bid foote -lid fmc2d -save\r\nMar 23 09:12:44  python[11009] <Error>: Set a breakpoint at CGSLogError to catch errors as they are logged.\r\nMar 23 09:12:44  python[11009] <Error>: This user is not allowed access to the window system right now.\r\n_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.\r\nMar 23 09:12:44  python[11009] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.\r\nMar 23 09:12:44  python[11009] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.\r\nMar 23 09:12:44  python[11009] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.\r\nMar 23 09:12:44  python[11009] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.\r\nMar 23 09:12:44  python[11009] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.\r\nMar 23 09:12:44  python[11009] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.\r\nMar 23 09:12:44  python[11009] <Warning>: Invalid Connection ID 0\r\n/Library/Python/2.7/site-packages/matplotlib/__init__.py:872: UserWarning: axes.color_cycle is deprecated and replaced with axes.prop_cycle; please use the latter.\r\n  warnings.warn(self.msg_depr % (key, alt_key))\r\n2016-03-23 09:12:44,972: INFO: Segmenting temp/audio/1.wav\r\n2016-03-23 09:12:44,972: INFO: Loading audio file 1.wav\r\n2016-03-23 09:12:57,657: INFO: Computing Harmonic Percussive source separation...\r\n2016-03-23 09:13:14,147: INFO: Computing Spectrogram...\r\n2016-03-23 09:13:14,788: INFO: Computing Constant-Q...\r\n2016-03-23 09:13:20,237: INFO: Computing MFCCs...\r\n2016-03-23 09:13:20,252: INFO: Computing HPCPs...\r\n2016-03-23 09:13:24,391: INFO: Computing Tonnetz...\r\n2016-03-23 09:13:24,945: INFO: Estimating Beats...\r\n2016-03-23 09:13:25,549: INFO: Saving the JSON file in temp/features/1.json\r\n2016-03-23 09:13:25,580: WARNING: No annotated beats\r\n2016-03-23 09:13:29,032: INFO: Writing results in: temp/estimations/1.jams\r\n/Library/Python/2.7/site-packages/pandas/tseries/timedeltas.py:55: RuntimeWarning: tp_compare didn't return -1 or -2 for exception\r\n  value = value.astype('timedelta64[ns]', copy=False)\r\n2016-03-23 09:13:29,501: INFO: Segmenting temp/audio/2.wav\r\n2016-03-23 09:13:29,501: INFO: Loading audio file 2.wav\r\n2016-03-23 09:13:56,653: INFO: Computing Harmonic Percussive source separation...\r\n2016-03-23 09:14:31,967: INFO: Computing Spectrogram...\r\n2016-03-23 09:14:33,481: INFO: Computing Constant-Q...\r\n2016-03-23 09:14:45,480: INFO: Computing MFCCs...\r\n2016-03-23 09:14:45,520: INFO: Computing HPCPs...\r\n2016-03-23 09:14:54,507: INFO: Computing Tonnetz...\r\n2016-03-23 09:14:55,673: INFO: Estimating Beats...\r\n2016-03-23 09:14:56,880: INFO: Saving the JSON file in temp/features/2.json\r\n2016-03-23 09:14:56,978: WARNING: No annotated beats\r\n2016-03-23 09:15:04,192: INFO: Writing results in: temp/estimations/2.jams\r\n2016-03-23 09:15:05,095: INFO: Evaluating 2 tracks...\r\n2016-03-23 09:15:05,095: WARNING: No references for file: temp/references/1.jams\r\n2016-03-23 09:15:05,095: WARNING: No references for file: temp/references/2.jams\r\n2016-03-23 09:15:05,099: INFO: 2 tracks analyzed\r\nTraceback (most recent call last):\r\n  File \"/Users/keunwoo/Downloads/msaf/examples/run_msaf.py\", line 135, in <module>\r\n    main()\r\n  File \"/Users/keunwoo/Downloads/msaf/examples/run_msaf.py\", line 128, in main\r\n    msaf.eval.process(args.in_path, **params)\r\n  File \"/Users/keunwoo/Library/Python/2.7/lib/python/site-packages/msaf-0.0.4-py2.7.egg/msaf/eval.py\", line 396, in process\r\n    print_results(results)\r\n  File \"/Users/keunwoo/Library/Python/2.7/lib/python/site-packages/msaf-0.0.4-py2.7.egg/msaf/eval.py\", line 31, in print_results\r\n    logging.info(results[\"HitRate_3F\"])\r\n  File \"/Library/Python/2.7/site-packages/pandas/core/frame.py\", line 1787, in __getitem__\r\n    return self._getitem_column(key)\r\n  File \"/Library/Python/2.7/site-packages/pandas/core/frame.py\", line 1794, in _getitem_column\r\n    return self._get_item_cache(key)\r\n  File \"/Library/Python/2.7/site-packages/pandas/core/generic.py\", line 1079, in _get_item_cache\r\n    values = self._data.get(item)\r\n  File \"/Library/Python/2.7/site-packages/pandas/core/internals.py\", line 2843, in get\r\n    loc = self.items.get_loc(item)\r\n  File \"/Library/Python/2.7/site-packages/pandas/core/index.py\", line 1437, in get_loc\r\n    return self._engine.get_loc(_values_from_object(key))\r\n  File \"pandas/index.pyx\", line 134, in pandas.index.IndexEngine.get_loc (pandas/index.c:3824)\r\n  File \"pandas/index.pyx\", line 154, in pandas.index.IndexEngine.get_loc (pandas/index.c:3704)\r\n  File \"pandas/hashtable.pyx\", line 697, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12349)\r\n  File \"pandas/hashtable.pyx\", line 705, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12300)\r\nKeyError: 'HitRate_3F'\r\n\r\n```"}}