{"action":"created","issue":{"url":"https://api.github.com/repos/github/git-lfs/issues/930","repository_url":"https://api.github.com/repos/github/git-lfs","labels_url":"https://api.github.com/repos/github/git-lfs/issues/930/labels{/name}","comments_url":"https://api.github.com/repos/github/git-lfs/issues/930/comments","events_url":"https://api.github.com/repos/github/git-lfs/issues/930/events","html_url":"https://github.com/github/git-lfs/issues/930","id":126147570,"number":930,"title":"Error accessing media: unsupported protocol scheme \"\"","user":{"login":"cmaumet","id":5374264,"avatar_url":"https://avatars.githubusercontent.com/u/5374264?v=3","gravatar_id":"","url":"https://api.github.com/users/cmaumet","html_url":"https://github.com/cmaumet","followers_url":"https://api.github.com/users/cmaumet/followers","following_url":"https://api.github.com/users/cmaumet/following{/other_user}","gists_url":"https://api.github.com/users/cmaumet/gists{/gist_id}","starred_url":"https://api.github.com/users/cmaumet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmaumet/subscriptions","organizations_url":"https://api.github.com/users/cmaumet/orgs","repos_url":"https://api.github.com/users/cmaumet/repos","events_url":"https://api.github.com/users/cmaumet/events{/privacy}","received_events_url":"https://api.github.com/users/cmaumet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/github/git-lfs/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-01-12T10:30:01Z","updated_at":"2016-08-24T17:49:25Z","closed_at":"2016-08-15T17:03:19Z","body":"When trying to pull from https://github.com/incf-nidash/nidmresults-examples, we get the following error:\r\n```\r\n$ git pull\r\nUpdating 17d5080..ff51e6d\r\nDownloading spm_explicit_mask/explicit_mask_2.nii (579.34 KB)\r\nError accessing media: spm_explicit_mask/explicit_mask_2.nii (a543db67399ab02aefbf3dd2aad2f4e2980c9a026b657498c79f3573ac821952)\r\n\r\nErrors logged to .git/lfs/objects/logs/20160112T102310.547408339.log\r\nUse `git lfs logs last` to view the log.\r\nerror: external filter git-lfs smudge %f failed 2\r\nerror: external filter git-lfs smudge %f failed\r\nfatal: spm_explicit_mask/explicit_mask_2.nii: smudge filter lfs failed\r\n```\r\n\r\nFull log:\r\n```\r\n$ git lfs logs last\r\ngit-lfs/1.1.0 (GitHub; darwin amd64; go 1.5.1)\r\ngit version 2.6.3\r\n\r\n$ git-lfs smudge spm_explicit_mask/explicit_mask_2.nii\r\nError accessing media: spm_explicit_mask/explicit_mask_2.nii (a543db67399ab02aefbf3dd2aad2f4e2980c9a026b657498c79f3573ac821952)\r\n\r\nPost objects/batch: unsupported protocol scheme \"\"\r\ngoroutine 1 [running]:\r\ngithub.com/github/git-lfs/lfs.Stack(0x0, 0x0, 0x0)\r\n\t/private/tmp/git-lfs20151202-15548-y7a9pj/git-lfs-1.1.0/src/github.com/github/git-lfs/lfs/errors.go:557 +0x80\r\ngithub.com/github/git-lfs/commands.logPanicToWriter(0xb641c0, 0xc820082228, 0xb64de0, 0xc82012a480)\r\n\t/private/tmp/git-lfs20151202-15548-y7a9pj/git-lfs-1.1.0/src/github.com/github/git-lfs/commands/commands.go:184 +0xf7f\r\ngithub.com/github/git-lfs/commands.logPanic(0xb64de0, 0xc82012a480, 0x0, 0x0)\r\n\t/private/tmp/git-lfs20151202-15548-y7a9pj/git-lfs-1.1.0/src/github.com/github/git-lfs/commands/commands.go:148 +0x421\r\ngithub.com/github/git-lfs/commands.handlePanic(0xb64de0, 0xc82012a480, 0x0, 0x0)\r\n\t/private/tmp/git-lfs20151202-15548-y7a9pj/git-lfs-1.1.0/src/github.com/github/git-lfs/commands/commands.go:123 +0x4e\r\ngithub.com/github/git-lfs/commands.LoggedError(0xb64de0, 0xc82012a480, 0x55a640, 0x1e, 0xc820127c98, 0x2, 0x2)\r\n\t/private/tmp/git-lfs20151202-15548-y7a9pj/git-lfs-1.1.0/src/github.com/github/git-lfs/commands/commands.go:73 +0x82\r\ngithub.com/github/git-lfs/commands.smudgeCommand(0x75e040, 0xc820071970, 0x1, 0x1)\r\n\t/private/tmp/git-lfs20151202-15548-y7a9pj/git-lfs-1.1.0/src/github.com/github/git-lfs/commands/command_smudge.go:77 +0xd89\r\ngithub.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).execute(0x75e040, 0xc8200718c0, 0x1, 0x1, 0x0, 0x0)\r\n\t/private/tmp/git-lfs20151202-15548-y7a9pj/git-lfs-1.1.0/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:477 +0x403\r\ngithub.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).Execute(0x75f080, 0x0, 0x0)\r\n\t/private/tmp/git-lfs20151202-15548-y7a9pj/git-lfs-1.1.0/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:551 +0x46a\r\ngithub.com/github/git-lfs/commands.Run()\r\n\t/private/tmp/git-lfs20151202-15548-y7a9pj/git-lfs-1.1.0/src/github.com/github/git-lfs/commands/commands.go:88 +0x23\r\nmain.main()\r\n\t/private/tmp/git-lfs20151202-15548-y7a9pj/git-lfs-1.1.0/git-lfs.go:34 +0x12e\r\n\r\nENV:\r\nLocalWorkingDir=.\r\nLocalGitDir=.git\r\nLocalGitStorageDir=.git\r\nLocalMediaDir=.git/lfs/objects\r\nTempDir=.git/lfs/tmp\r\nConcurrentTransfers=3\r\nBatchTransfer=true\r\nGIT_DIR=.git\r\nGIT_REFLOG_ACTION=pull\r\nGIT_WORK_TREE=.\r\nGIT_PREFIX=\r\n```\r\n\r\nCloning the repository from scratch does work but the same issue re-appear when we try to pull again (the error is raised when the first file stored with git-lfs is pulled). Could you help us tracking this down? Thank you!\r\n\r\nThe repository contains a lot of files tracked with git-lfs. Might this be an issue?\r\n"},"comment":{"url":"https://api.github.com/repos/github/git-lfs/issues/comments/242151586","html_url":"https://github.com/github/git-lfs/issues/930#issuecomment-242151586","issue_url":"https://api.github.com/repos/github/git-lfs/issues/930","id":242151586,"user":{"login":"doudou","id":292,"avatar_url":"https://avatars.githubusercontent.com/u/292?v=3","gravatar_id":"","url":"https://api.github.com/users/doudou","html_url":"https://github.com/doudou","followers_url":"https://api.github.com/users/doudou/followers","following_url":"https://api.github.com/users/doudou/following{/other_user}","gists_url":"https://api.github.com/users/doudou/gists{/gist_id}","starred_url":"https://api.github.com/users/doudou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doudou/subscriptions","organizations_url":"https://api.github.com/users/doudou/orgs","repos_url":"https://api.github.com/users/doudou/repos","events_url":"https://api.github.com/users/doudou/events{/privacy}","received_events_url":"https://api.github.com/users/doudou/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T17:49:25Z","updated_at":"2016-08-24T17:49:25Z","body":"I was going with the `--skip-smudge` solution ... but it is global, right ?\r\n\r\nI would like to be able to not touch the global setting, but set it while cloning. Once my repositorie's cloned, I can obviously set it up in the git configuration, but how can I force git-lfs to avoid smudging when I clone (regardless of the global setting)"}}
{"actor":{"display_login":"doudou"}}