Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' #25437

Closed
BruceWestbury opened this issue May 24, 2018 · 1 comment
Closed

Comments

@BruceWestbury
Copy link

How to Reproduce

While doing a GET operation on /ticket/25434, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'id': u'25434'}

User agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

System Information

System information not available

Enabled Plugins

Plugin information not available

Interface Customization

Interface customization information not available

Python Traceback

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 102, in filter_stream
    filters.extend(self._get_branch_filters(req, ticket))
  File "/usr/local/lib/python2.7/dist-packages/sage_trac/ticket_box.py", line 169, in _get_branch_filters
    base=base_branch_commit)
  File "/usr/local/lib/python2.7/dist-packages/sage_trac/git_merger.py", line 250, in get_merge_url
    log_url = self.log_url(log_base, branch)
  File "/usr/local/lib/python2.7/dist-packages/sage_trac/common.py", line 157, in log_url
    'q': base+'..'+tip,
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Component: PLEASE CHANGE

Author: Bruce

Issue created by migration from https://trac.sagemath.org/ticket/25437

@BruceWestbury BruceWestbury added this to the sage-8.3 milestone May 24, 2018
@embray
Copy link
Contributor

embray commented May 24, 2018

comment:1

Closing this since issues with Trac shouldn't be reported here. I'll look into it.

@embray embray removed this from the sage-8.3 milestone May 24, 2018
@embray embray closed this as completed May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants