trac internal error on making a new ticket

54 views
Skip to first unread message

John Cremona

unread,
Feb 26, 2021, 6:55:36 AM2/26/21
to SAGE devel
https://trac.sagemath.org/newticket now raises an error:

Trac detected an internal error:
KeyError: u'ticket_branch'

John

Dima Pasechnik

unread,
Feb 26, 2021, 9:56:53 AM2/26/21
to sage-devel
reboot did not help. :-(

The earliest such an error from log (they all look the same)

KeyError: u'ticket_branch'
2021-02-26 10:19:24,568 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line
587, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line
266, in dispatch
iterable=chrome.use_chunked_encoding)
File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py",
line 1112, in render_template
stream |= self._filter_stream(req, method, filename, stream, data)
File "/usr/local/lib/python2.7/dist-packages/genshi/core.py", line
133, in __or__
return Stream(_ensure(function(self)), serializer=self.serializer)
File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py",
line 1398, in inner
data)
File "/usr/local/lib/python2.7/dist-packages/sage_trac/ticket_box.py",
line 155, in filter_stream
link_url = status_badge['link_url'].format(**format_vars)
KeyError: u'ticket_branch'




>
> John
>
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAD0p0K5yGL3P6DFuPjQbDuMXHnvPxL1hwW3%2Bs%3Dc94vLOkW7FzQ%40mail.gmail.com.

John Cremona

unread,
Feb 26, 2021, 10:26:54 AM2/26/21
to SAGE devel
Too bad, I'll just have to start the weekend early! By now I have
nearly forgotten what ticket I wanted to open anyway...

John
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq2%2BAVfzvsMEZKHd3B9%3Dy3cbhvY-S9hMfrVw26BMsstqBg%40mail.gmail.com.

Dima Pasechnik

unread,
Feb 26, 2021, 10:33:47 AM2/26/21
to sage-devel
open a gitlab or github issue

it feels like a good day to finally abandon this tzores and migrate to something working without constant hassle, and which is not a money sink.

CNRS, ping?


John Cremona

unread,
Feb 26, 2021, 10:42:41 AM2/26/21
to SAGE devel
On Fri, 26 Feb 2021 at 15:33, Dima Pasechnik <dim...@gmail.com> wrote:
>
> open a gitlab or github issue

Do you mean here: https://github.com/sagemath/sage/issues ?

John
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq23OVu68OcLmPFJ7qa-CmAX%2B8pTSLyvGDTBXJPD%3DfUaig%40mail.gmail.com.

Dima Pasechnik

unread,
Feb 26, 2021, 10:46:32 AM2/26/21
to sage-devel


On Fri, 26 Feb 2021, 15:42 John Cremona, <john.c...@gmail.com> wrote:
On Fri, 26 Feb 2021 at 15:33, Dima Pasechnik <dim...@gmail.com> wrote:
>
> open a gitlab or github issue

Do you mean here:  https://github.com/sagemath/sage/issues ?

yes - or in a fork

E. Madison Bray

unread,
Feb 26, 2021, 11:31:36 AM2/26/21
to sage-devel
Let me save you guys some time and say I deployed a new version of the sage_trac plug-in today. It worked on all my tests but apparently there is a weird case where it doesn't. 

E. Madison Bray

unread,
Feb 26, 2021, 11:59:30 AM2/26/21
to sage-devel

John Cremona

unread,
Feb 26, 2021, 12:04:29 PM2/26/21
to SAGE devel
On Fri, 26 Feb 2021 at 16:59, E. Madison Bray <erik....@gmail.com> wrote:
>
> Ok, it is fixed and re-deployed:
> https://github.com/sagemath/sage_trac_plugin/commit/1ff66702f0f1a10a2cca50e9a728493d6ced791e

Thanks! I'll try it out on Monday...
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAOTD34Z25rX%2BUQWVsSabBuk8K5z8guwHYprue3uJCLZHW_D2DQ%40mail.gmail.com.

Dima Pasechnik

unread,
Feb 26, 2021, 12:05:02 PM2/26/21
to sage-devel
Reply all
Reply to author
Forward
0 new messages