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

sentry: This is an example Python exception #95

Closed
tbg opened this issue Sep 24, 2018 · 0 comments
Closed

sentry: This is an example Python exception #95

tbg opened this issue Sep 24, 2018 · 0 comments

Comments

@tbg
Copy link
Owner

tbg commented Sep 24, 2018

https://sentry.io/cockroach-labs/cockroachdb/issues/698767394/

'My event just happened!'

abs_path: /home/ubuntu/.virtualenvs/getsentry/src/raven/raven/base.py
context_line: transformer=self.transform)
filename: raven/base.py
function: build_msg
in_app: False
lineno: 303
module: raven.base
post_context: [u' },', u' })', u'', u" if 'sentry.interfaces.Stacktrace' in data:", u' if self.include_paths:']
pre_context: [u' frames = stack', u'', u' data.update({', u" 'sentry.interfaces.Stacktrace': {", u" 'frames': get_stack_info(frames,"]
vars: {u"'event_id'": u"'54a322436e1b47b88e239b78998ae742'", u"'culprit'": None, u"'event_type'": u"'raven.events.Message'", u"'date'": u'datetime.datetime(2013, 8, 13, 3, 8, 24, 880386)', u"'extra'": {u"'go_deeper'": [[{u"'bar'": [u"'baz'"], u"'foo'": u"'bar'"}]], u"'user'": u"'dcramer'", u"'loadavg'": [0.37255859375, 0.5341796875, 0.62939453125]}, u"'v'": {u"'message'": u"u'This is a test message generated using raven test'", u"'params'": []}, u"'kwargs'": {u"'message'": u"'This is a test message generated using raven test'", u"'level'": 20}, u"'stack'": True, u"'frames'": u'<generator object iter_stack_frames at 0x107bcc3c0>', u"'tags'": None, u"'time_spent'": None, u"'self'": u'<raven.base.Client object at 0x107bb8210>', u"'data'": {u"'sentry.interfaces.Message'": {u"'message'": u"u'This is a test message generated using raven test'", u"'params'": []}, u"'message'": u"u'This is a test message generated using raven test'"}, u"'result'": {u"'sentry.interfaces.Message'": {u"'message'": u"u'This is a test message generated using raven test'", u"'params'": []}, u"'message'": u"u'This is a test message generated using raven test'"}, u"'handler'": u'<raven.events.Message object at 0x107bd0890>', u"'k'": u"'sentry.interfaces.Message'", u"'public_key'": None}

abs_path: /home/ubuntu/.virtualenvs/getsentry/src/raven/raven/base.py
context_line: **kwargs)
filename: raven/base.py
function: capture
in_app: False
lineno: 459
module: raven.base
post_context: [u'', u' self.send(**data)', u'', u" return (data.get('event_id'),)", u'']
pre_context: [u' if not self.is_enabled():', u' return', u'', u' data = self.build_msg(', u' event_type, data, date, time_spent, extra, stack, tags=tags,']
vars: {u"'event_type'": u"'raven.events.Message'", u"'date'": None, u"'extra'": {u"'go_deeper'": [[{u"'bar'": [u"'baz'"], u"'foo'": u"'bar'"}]], u"'user'": u"'dcramer'", u"'loadavg'": [0.37255859375, 0.5341796875, 0.62939453125]}, u"'stack'": True, u"'tags'": None, u"'time_spent'": None, u"'self'": u'<raven.base.Client object at 0x107bb8210>', u"'data'": None, u"'kwargs'": {u"'message'": u"'This is a test message generated using raven test'", u"'level'": 20}}

abs_path: /home/ubuntu/.virtualenvs/getsentry/src/raven/raven/base.py
context_line: return self.capture('raven.events.Message', message=message, **kwargs)
filename: raven/base.py
function: captureMessage
in_app: False
lineno: 577
module: raven.base
post_context: [u'', u' def captureException(self, exc_info=None, **kwargs):', u' """', u' Creates an event from an exception.', u'']
pre_context: [u' """', u' Creates an event from message.', u'', u" >>> client.captureMessage('My event just happened!')", u' """']
vars: {u"'message'": u"'This is a test message generated using raven test'", u"'kwargs'": {u"'extra'": {u"'go_deeper'": [[{u"'bar'": [u"'baz'"], u"'foo'": u"'bar'"}]], u"'user'": u"'dcramer'", u"'loadavg'": [0.37255859375, 0.5341796875, 0.62939453125]}, u"'stack'": True, u"'data'": None, u"'level'": 20, u"'tags'": None}, u"'self'": u'<raven.base.Client object at 0x107bb8210>'}

abs_path: /home/ubuntu/.virtualenvs/getsentry/src/raven/raven/scripts/runner.py
context_line: 'loadavg': get_loadavg(),
filename: raven/scripts/runner.py
function: send_test_message
in_app: False
lineno: 77
module: raven.scripts.runner
post_context: [u' },', u' ))', u'', u' if client.state.did_fail():', u" print('error!')"]
pre_context: [u' level=logging.INFO,', u' stack=True,', u" tags=options.get('tags', {}),", u' extra={', u" 'user': get_uid(),"]
vars: {u"'client'": u'<raven.base.Client object at 0x107bb8210>', u"'options'": {u"'tags'": None, u"'data'": None}, u"'data'": None, u"'k'": u"'secret_key'"}

abs_path: /home/ubuntu/.virtualenvs/getsentry/src/raven/raven/scripts/runner.py
context_line: send_test_message(client, opts.dict)
filename: raven/scripts/runner.py
function: main
in_app: False
lineno: 112
module: raven.scripts.runner
pre_context: [u' print("Using DSN configuration:")', u' print(" ", dsn)', u' print()', u'', u" client = Client(dsn, include_paths=['raven'])"]
vars: {u"'root'": u'<logging.Logger object at 0x107ba5b10>', u"'parser'": u'<optparse.OptionParser instance at 0x107ba3368>', u"'dsn'": u"'https://ebc35f33e151401f9deac549978bda11:[email protected]/1'", u"'opts'": u"<Values at 0x107ba3b00: {'data': None, 'tags': None}>", u"'client'": u'<raven.base.Client object at 0x107bb8210>', u"'args'": [u"'test'", u"'https://ebc35f33e151401f9deac549978bda11:[email protected]/1'"]}

@tbg tbg closed this as completed Sep 24, 2018
tbg pushed a commit that referenced this issue Jun 21, 2022
Version 5.0.0 of the aria-query package currently includes files with
spaces in their names [1], but those files aren't used at build- or
run-time. Unfortunately, Bazel doesn't support referencing *any* file
with a space in its name -- including transitively. The yarn-vendored
submodule recently received [2]a copy of aria-query without those extra
files [3], but using it requires a custom yarn resolution for all
packages that transitively depend on aria-query. Replace the corrupt
aria-query build with a custom build that doesn't include extra files.

[1] A11yance/aria-query#367
[2] cockroachdb/yarn-vendored#95
[3] https://github.com/cockroachdb/aria-query/releases/tag/v5.0.0-no-extra-files

Release note: None
tbg pushed a commit that referenced this issue Jun 21, 2022
82961: ui: use custom build of [email protected] (#95) r=rickystewart,maryliag a=sjbarag

Version 5.0.0 of the aria-query package currently includes files with
spaces in their names [1], but those files aren't used at build- or
run-time. Unfortunately, Bazel doesn't support referencing *any* file
with a space in its name -- including transitively. The yarn-vendored
submodule recently received [2]a copy of aria-query without those extra
files [3], but using it requires a custom yarn resolution for all
packages that transitively depend on aria-query. Replace the corrupt
aria-query build with a custom build that doesn't include extra files.

[1] A11yance/aria-query#367
[2] cockroachdb/yarn-vendored#95
[3] https://github.com/cockroachdb/aria-query/releases/tag/v5.0.0-no-extra-files

Release note: None

Co-authored-by: Sean Barag <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant