{"action":"created","issue":{"url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/259","labels_url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/259/comments","events_url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/259/events","html_url":"https://github.com/gitpython-developers/GitPython/issues/259","id":58307360,"number":259,"title":"remind me what those two failures are about","user":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars.githubusercontent.com/u/39889?v=3","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gitpython-developers/GitPython/labels/feedback","name":"feedback","color":"ff8c00"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gitpython-developers/GitPython/milestones/8","labels_url":"https://api.github.com/repos/gitpython-developers/GitPython/milestones/8/labels","id":947214,"number":8,"title":"v0.3.7 - Fixes","description":"A release containing minor fixes only.","creator":{"login":"Byron","id":63622,"avatar_url":"https://avatars.githubusercontent.com/u/63622?v=3","gravatar_id":"","url":"https://api.github.com/users/Byron","html_url":"https://github.com/Byron","followers_url":"https://api.github.com/users/Byron/followers","following_url":"https://api.github.com/users/Byron/following{/other_user}","gists_url":"https://api.github.com/users/Byron/gists{/gist_id}","starred_url":"https://api.github.com/users/Byron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Byron/subscriptions","organizations_url":"https://api.github.com/users/Byron/orgs","repos_url":"https://api.github.com/users/Byron/repos","events_url":"https://api.github.com/users/Byron/events{/privacy}","received_events_url":"https://api.github.com/users/Byron/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":5,"state":"open","created_at":"2015-01-22T18:10:27Z","updated_at":"2015-02-20T06:10:16Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-02-20T03:50:19Z","updated_at":"2015-02-20T16:31:10Z","closed_at":null,"body":"silly me tried to reincarnate my evil attempts to setup travis to test across multiple debian/ubuntu releases via chroots... for some reason for me they all (?didn't check all but few, some have additional failures) have:\r\n\r\n```\r\n======================================================================\r\n\r\nERROR: test_init_repo_object (git.test.test_docs.Tutorials)\r\n\r\n----------------------------------------------------------------------\r\n\r\nTraceback (most recent call last):\r\n\r\nFile \"/home/travis/build/yarikoptic/GitPython/git/ext/gitdb/gitdb/test/lib.py\", line 87, in wrapper\r\n\r\nreturn func(self, path)\r\n\r\nFile \"/home/travis/build/yarikoptic/GitPython/git/test/test_docs.py\", line 66, in test_init_repo_object\r\n\r\nassert repo.tags['0.3.5'] == repo.tag('refs/tags/0.3.5') # you can access tags in various ways too\r\n\r\nFile \"/home/travis/build/yarikoptic/GitPython/git/util.py\", line 686, in __getitem__\r\n\r\nraise IndexError(\"No item found with id %r\" % (self._prefix + index))\r\n\r\nIndexError: No item found with id '0.3.5'\r\n\r\n======================================================================\r\n\r\nERROR: test_repo_creation_from_different_paths (git.test.test_repo.TestRepo)\r\n\r\n----------------------------------------------------------------------\r\n\r\nTraceback (most recent call last):\r\n\r\nFile \"/home/travis/build/yarikoptic/GitPython/git/test/lib/helper.py\", line 111, in repo_creator\r\n\r\nrw_repo.head.commit = rw_repo.commit(working_tree_ref)\r\n\r\nFile \"/home/travis/build/yarikoptic/GitPython/git/repo/base.py\", line 426, in commit\r\n\r\nreturn self.rev_parse(text_type(rev) + \"^0\")\r\n\r\nFile \"/home/travis/build/yarikoptic/GitPython/git/repo/fun.py\", line 183, in rev_parse\r\n\r\nobj = name_to_object(repo, rev[:start])\r\n\r\nFile \"/home/travis/build/yarikoptic/GitPython/git/repo/fun.py\", line 117, in name_to_object\r\n\r\nraise BadName(name)\r\n\r\nBadName: Ref '0.3.2.1' did not resolve to an object\r\n```\r\nsee more at  https://travis-ci.org/yarikoptic/GitPython/builds/51467235"},"comment":{"url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/comments/75267670","html_url":"https://github.com/gitpython-developers/GitPython/issues/259#issuecomment-75267670","issue_url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/259","id":75267670,"user":{"login":"Byron","id":63622,"avatar_url":"https://avatars.githubusercontent.com/u/63622?v=3","gravatar_id":"","url":"https://api.github.com/users/Byron","html_url":"https://github.com/Byron","followers_url":"https://api.github.com/users/Byron/followers","following_url":"https://api.github.com/users/Byron/following{/other_user}","gists_url":"https://api.github.com/users/Byron/gists{/gist_id}","starred_url":"https://api.github.com/users/Byron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Byron/subscriptions","organizations_url":"https://api.github.com/users/Byron/orgs","repos_url":"https://api.github.com/users/Byron/repos","events_url":"https://api.github.com/users/Byron/events{/privacy}","received_events_url":"https://api.github.com/users/Byron/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T16:31:10Z","updated_at":"2015-02-20T16:31:10Z","body":"`Error: [Errno 2] No such file or directory: '/tmp/test_git_submodulesqI3_Aa/parent/module/config.lock'`\r\n\r\nThis one is fixed on Wheezy, and it showed git-python is very susceptible to the git version installed on the system now. Using the version [hardcoded here](https://github.com/gitpython-developers/GitPython/blob/master/git/objects/submodule/base.py#L140) is tries to understand when git started to use `.git files`. If this version is too high, git-python behaves incorrectly and things go awry.\r\n\r\nIf you check the git version installed on that system and adjust that hardcoded version, it should work."}}