#6110 Broken pipe encoding error on ibm-acpi git repo

unreleased
wont-fix
General
nobody
2015-02-15
2013-04-15
No

The ibm-acpi project needs its git repo refreshed, it failed after copying the repo over. Failure is:

Traceback (most recent call last): 
File "/var/local/allura/Allura/allura/tasks/repo_tasks.py", line 97, in reclone_repo
    c.app.repo.init_as_clone(source_path, None, source_url) 
File "/var/local/allura/Allura/allura/model/repository.py", line 345, in init_as_clone
    self.refresh(notify=False, new_clone=True) 
File "/var/local/allura/Allura/allura/model/repository.py", line 522, in refresh
    refresh_repo(self, all_commits, notify, new_clone) 
File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 48, in refresh_repo
    repo.refresh_commit_info(oid, seen, not all_commits) 
File "/var/local/allura/Allura/allura/model/repository.py", line 309, in refresh_commit_info
    return self._impl.refresh_commit_info(oid, seen, lazy) 
File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 116, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs) 
File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 125, in run_and_log
    return func(*args, **kwargs) 
File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 209, in refresh_commit_info
    tree_id=ci.tree.hexsha, 
File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr) 
File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/commit.py", line 132, in _set_cache_
    self._deserialize(StringIO(stream.read())) 
File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/commit.py", line 461, in
    _deserialize print >> sys.stderr, "Failed to decode message '%s' using encoding %s" % (self.message, self.encoding)
IOError: [Errno 32] Broken pipe 

Discussion

  • Dave Brondsema

    Dave Brondsema - 2013-04-19
    • Size: --> 2
     
  • Dave Brondsema

    Dave Brondsema - 2013-04-19
    • Milestone: forge-may-03 --> forge-may-17
     
  • Dave Brondsema

    Dave Brondsema - 2013-04-29
    • Milestone: forge-may-17 --> forge-may-03
     
  • Cory Johns

    Cory Johns - 2013-04-30
    • status: open --> in-progress
    • assigned_to: Cory Johns
     
  • Cory Johns

    Cory Johns - 2013-04-30
    • status: in-progress --> validation
     
  • Cory Johns

    Cory Johns - 2013-04-30

    GitPython bug fix from yesterday's production push fixed this issue. Refreshing.

     
  • Cory Johns

    Cory Johns - 2013-04-30
    • status: validation --> in-progress
     
  • Cory Johns

    Cory Johns - 2013-05-03
    • status: in-progress --> code-review
     
  • Cory Johns

    Cory Johns - 2013-05-03

    allura:cj/6110

    The repo does have commits with bad commit messages, but GitPython prints a warning to stderr and keeps going; other than the Broken Pipe error, the commit message renders fine. So the code change just ensures that that there is a valid (logging) stderr which will allow it to refresh successfully.

     
  • Dave Brondsema

    Dave Brondsema - 2013-05-03
    • Milestone: forge-may-03 --> forge-may-17
     
  • Dave Brondsema

    Dave Brondsema - 2013-05-03
    • status: code-review --> validation
     
  • Dave Brondsema

    Dave Brondsema - 2013-05-14
    • status: validation --> wont-fix
     
  • Dave Brondsema

    Dave Brondsema - 2013-05-14

    After 5 days, the repo refresh is still running, it's at commit info 54700 of 314487, to say nothing of child info, commit run, commit trees, diffs, lcds.

     

Log in to post a comment.