Hello!
I installed Sentry via Docker, in accordance with https://github.com/getsentry/onpremise
All works fine with python project. I’ve tried to upload the minidump, but I got ‘500 Internal Server Error’.
In log I found following error:
web_1 | 172.20.0.1 - - [05/May/2018:17:21:02 +0000] "GET /api/0/broadcasts/ HTTP/1.1" 200 261 "http://localhost:9000/organizations/sentry/projects/new/?team=vi" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python2.7/site-packages/sentry/web/api.py", line 115, in dispatch
web_1 | request, helper, project_id=project_id, origin=origin, *args, **kwargs
web_1 | File "/usr/local/lib/python2.7/site-packages/sentry/web/api.py", line 560, in _dispatch
web_1 | request=request, project=project, auth=auth, helper=helper, key=key, **kwargs
web_1 | File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
web_1 | return handler(request, *args, **kwargs)
web_1 | File "/usr/local/lib/python2.7/site-packages/sentry/web/api.py", line 570, in post
web_1 | response_or_event_id = self.process(request, data=data, **kwargs)
web_1 | File "/usr/local/lib/python2.7/site-packages/sentry/web/api.py", line 504, in process
web_1 | helper.insert_data_to_database(data, start_time=start_time)
web_1 | File "/usr/local/lib/python2.7/site-packages/sentry/coreapi.py", line 917, in insert_data_to_database
web_1 | merge_minidump_event(data, minidump.temporary_file_path())
web_1 | AttributeError: 'InMemoryUploadedFile' object has no attribute 'temporary_file_path'
web_1 | 17:21:21 [ERROR] sentry: 'InMemoryUploadedFile' object has no attribute 'temporary_file_path'
web_1 | 192.168.2.113 - - [05/May/2018:17:21:20 +0000] "POST /api/3/minidump?sentry_key=1a1b809b63a244578a709ff3d9102e03 HTTP/1.1" 500 337 "-" "python-requests/2.18.4"
I see last release was 16 Nov 2017. I guess onpremise uses version: 8.22.0. And you have changed huge amount of thing from that point, including minidump upload pipeline. Does it make sense to upgrade sentry to specific revision or there is another way to fix that issue? Do you plan make new release soon?