I've added a workaround for the Python 2.7.1 issue, this should work now. 
Just do a "git pull" to get the latest git-trac command.



On Tuesday, June 3, 2014 4:37:45 PM UTC+1, Stefan wrote:
>
> Hi all,
>
> I'm trying to follow the developer's guide to set up git-trac. I keep 
> running into the following error, for instance when checking out a ticket 
> or setting up my username and password:
>
> Saved trac username.
> Saved trac password.
> Trac xmlrpc URL:
>     http://trac.sagemath.org/xmlrpc (anonymous)
>     http://trac.sagemath.org/login/xmlrpc (authenticated)
>     realm sage.math.washington.edu
> Username: Stefan
> Password: *******
> Retrieving SSH keys...
> Traceback (most recent call last):
>   File "/usr/local/bin/git-trac", line 18, in <module>
>     cmdline.launch()
>   File "/Users/stefan/sage/git-trac-command/git_trac/cmdline.py", line 
> 240, in launch
>     app.print_config()
>   File "/Users/stefan/sage/git-trac-command/git_trac/app.py", line 310, in 
> print_config
>     for key in self.trac.get_ssh_fingerprints():
>   File "/Users/stefan/sage/git-trac-command/git_trac/trac_server.py", line 
> 88, in get_ssh_fingerprints
>     for key in self.get_ssh_keys():
>   File "/Users/stefan/sage/git-trac-command/git_trac/trac_server.py", line 
> 79, in get_ssh_keys
>     return self.authenticated_proxy.sshkeys.getkeys()
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py",
>  
> line 1224, in __call__
>     return self.__send(self.__name, args)
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py",
>  
> line 1570, in __request
>     verbose=self.__verbose
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py",
>  
> line 1264, in request
>     return self.single_request(host, handler, request_body, verbose)
>   File 
> "/Users/stefan/sage/git-trac-command/git_trac/digest_transport_py2.py", 
> line 107, in single_request
>     return self.parse_response(response)
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py",
>  
> line 1449, in parse_response
>     if response.getheader("Content-Encoding", "") == "gzip":
> AttributeError: addinfourl instance has no attribute 'getheader'
>
> I'm using
>
> Python 2.7.1
> git version 1.7.7.5 (Apple Git-26)
>
> if that's any help.
>
> --Stefan.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to