{"action":"opened","issue":{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/497","labels_url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/497/labels{/name}","comments_url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/497/comments","events_url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/497/events","html_url":"https://github.com/GENI-NSF/geni-tools/issues/497","id":77824864,"number":497,"title":"make `stitcher.py` filenames compatible with Windows","user":{"login":"seledwards","id":12306529,"avatar_url":"https://avatars.githubusercontent.com/u/12306529?v=3","gravatar_id":"","url":"https://api.github.com/users/seledwards","html_url":"https://github.com/seledwards","followers_url":"https://api.github.com/users/seledwards/followers","following_url":"https://api.github.com/users/seledwards/following{/other_user}","gists_url":"https://api.github.com/users/seledwards/gists{/gist_id}","starred_url":"https://api.github.com/users/seledwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seledwards/subscriptions","organizations_url":"https://api.github.com/users/seledwards/orgs","repos_url":"https://api.github.com/users/seledwards/repos","events_url":"https://api.github.com/users/seledwards/events{/privacy}","received_events_url":"https://api.github.com/users/seledwards/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"seledwards","id":12306529,"avatar_url":"https://avatars.githubusercontent.com/u/12306529?v=3","gravatar_id":"","url":"https://api.github.com/users/seledwards","html_url":"https://github.com/seledwards","followers_url":"https://api.github.com/users/seledwards/followers","following_url":"https://api.github.com/users/seledwards/following{/other_user}","gists_url":"https://api.github.com/users/seledwards/gists{/gist_id}","starred_url":"https://api.github.com/users/seledwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seledwards/subscriptions","organizations_url":"https://api.github.com/users/seledwards/orgs","repos_url":"https://api.github.com/users/seledwards/repos","events_url":"https://api.github.com/users/seledwards/events{/privacy}","received_events_url":"https://api.github.com/users/seledwards/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/milestones/23","html_url":"https://github.com/GENI-NSF/geni-tools/milestones/2.5","labels_url":"https://api.github.com/repos/GENI-NSF/geni-tools/milestones/23/labels","id":1116379,"number":23,"title":"2.5","description":null,"creator":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":79,"state":"open","created_at":"2015-05-18T19:03:20Z","updated_at":"2015-05-18T22:13:18Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-05-18T22:13:18Z","updated_at":"2015-05-18T22:13:18Z","closed_at":null,"body":"`gcf/src/omnilib/stitchhandler.py` uses a SLICRED_FILENAME variable which generates filenames which cause Windows stitcher to fail.\r\n\r\nThe error is:\r\n```\r\nTraceback (most recent call last):\r\n  File \"C:\\gcf\\src\\stitcher.py\", line 188, in <module>\r\n    sys.exit(main())\r\n  File \"C:\\gcf\\src\\stitcher.py\", line 169, in main\r\n    text, item = call(argv)\r\n  File \"C:\\gcf\\src\\stitcher.py\", line 160, in call\r\n    return handler.doStitching(args)\r\n  File \"C:\\gcf\\src\\omnilib\\stitchhandler.py\", line 167, in doStitching\r\n    (sliceurn, sliceexp) = self.confirmSliceOK()\r\n  File \"C:\\gcf\\src\\omnilib\\stitchhandler.py\", line 494, in confirmSliceOK\r\n    handler_utils._save_cred(self, self.opts.slicecredfile[:trim], slicecred)\r\n  File \"C:\\gcf\\src\\omnilib\\util\\handler_utils.py\", line 622, in _save_cred\r\n    with open(filename, 'w') as file:\r\nIOError: [Errno 2] No such file or directory: '/tmp/slice-ch\\\\.geni\\\\.net.tutori\r\nal.stitchtest-for-sedwards-cred.xml'\r\n```\r\nThis is cause by this line:\r\n```\r\n# File in which we save the slice cred so omni calls don't have to keep re-fetching it\r\n# Valid substitutions: %username, %slicename, %slicehrn\r\nSLICECRED_FILENAME = '/tmp/slice-%slicehrn-for-%username-cred.xml'\r\n```\r\n\r\nSecond, we get the following very similar error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"C:\\gcf\\src\\stitcher.py\", line 188, in <module>\r\n    sys.exit(main())\r\n  File \"C:\\gcf\\src\\stitcher.py\", line 169, in main\r\n    text, item = call(argv)\r\n  File \"C:\\gcf\\src\\stitcher.py\", line 160, in call\r\n    return handler.doStitching(args)\r\n  File \"C:\\gcf\\src\\omnilib\\stitchhandler.py\", line 215, in doStitching\r\n    self.saveAggregateList(sliceurn)\r\n  File \"C:\\gcf\\src\\omnilib\\stitchhandler.py\", line 1019, in saveAggregateList\r\n    with open (fname, 'w') as file:\r\nIOError: [Errno 2] No such file or directory: 'ch\\\\.geni\\\\.net.tutorial.stitchte\r\nst-amlist.txt'\r\n```\n\n _Imported from trac ticket [#497](http://trac.gpolab.bbn.com/gcf/ticket/497),  created by sedwards on 02-05-2014 at 13:48, last modified: 02-05-2014 at 17:07_\n   CCing: gpo-expt-support@..., rrhain@..."}}