Sentry 8.6.0 dysm feature

Please can someone share how to add dsym feature in sentry 8.6.0. Is 8.6.0 supports dsym? if not please someone guide us how to achieve dsym feature in 8.6.0.

Also we have tried to upgrade 8.6.0 to 8.10.0 but we are facing problem upgrading it. can someone help/advice how to update it?

pip install sentry --upgrade
running sentry upgrade produces errors:

Traceback (most recent call last):
File “/usr/local/bin/sentry”, line 11, in
sys.exit(main())
File “/usr/local/lib/python2.7/dist-packages/sentry/runner/init.py”, line 158, in main
cli(prog_name=get_prog(), obj={}, max_content_width=100)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/sentry/runner/decorators.py”, line 36, in inner
return ctx.invoke(f, *args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/sentry/runner/commands/upgrade.py”, line 60, in upgrade
_upgrade(not noinput, traceback, verbosity, not no_repair)
File “/usr/local/lib/python2.7/dist-packages/sentry/runner/commands/upgrade.py”, line 20, in _upgrade
verbosity=verbosity,
File “/usr/local/lib/python2.7/dist-packages/django/core/management/init.py”, line 145, in call_command
klass = load_command_class(app_name, name)
File “/usr/local/lib/python2.7/dist-packages/django/core/management/init.py”, line 75, in load_command_class
module = import_module(’%s.management.commands.%s’ % (app_name, name))
File “/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py”, line 40, in import_module
import(name)
File “/usr/local/lib/python2.7/dist-packages/south/management/commands/init.py”, line 10, in
import django.template.loaders.app_directories
File “/usr/local/lib/python2.7/dist-packages/django/template/loaders/app_directories.py”, line 25, in
raise ImproperlyConfigured(‘ImportError %s: %s’ % (app, e.args[0]))
django.core.exceptions.ImproperlyConfigured: ImportError sentry.lang.javascript: No module named libsourcemap

8.6 wouldn’t really have them available.

The error you’re seeing is because you failed to install dependencies properly.

Did you do pip install --upgrade sentry==8.10.0 ? It should have pulled in libsourcemap and anything else that would be missing.

The location where the python libraries are there, the sentry version is upgraded i.e.

/usr/local/lib/python2.7/dist-packages
version : sentry-8.10.0.dist-info

And the location where the application is installed i.e the normal user’s home directory it is still showing the same old version i.e.

~/sentry_app/lib/python2.7/site-packages/
version : sentry-8.6.0.dist-info

Can you please guide what could have been the reason for this difference in versions in two different location ?

I’m not sure how you got into that state, but you definitely have two distinct copies of Sentry installed into two different places.

You should get rid of one of them to avoid confusion in the future.