Re: [sage-devel] git-trac push
On Tuesday, October 18, 2016 at 10:37:24 AM UTC+2, Daniel Krenn wrote: > > It would be nice, if the actual git errors were shown by git-trac. Is > this (easily) possible? > Doing "git-trac --log=DEBUG" probably works. Of course the ideal solution would be for main to catch errors and present a nice (human-readable) error message. -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] git-trac push
On 2016-10-18 08:56, 'Martin R' via sage-devel wrote: > martin@Martin-Laptop:~/sage-develop$ git-trac push 21594 > Pushing to Trac #21594... > Guessed remote branch: u/mantepse/growth_diagrams > Traceback (most recent call last): > ... > raise GitError(result) > git_trac.git_error.GitError It would be nice, if the actual git errors were shown by git-trac. Is this (easily) possible? -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] git-trac push
git-trac doesn't like me - what have I done wrong? martin@Martin-Laptop:~/sage-develop$ git-trac push 21594 Pushing to Trac #21594... Guessed remote branch: u/mantepse/growth_diagrams Traceback (most recent call last): File "/home/martin/git-trac-command/bin/git-trac", line 18, in cmdline.launch() File "/home/martin/git-trac-command/git_trac/cmdline.py", line 223, in launch app.push(ticket_number, remote=args.remote, force=args.force) File "/home/martin/git-trac-command/git_trac/app.py", line 216, in push self.repo.push(remote, force) File "/home/martin/git-trac-command/git_trac/git_repository.py", line 197, in push self.git.echo.push('trac', refspec) File "/home/martin/git-trac-command/git_trac/git_interface.py", line 341, in meth return self.execute(git_cmd, *args, **kwds) File "/home/martin/git-trac-command/git_trac/git_interface.py", line 98, in execute popen_stderr=subprocess.PIPE) File "/home/martin/git-trac-command/git_trac/git_interface.py", line 263, in _run raise GitError(result) git_trac.git_error.GitError -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] git trac push error
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 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: 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 -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] "git trac push" can no longer change branch on Trac
With the latest git-trac-command: $ git trac push Pushing to Trac #20868... Guessed remote branch: u/jdemeyer/homfly_doctest_errors The authenticity of host 'trac.sagemath.org (104.197.143.230)' can't be established. ECDSA key fingerprint is 5b:97:c8:74:a6:c4:e4:55:d1:13:8a:84:a3:85:25:6f. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'trac.sagemath.org,104.197.143.230' (ECDSA) to the list of known hosts. remote: Traceback (most recent call last): remote: File "./hooks/post-receive.d/01-trac_branch", line 180, in remote: for number, ticket in trac.ticket_iter(branch): remote: File "./hooks/post-receive.d/01-trac_branch", line 75, in ticket_iter remote: for result in self.rpc.search.branch(branch): remote: File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__ remote: return self.__send(self.__name, args) remote: File "/usr/lib/python2.7/xmlrpclib.py", line 1587, in __request remote: verbose=self.__verbose remote: File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request remote: return self.single_request(host, handler, request_body, verbose) remote: File "/srv/git/repositories/sage.git/hooks/post-receive.d/digest_transport.py", line 154, in single_request remote: return self.parse_response(response) remote: File "/usr/lib/python2.7/xmlrpclib.py", line 1482, in parse_response remote: return u.close() remote: File "/usr/lib/python2.7/xmlrpclib.py", line 792, in close remote: raise ResponseError() remote: xmlrpclib.ResponseError: ResponseError() To g...@trac.sagemath.org:sage.git * [new branch] HEAD -> u/jdemeyer/homfly_doctest_errors Changing the trac "Branch:" field... Traceback (most recent call last): File "/home/jdemeyer/local/bin/git-trac", line 18, in cmdline.launch() File "/home/jdemeyer/local/src/git-trac-command/git_trac/cmdline.py", line 223, in launch app.push(ticket_number, remote=args.remote, force=args.force) File "/home/jdemeyer/local/src/git-trac-command/git_trac/app.py", line 221, in push self.trac.set_remote_branch(ticket, remote) File "/home/jdemeyer/local/src/git-trac-command/git_trac/trac_server.py", line 144, in set_remote_branch ticket.number, comment, attributes, True) File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request verbose=self.__verbose File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request return self.single_request(host, handler, request_body, verbose) File "/home/jdemeyer/local/src/git-trac-command/git_trac/digest_transport_py2.py", line 131, in single_request raise TracInternalError(e) git_trac.trac_error.TracInternalError: privileges are required to perform this operation on Ticket #20868. You don't have the required permissions."> -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] git trac push error
I get the following error and I have no idea what's going wrong: $ git trac push Pushing to Trac #17583... Guessed remote branch: u/jdemeyer/ticket/17583 Traceback (most recent call last): File "/home/jdemeyer/local/bin/git-trac", line 18, in cmdline.launch() File "/home/jdemeyer/local/src/git-trac-command/git_trac/cmdline.py", line 210, in launch app.push(ticket_number, remote=args.remote, force=args.force) File "/home/jdemeyer/local/src/git-trac-command/git_trac/app.py", line 194, in push self.repo.push(remote, force) File "/home/jdemeyer/local/src/git-trac-command/git_trac/git_repository.py", line 181, in push self.git.echo.push('trac', refspec) File "/home/jdemeyer/local/src/git-trac-command/git_trac/git_interface.py", line 341, in meth return self.execute(git_cmd, *args, **kwds) File "/home/jdemeyer/local/src/git-trac-command/git_trac/git_interface.py", line 98, in execute popen_stderr=subprocess.PIPE) File "/home/jdemeyer/local/src/git-trac-command/git_trac/git_interface.py", line 263, in _run raise GitError(result) git_trac.git_error.GitError: git returned with non-zero exit code (1) when executing "git push trac HEAD:refs/heads/u/jdemeyer/ticket/17583" STDERR: error: insufficient permission for adding an object to repository database ./objects STDERR: STDERR: fatal: failed to write object STDERR: error: unpack failed: unpack-objects abnormal exit STDERR: To g...@trac.sagemath.org:sage.git STDERR: ! [remote rejected] HEAD -> u/jdemeyer/ticket/17583 (n/a (unpacker error)) STDERR: error: failed to push some refs to 'g...@trac.sagemath.org:sage.git' -- 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.