Ask Your Question
0

Check out an Existing Ticket not work

asked 2018-03-04 08:07:52 -0500

updated 2018-03-04 08:29:08 -0500

I 'vejust install a new version of sage from sources to avoid any trouble. The make is ok but when I do git trac checkout 21072, to check out the ticket I obtain

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 214, in launch
    app.checkout(args.ticket_or_branch, args.branch_name)
  File "/usr/local/lib/python2.7/dist-packages/git_trac/app.py", line 116, in checkout
    self._checkout_ticket(int(ticket_or_branch), branch_name)
  File "/usr/local/lib/python2.7/dist-packages/git_trac/app.py", line 123, in _checkout_ticket
    ticket = self.trac.load(ticket_number)
  File "/usr/local/lib/python2.7/dist-packages/git_trac/trac_server.py", line 110, in load
    ticket = TracTicket(ticket_number, self.anonymous_proxy)
  File "/usr/local/lib/python2.7/dist-packages/git_trac/trac_ticket.py", line 155, in TracTicket
    change_log = server_proxy.ticket.changeLog(ticket_number)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/local/lib/python2.7/dist-packages/git_trac/digest_transport_py2.py", line 129, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 798, in close
    raise ResponseError()
xmlrpclib.ResponseError: ResponseError()

How I can fix it? Thanks Cheers Dominique

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2018-03-04 08:34:18 -0500

updated 2018-03-04 08:35:24 -0500

Given the paths appearing in your traceback, it seems that you installed git_trac by yourself (or that it comes from an earlier not-from-source Sage install), hence it seems not directly related to your new Sage installation. You can:

  • reinstall git_trac from scratch

or

  • use git_trac as provided by Sage:

    sage -i git_trac
    

    and then use it from Sage:

    sage -git trac <blah>
    
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-03-04 08:07:52 -0500

Seen: 148 times

Last updated: Mar 04 '18
{"cc_re__cc_re__cc_by_sa_3_0_le": ["/p> <p> <a href=\"/question/26517/i-want-to-review-a-ticket-with-positively-reviewed-dependencies-how-do-i-use-git-to-see-the-new-changes/\">I want to review a ticket with positively reviewed dependencies. How do I use git to see the new changes?</a> </p> <p> <a href=\"/question/7597/should-i-_really_-review-trac-tickets/\">should I _really_ review trac tickets?</a> </p> </div> </div> </div> </div> <!-- template footer.html --> <div id=\"ground\"> <div class=\"content-wrapper\"> <div class=\"copyright\"> <a href=\"http://creativecommons.org/licenses/by-sa/3.0/legalcode\"> <img\n                            class=\"license-logo\"\n                            src=\"/m/default/media/images/cc-by-sa.png?v=19\"\n                            title=\"cc-by-sa\"\n                            alt=\"cc-by-sa\"\n                        /> </a>\n                \n                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a <a href=\"http://creativecommons.org/licenses/by-sa/3.0/legalcode\">Creative Commons Attribution Share", "wrapper\"> <div class=\"copyright\"> <a href=\"http://creativecommons.org/licenses/by-sa/3.0/legalcode\"> <img\n                            class=\"license-logo\"\n                            src=\"/m/default/media/images/cc-by-sa.png?v=19\"\n                            title=\"cc-by-sa\"\n                            alt=\"cc-by-sa\"\n                        /> </a>\n                \n                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a <a href=\"http://creativecommons.org/licenses/by-sa/3.0/legalcode\">Creative Commons Attribution Share Alike 3.0</a> license.\n\n            </div> <div class=\"footer-links\" > <a href=\"/about/\">about</a><span class=\"link-separator\"> |</span> <a href=\"/faq/\">faq</a><span class=\"link-separator\"> |</span> <a href=\"/help/\" title=\"help\">help</a> <span class=\"link-separator\"> |</span> <a href=\"/privacy/\">privacy policy</a><span class=\"link-separator\"> |</span> <a href=\"/terms/\">terms of service</a> </div> <div class=\"powered-link\"> <a href=\"http://askbot.com\" target=\"_b"], "copyright__copyright__copyright": ["not directly related to your new Sage installation. You can:\n\n  \u2022 reinstall git_trac from scratch\n\nor\n\n  \u2022 use git_trac as provided by Sage:\n\n    sage -i git_trac\n    \n\n    and then use it from Sage:\n\n    sage -git trac <blah>\n    \nedit flag offensive delete link more\n\nYour Answer\n\nPlease start posting anonymously - your entry will be published after you log in or create a new account.\n\nAdd Answer\n\nQuestion Tools\n\nStats\n\nAsked: 2018-03-04 08:07:52 -0500\n\nSeen: 148 times\n\nLast updated: Mar 04 '18", "not directly related to your new Sage installation. You can:\n\n  \u2022 reinstall git_trac from scratch\n\nor\n\n  \u2022 use git_trac as provided by Sage:\n\n    sage -i git_trac\n    \n\n    and then use it from Sage:\n\n    sage -git trac <blah>\n    \nedit flag offensive delete link more\n\nYour Answer\n\nPlease start posting anonymously - your entry will be published after you log in or create a new account.\n\nAdd Answer\n\nQuestion Tools\n\nStats\n\nAsked: 2018-03-04 08:07:52 -0500\n\nSeen: 148 times\n\nLast updated: Mar 04 '18"]}