Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 329291

Summary: dev-vcs/gitosis-gentoo-0.2_p20100718 does not work properly
Product: Gentoo Linux Reporter: Michele Beltrame <mb>
Component: [OLD] DevelopmentAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: Victor.Mendoza
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michele Beltrame 2010-07-21 15:24:38 UTC
I recently upgrade to this version of gitosis-gentoo and when I try a "git pull" I get (from the git client, but it's the server sending the message):

-------
Traceback (most recent call last):
  File "/usr/bin/gitosis-serve", line 9, in <module>
    load_entry_point('gitosis==0.2', 'console_scripts', 'gitosis-serve')()
  File "/usr/lib/python2.6/site-packages/gitosis/app.py", line 36, in run
    return app.main()
  File "/usr/lib/python2.6/site-packages/gitosis/app.py", line 51, in main
    self.handle_args(parser, cfg, options, args)
  File "/usr/lib/python2.6/site-packages/gitosis/serve.py", line 218, in handle_args
    m.search("^# gitosis-name: *(.*)$", userdata)
AttributeError: 'NoneType' object has no attribute 'search'
fatal: The remote end hung up unexpectedly
-----

Reverting to the previous version "fixes" the issue.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-07-22 16:00:15 UTC
And 0.2_p20100721 is already in the tree with the fix.
I've just removed 0.2_p20100718 from the tree now.