{"action":"closed","issue":{"url":"https://api.github.com/repos/jonescompneurolab/hnn/issues/65","repository_url":"https://api.github.com/repos/jonescompneurolab/hnn","labels_url":"https://api.github.com/repos/jonescompneurolab/hnn/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/jonescompneurolab/hnn/issues/65/comments","events_url":"https://api.github.com/repos/jonescompneurolab/hnn/issues/65/events","html_url":"https://github.com/jonescompneurolab/hnn/issues/65","id":481682200,"node_id":"MDU6SXNzdWU0ODE2ODIyMDA=","number":65,"title":"Abort after loading data with new param file","user":{"login":"rythorpe","id":20212206,"node_id":"MDQ6VXNlcjIwMjEyMjA2","avatar_url":"https://avatars1.githubusercontent.com/u/20212206?v=4","gravatar_id":"","url":"https://api.github.com/users/rythorpe","html_url":"https://github.com/rythorpe","followers_url":"https://api.github.com/users/rythorpe/followers","following_url":"https://api.github.com/users/rythorpe/following{/other_user}","gists_url":"https://api.github.com/users/rythorpe/gists{/gist_id}","starred_url":"https://api.github.com/users/rythorpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rythorpe/subscriptions","organizations_url":"https://api.github.com/users/rythorpe/orgs","repos_url":"https://api.github.com/users/rythorpe/repos","events_url":"https://api.github.com/users/rythorpe/events{/privacy}","received_events_url":"https://api.github.com/users/rythorpe/received_events","type":"User","site_admin":false},"labels":[{"id":890046145,"node_id":"MDU6TGFiZWw4OTAwNDYxNDU=","url":"https://api.github.com/repos/jonescompneurolab/hnn/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":{"login":"blakecaldwell","id":2258507,"node_id":"MDQ6VXNlcjIyNTg1MDc=","avatar_url":"https://avatars2.githubusercontent.com/u/2258507?v=4","gravatar_id":"","url":"https://api.github.com/users/blakecaldwell","html_url":"https://github.com/blakecaldwell","followers_url":"https://api.github.com/users/blakecaldwell/followers","following_url":"https://api.github.com/users/blakecaldwell/following{/other_user}","gists_url":"https://api.github.com/users/blakecaldwell/gists{/gist_id}","starred_url":"https://api.github.com/users/blakecaldwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakecaldwell/subscriptions","organizations_url":"https://api.github.com/users/blakecaldwell/orgs","repos_url":"https://api.github.com/users/blakecaldwell/repos","events_url":"https://api.github.com/users/blakecaldwell/events{/privacy}","received_events_url":"https://api.github.com/users/blakecaldwell/received_events","type":"User","site_admin":false},"assignees":[{"login":"blakecaldwell","id":2258507,"node_id":"MDQ6VXNlcjIyNTg1MDc=","avatar_url":"https://avatars2.githubusercontent.com/u/2258507?v=4","gravatar_id":"","url":"https://api.github.com/users/blakecaldwell","html_url":"https://github.com/blakecaldwell","followers_url":"https://api.github.com/users/blakecaldwell/followers","following_url":"https://api.github.com/users/blakecaldwell/following{/other_user}","gists_url":"https://api.github.com/users/blakecaldwell/gists{/gist_id}","starred_url":"https://api.github.com/users/blakecaldwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakecaldwell/subscriptions","organizations_url":"https://api.github.com/users/blakecaldwell/orgs","repos_url":"https://api.github.com/users/blakecaldwell/repos","events_url":"https://api.github.com/users/blakecaldwell/events{/privacy}","received_events_url":"https://api.github.com/users/blakecaldwell/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2019-08-16T16:13:24Z","updated_at":"2019-08-16T20:01:36Z","closed_at":"2019-08-16T20:01:36Z","author_association":"CONTRIBUTOR","body":"Running HNN on Oscar VNC, I first loaded a param file located in a different directory than $HOME/hnn/param and then loaded a dataset. Immediately HNN aborted and I got the following traceback:\r\n\r\n```\r\nSingularity hnn.simg:/home/hnn_user/hnn_repo> python3 hnn.py hnn.cfg\r\nQStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-rthorpe'\r\nQStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-rthorpe'\r\n\r\n(process:2683): Gtk-WARNING **: 15:46:47.253: Locale not supported by C library.\r\n\tUsing the fallback 'C' locale.\r\nGtk-Message: 15:47:13.959: GtkDialog mapped without a transient parent. This is discouraged.\r\nGtk-Message: 15:48:02.089: GtkDialog mapped without a transient parent. This is discouraged.\r\nLoaded data in  /users/rthorpe/data/rthorpe/n20_mne.txt\r\nWARNING: could not plot data from  /users/rthorpe/data/rthorpe/n20_mne.txt\r\nTraceback (most recent call last):\r\n  File \"/home/hnn_user/hnn_repo/hnn_qt5.py\", line 2364, in loadDataFileDialog\r\n    if fn[0]: self.loadDataFile(os.path.abspath(fn[0])) # use abspath to make sure have right path separators\r\n  File \"/home/hnn_user/hnn_repo/hnn_qt5.py\", line 2350, in loadDataFile\r\n    self.m.plot()\r\n  File \"/home/hnn_user/hnn_repo/simdat.py\", line 632, in plot\r\n    self.plotextdat(recalcErr)\r\n  File \"/home/hnn_user/hnn_repo/simdat.py\", line 397, in plotextdat\r\n    calcerr(ddat, find_param(dfile['outparam'],'tstop')) # recalculate/save the error?\r\n  File \"/home/hnn_user/hnn_repo/paramrw.py\", line 485, in find_param\r\n    _, p = read(fparam)\r\n  File \"/home/hnn_user/hnn_repo/paramrw.py\", line 429, in read\r\n    lines = fio.clean_lines(fparam)\r\n  File \"/home/hnn_user/hnn_repo/fileio.py\", line 206, in clean_lines\r\n    with open(file) as f_in:\r\nFileNotFoundError: [Errno 2] No such file or directory: '/users/rthorpe/hnn/data/n20_mne_100trials_2019_05_17/param.txt'\r\nAborted\r\n```"}}
{"actor":{"display_login":"blakecaldwell"}}