Experimenting with installing git_deploy, I used drush to deploy libraries and then git_deploy. When I enabled git_deploy, the glip library was cloned into sites/all/libraries/glip/glip (so sites/all/libraries/glip/glip/README, for example). The library wasn't found at admin/reports/status, so I moved the library into sites/all/libraries/glip (so sites/all/libraries/glip/README)
Then I got:
Exception: object not found: 9ee03ffe4325534b30bb73e8bd1fc55e47bcdf6b in Git->getRawObject() (line 401 of /home/rfay/workspace/drupal7/sites/all/libraries/glip/lib/git.class.php).
Maybe that means it's working?
Comments
Comment #1
halstead commentedThank you for the feedback. That means glip has loaded and it's trying to do its thing. Do you know what repository 9ee03ffe4325534b30bb73e8bd1fc55e47bcdf6b might be from?
Comment #2
rfayI wasn't able to find where that's from.
found nothing. But my object spelunking skills may not be up to the necessary level.
Comment #3
halstead commentedDoesn't look like it's part of the official project/drupal repository. Does
git show 9ee03ffe4325534b30bb73e8bd1fc55e47bcdf6breturn anything other than "bad object" in any of your repositories?
I'd like to track down the repository that causes this problem.
Comment #4
rfayActually, I found it right away. It's in libraries. And it seems that since I have libraries as a git submodule, it shows up in my main repo as well.
Comment #5
rfayHad another episode today right after
drush dl advanced_helpwhich *replaced* an existing bit of advanced_help (probably from an old-fashioned drush dl from the past). In this case the object it choked on is in fact in advanced_help.Comment #6
aaron commentedI'm experiencing the same issue, when hitting the modules page:
Exception: object not found: 4112e5e387db6e46719a0d33d02f0f0e037d2154 in Git->getRawObject() (line 401 of /var/www/test-site/sites/all/libraries/glip/lib/git.class.php).the commit in question seems to be from emfield.
Comment #7
aaron commentedthat's in the d6 version for me, of course.
Comment #8
aaron commented$ git show 4112e5e387db6e46719a0d33d02f0f0e037d2154
fatal: bad object 4112e5e387db6e46719a0d33d02f0f0e037d2154
Comment #9
aaron commentedhowever, when doing a fresh clone, i see:
Comment #10
aaron commentedthe issue for me was that i'm using svn, and hadn't committed the new git objects after a fresh pull. sorry for the noise. Although it might indicate the need for a friendlier message than a fatal error when the git objects aren't present.
Comment #11
pfrenssenI encountered this error today. I could solve it by disabling the git cache in drush.
Comment #12
rfayGot it again. But I haven't been using drush's git caching any more... That doesn't mean there's not an object somewhere in this site that had something to do with it.
Comment #13
halstead commentedGit_deploy 2 solves this problem for Drupal 7 by replacing Glip with the git binary. Still a problem in Drupal 6 for now.
Comment #14
darren oh