gitosis does not work at all since python scripts do not run as python2.5

Bug #421298 reported by Staffan Björnesjö
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gitosis (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gitosis

Using Ubuntu 9.04.
Installed package version: 0.2+20080825-2

None of the python scripts in the package have a specification of which python
version is to be used.
This means that it works fine in Intrepid where the default is python2.5, but
does not work at all in Jaunty (most likely affects Karmic as well).
All I get is an exception trace which does not explain what is wrong.

Three of them specify "/usr/bin/python", and the others nothing at all.
see $$ dpkg --listfiles gitosis | xargs cat | grep /usr/bin/python

I have made a patch that changes "#!/usr/bin/python" to "#!/usr/bin/python2.5"
and adds "#!/usr/bin/python2.5" to the files with no specification at all.

Will need to change the dependency "python" to "python2.5", as this version is specifically required.

Revision history for this message
Staffan Björnesjö (staffan-bjornesjo) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.