{"action":"created","issue":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/16146","repository_url":"https://api.github.com/repos/mantidproject/mantid","labels_url":"https://api.github.com/repos/mantidproject/mantid/issues/16146/labels{/name}","comments_url":"https://api.github.com/repos/mantidproject/mantid/issues/16146/comments","events_url":"https://api.github.com/repos/mantidproject/mantid/issues/16146/events","html_url":"https://github.com/mantidproject/mantid/issues/16146","id":154287032,"number":16146,"title":"Mantid crashes during saving of project","user":{"login":"mganeva","id":7290767,"avatar_url":"https://avatars.githubusercontent.com/u/7290767?v=3","gravatar_id":"","url":"https://api.github.com/users/mganeva","html_url":"https://github.com/mganeva","followers_url":"https://api.github.com/users/mganeva/followers","following_url":"https://api.github.com/users/mganeva/following{/other_user}","gists_url":"https://api.github.com/users/mganeva/gists{/gist_id}","starred_url":"https://api.github.com/users/mganeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mganeva/subscriptions","organizations_url":"https://api.github.com/users/mganeva/orgs","repos_url":"https://api.github.com/users/mganeva/repos","events_url":"https://api.github.com/users/mganeva/events{/privacy}","received_events_url":"https://api.github.com/users/mganeva/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mantidproject/mantid/labels/Component:%20Framework","name":"Component: Framework","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"samueljackson92","id":2487781,"avatar_url":"https://avatars.githubusercontent.com/u/2487781?v=3","gravatar_id":"","url":"https://api.github.com/users/samueljackson92","html_url":"https://github.com/samueljackson92","followers_url":"https://api.github.com/users/samueljackson92/followers","following_url":"https://api.github.com/users/samueljackson92/following{/other_user}","gists_url":"https://api.github.com/users/samueljackson92/gists{/gist_id}","starred_url":"https://api.github.com/users/samueljackson92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueljackson92/subscriptions","organizations_url":"https://api.github.com/users/samueljackson92/orgs","repos_url":"https://api.github.com/users/samueljackson92/repos","events_url":"https://api.github.com/users/samueljackson92/events{/privacy}","received_events_url":"https://api.github.com/users/samueljackson92/received_events","type":"User","site_admin":false},"assignees":[{"login":"samueljackson92","id":2487781,"avatar_url":"https://avatars.githubusercontent.com/u/2487781?v=3","gravatar_id":"","url":"https://api.github.com/users/samueljackson92","html_url":"https://github.com/samueljackson92","followers_url":"https://api.github.com/users/samueljackson92/followers","following_url":"https://api.github.com/users/samueljackson92/following{/other_user}","gists_url":"https://api.github.com/users/samueljackson92/gists{/gist_id}","starred_url":"https://api.github.com/users/samueljackson92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueljackson92/subscriptions","organizations_url":"https://api.github.com/users/samueljackson92/orgs","repos_url":"https://api.github.com/users/samueljackson92/repos","events_url":"https://api.github.com/users/samueljackson92/events{/privacy}","received_events_url":"https://api.github.com/users/samueljackson92/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mantidproject/mantid/milestones/58","html_url":"https://github.com/mantidproject/mantid/milestones/Release%203.8","labels_url":"https://api.github.com/repos/mantidproject/mantid/milestones/58/labels","id":1505614,"number":58,"title":"Release 3.8","description":"","creator":{"login":"granrothge","id":5910574,"avatar_url":"https://avatars.githubusercontent.com/u/5910574?v=3","gravatar_id":"","url":"https://api.github.com/users/granrothge","html_url":"https://github.com/granrothge","followers_url":"https://api.github.com/users/granrothge/followers","following_url":"https://api.github.com/users/granrothge/following{/other_user}","gists_url":"https://api.github.com/users/granrothge/gists{/gist_id}","starred_url":"https://api.github.com/users/granrothge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/granrothge/subscriptions","organizations_url":"https://api.github.com/users/granrothge/orgs","repos_url":"https://api.github.com/users/granrothge/repos","events_url":"https://api.github.com/users/granrothge/events{/privacy}","received_events_url":"https://api.github.com/users/granrothge/received_events","type":"User","site_admin":false},"open_issues":630,"closed_issues":248,"state":"open","created_at":"2016-01-13T20:00:53Z","updated_at":"2016-07-01T08:49:40Z","due_on":"2016-10-09T23:00:00Z","closed_at":null},"comments":3,"created_at":"2016-05-11T16:31:42Z","updated_at":"2016-07-01T09:52:57Z","closed_at":null,"body":"<!-- TEMPLATE FOR BUG REPORTS -->\r\n\r\nOperation with groups of workspaces leads to very long names of the resulting workspaces. It causes mantid crash during saving of project.\r\n\r\n### Expected behavior\r\nGet the Mantid project saved.\r\n\r\n### Actual behavior\r\nMantid crash\r\n\r\n### Steps to reproduce the behavior\r\nCreate a workspace with the very long name, for example:\r\n``` python\r\nwsname = 'bh28000019_van_ar27630120leer_sfleer_scaled_bh28_Van-300K_with-all-corr_sfdata_group_bh28_Van-300K_with-all-corr_vana_coefs_2theta-11.56_bh28_Van-300K_with-all-corr_sfdata_group_vanacorr_bh28000020_van_ar27630121leer_nsfleer_scaled_bh28_Van-300K_with-all-corr_nsfdata_group_bh28_Van-300K_with-all-corr_vana_coefs_2theta-11.56_bh28_Van-300K_with-all-corr_nsfdata_group_vanacorr_ar27630060nicr_ar27630061nicr_ar27630120leer_sfleer_scaled_ar27630121leer_nsfleer_scaled_bh28_Van-300K_with-all-corr_nsf_data_nicrcorr'\r\nCreateSampleWorkspace(OutputWorkspace=wsname)\r\nplotSpectrum(wsname, 1, True)\r\n```\r\nClick Menu File->Save Project As..  to save the project.\r\n\r\n### Platforms affected\r\nI've observed this crash on mac os x (mavericks and el capitan) and on linux debian jessie."},"comment":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/comments/229906879","html_url":"https://github.com/mantidproject/mantid/issues/16146#issuecomment-229906879","issue_url":"https://api.github.com/repos/mantidproject/mantid/issues/16146","id":229906879,"user":{"login":"samueljackson92","id":2487781,"avatar_url":"https://avatars.githubusercontent.com/u/2487781?v=3","gravatar_id":"","url":"https://api.github.com/users/samueljackson92","html_url":"https://github.com/samueljackson92","followers_url":"https://api.github.com/users/samueljackson92/followers","following_url":"https://api.github.com/users/samueljackson92/following{/other_user}","gists_url":"https://api.github.com/users/samueljackson92/gists{/gist_id}","starred_url":"https://api.github.com/users/samueljackson92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueljackson92/subscriptions","organizations_url":"https://api.github.com/users/samueljackson92/orgs","repos_url":"https://api.github.com/users/samueljackson92/repos","events_url":"https://api.github.com/users/samueljackson92/events{/privacy}","received_events_url":"https://api.github.com/users/samueljackson92/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T09:52:57Z","updated_at":"2016-07-01T09:52:57Z","body":"@mganeva Huh. That's weird. When I run your script and do a right click > SaveNexus Mantid crashes for me (OSX El Capitan). What happens if you run the script in my comment above? Also (just in case) what version of Mantid are you observing this in? I get the right click and script crash on both the 3.7.1 release and on a recent master build.\r\n\r\nYes I agree a message would be the most logical solution. It should be fairly trivial to put something in the ApplicationWindow code where the SaveNexus/Save project calls are being made."}}
{"actor":{"display_login":"samueljackson92"}}