git trac push error

20 views
Skip to first unread message

Julien Lavauzelle

unread,
Aug 25, 2016, 4:06:31 AM8/25/16
to sage-devel
Hi,

I have the following git trac push error:

Pushing to Trac #20100...
Guessed remote branch: u/jlavauzelle/cyclic_code
Traceback (most recent call last):
 
File "/usr/local/bin/git-trac", line 18, in <module>
    cmdline
.launch()
 
File "/usr/local/lib/python2.7/dist-packages/git_trac/cmdline.py", line 223, in launch
    app
.push(ticket_number, remote=args.remote, force=args.force)
 
File "/usr/local/lib/python2.7/dist-packages/git_trac/app.py", line 216, in push
   
self.repo.push(remote, force)
 
File "/usr/local/lib/python2.7/dist-packages/git_trac/git_repository.py", line 197, in push
   
self.git.echo.push('trac', refspec)
 
File "/usr/local/lib/python2.7/dist-packages/git_trac/git_interface.py", line 341, in meth
   
return self.execute(git_cmd, *args, **kwds)
 
File "/usr/local/lib/python2.7/dist-packages/git_trac/git_interface.py", line 98, in execute
    popen_stderr
=subprocess.PIPE)
 
File "/usr/local/lib/python2.7/dist-packages/git_trac/git_interface.py", line 263, in _run
   
raise GitError(result)
git_trac
.git_error.GitError: <exception str() failed>


I tried many things: reinstall git-trac, change the remote url, use different internet connections.
None of them work.
Weirdly, git trac checkout #ticket works though.

Can someone help me?

Thanks,

Julien Lavauzelle

Julien Lavauzelle

unread,
Aug 25, 2016, 4:31:56 AM8/25/16
to sage-devel
Ok, we solved it by a force push.

The weird <exception str() failed> was probably because of french accents in git log error.

Julien
Reply all
Reply to author
Forward
0 new messages