Le jeudi 11 juillet 2019 17:48:10 UTC+2, Dima Pasechnik a écrit : > > ok, so 'git trac' is not py3 clean, I gather... >
Possibly (see my newer post)... On Thu, 11 Jul 2019 16:54 Emmanuel Charpentier, <emanuel.c...@gmail.com > <javascript:>> wrote: > >> FWIW : >> >> after getting back to a Python2-based Sage, I have been able to get my >> ticket, patch Sage, check it, commit and push to Trac. THEN AND ONLY THEN, >> I have been able to return to my Python3-based sage, manually create a >> branch based on the Trc branch, check it out and compile to check the >> results under Python3. >> >> This workaround is a bit heavy for my taste... >> >> -- >> Emmanuel Charpentier >> >> Le jeudi 11 juillet 2019 11:18:56 UTC+2, Emmanuel Charpentier a écrit : >>> >>> I think that something is havoc : using a sage tree compiled with Python >>> 3, >>> another attempt ti git trac checkout 28151 fails as before, >>> another attempt to create a new ticket fails as before (but a newly >>> created tickets (28163) appears on the Web interface to trac). >>> >>> Furthermore : >>> >>> charpent@p-202-021:/usr/local/sage-python3$ git branch --remote | grep >>> 2815 >>> origin/u/chapoton/28153 >>> origin/u/embray/ticket-28154 >>> >>> However, perusing the Web interface shows that **all** tickets >>> #2815[[:digit:]] are accessible... >>> >>> Going back to my last Python2 compilation of Sage (and re-symlinking to >>> it), git checkout 28151 works like a charm. >>> >>> The problem seems to be that git-trac isn't compatible with Python 3 or >>> whatever happens in a Python 3-based Sage... I'm filing an issue against it >>> on its Github repository. >>> >>> Any hints or advice ? >>> >>> Le mercredi 10 juillet 2019 15:55:05 UTC+2, Emmanuel Charpentier a >>> écrit : >>>> >>>> trac.sagemath.org is accessible via its Web interface. However, a >>>> (correctly configured) "git trac" command is inable to checkout a >>>> (currently empty) ticket : >>>> >>>> charpent@p-202-021:/usr/local/sage-python3$ git trac checkout 28151 >>>> Loading ticket #28151... >>>> Newly created local branch: t/28151/upgrade_r_to_3_6_1 >>>> Traceback (most recent call last): >>>> File "/usr/local/bin/git-trac", line 17, in <module> >>>> cmdline.launch() >>>> File "/home/charpent/Dev/git-trac-command/git_trac/cmdline.py", line >>>> 220, in launch >>>> app.checkout(args.ticket_or_branch, args.branch_name) >>>> File "/home/charpent/Dev/git-trac-command/git_trac/app.py", line 118, >>>> in checkout >>>> self._checkout_ticket(int(ticket_or_branch), branch_name) >>>> File "/home/charpent/Dev/git-trac-command/git_trac/app.py", line 136, >>>> in _checkout_ticket >>>> self.repo.create(local) >>>> File >>>> "/home/charpent/Dev/git-trac-command/git_trac/git_repository.py", line >>>> 144, >>>> in create >>>> self.git.fetch('trac', starting_branch) >>>> File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", >>>> line 340, in meth >>>> return self.execute(git_cmd, *args, **kwds) >>>> File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", >>>> line 327, in execute >>>> popen_stderr=subprocess.PIPE) >>>> File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", >>>> line 262, in _run >>>> raise GitError(result) >>>> git_trac.git_error.GitError: <exception str() failed> >>>> >>>> Server problem ? >>>> >>>> Same results after refreshing my git-trac-command directory (via git >>>> fetch and git pull...).. >>>> >>>> Hints ? >>>> >>>> -- >> 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-...@googlegroups.com <javascript:>. >> To post to this group, send email to sage-...@googlegroups.com >> <javascript:>. >> Visit this group at https://groups.google.com/group/sage-devel. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/010c52e9-7108-4630-b284-417a27e215e4%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sage-devel/010c52e9-7108-4630-b284-417a27e215e4%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/7b815236-fb99-48f2-a336-a417f0e8a1b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.