{"action":"opened","issue":{"url":"https://api.github.com/repos/BD2KGenomics/toil/issues/1774","repository_url":"https://api.github.com/repos/BD2KGenomics/toil","labels_url":"https://api.github.com/repos/BD2KGenomics/toil/issues/1774/labels{/name}","comments_url":"https://api.github.com/repos/BD2KGenomics/toil/issues/1774/comments","events_url":"https://api.github.com/repos/BD2KGenomics/toil/issues/1774/events","html_url":"https://github.com/BD2KGenomics/toil/issues/1774","id":245214849,"number":1774,"title":"A workflow started on a scalable batch system can't be resumed on a non-scalable batch system","user":{"login":"joelarmstrong","id":4723163,"avatar_url":"https://avatars0.githubusercontent.com/u/4723163?v=4","gravatar_id":"","url":"https://api.github.com/users/joelarmstrong","html_url":"https://github.com/joelarmstrong","followers_url":"https://api.github.com/users/joelarmstrong/followers","following_url":"https://api.github.com/users/joelarmstrong/following{/other_user}","gists_url":"https://api.github.com/users/joelarmstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/joelarmstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelarmstrong/subscriptions","organizations_url":"https://api.github.com/users/joelarmstrong/orgs","repos_url":"https://api.github.com/users/joelarmstrong/repos","events_url":"https://api.github.com/users/joelarmstrong/events{/privacy}","received_events_url":"https://api.github.com/users/joelarmstrong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-24T21:29:36Z","updated_at":"2017-07-24T21:29:36Z","closed_at":null,"body":"Looks like the `userScript` config item stays set on a resume, and the restart code doesn't clear it properly. Semi-related to #1476, I think.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/hive/users/jcarmstr/copyOfHomeUsr/lib/python2.7/runpy.py\", line 162, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/hive/users/jcarmstr/copyOfHomeUsr/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/cluster/home/jcarmstr/venv-toil-master/lib/python2.7/site-packages/cactus/preprocessor/cactus_preprocessor.py\", line 319, in <module>\r\n    main()\r\n  File \"/cluster/home/jcarmstr/venv-toil-master/lib/python2.7/site-packages/cactus/preprocessor/cactus_preprocessor.py\", line 312, in main\r\n    stageWorkflow(outputSequenceDir=options.outputSequenceDir, configFile=options.configFile, inputSequences=options.inputSequences, toil=toil, restart=options.restart)\r\n  File \"/cluster/home/jcarmstr/venv-toil-master/lib/python2.7/site-packages/cactus/preprocessor/cactus_preprocessor.py\", line 288, in stageWorkflow\r\n    outputSequenceIDs = toil.restart()\r\n  File \"/cluster/home/jcarmstr/venv-toil-master/lib/python2.7/site-packages/toil/common.py\", line 728, in restart\r\n    self._setupHotDeployment()\r\n  File \"/cluster/home/jcarmstr/venv-toil-master/lib/python2.7/site-packages/toil/common.py\", line 880, in _setupHotDeployment\r\n    self._batchSystem.setUserScript(userScriptResource)\r\n  File \"/cluster/home/jcarmstr/venv-toil-master/lib/python2.7/site-packages/toil/batchSystems/abstractBatchSystem.py\", line 92, in setUserScript\r\n    raise NotImplementedError()\r\nNotImplementedError\r\n```"}}
{"actor":{"display_login":"joelarmstrong"}}