Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error in opening Crash Stats webapp

21 views
Skip to first unread message

Stephane van Hardeveld

unread,
Feb 4, 2020, 7:28:22 AM2/4/20
to tools-...@lists.mozilla.org
Hi All,

I have socorro running in my dev environment. Antenna is collecting crash
reports, pubsub is receiving crash ids, and the processor processed them. My
product is added to postgress db, and I can view the resulting crash info in
crash stats webapp via supersearch.
However, if I open crash stats webapp via localhost:8000, I get an error in
reverse:
django.urls.exceptions.NoReverseMatch: Reverse for 'product_home' with
keyword arguments '{'product': 'TestServiceDlg.exe'}' not found. 1
pattern(s) tried: ['home/product/(?P<product>\\w+)$']
It seems I miss some place where I have to add my product?

Kind regards,
Stephane van Hardeveld


step...@dualz-solutions.nl

unread,
Feb 4, 2020, 4:48:04 PM2/4/20
to
Some more inof, might shed some more light where I f*cked up:
I can reach my product via /home/product/PRODUCTNAME. And I do see the crash reports here if I select Top Crashers. But if I then click on report, and then on the Crash ID, I get an error:

Page not found (404)
Request Method: GET
Request URL: http://webapp:8000/report/index/ca5cb54e-4041-4fe8-ba17-f6dfc0200204
Raised by: crashstats.crashstats.views.report_index

Not a recognized product

hard...@gmail.com

unread,
Feb 4, 2020, 5:11:31 PM2/4/20
to
They seem to be in S3:

scripts/socorro_aws_s3.sh ls s3://dev_bucket/v1/processed_crash/
2020-02-04 20:39:42      22865 1f46f705-7f30-4b3b-9060-8092a0200204
2020-02-04 21:38:39       2171 55392969-9f3e-47a1-87ef-d88060200203
2020-02-04 21:05:11      11606 a4fcb352-bcae-4c07-ae45-ae45b0200204
2020-02-04 21:37:44      21992 ca5cb54e-4041-4fe8-ba17-f6dfc0200204

William Kahn-Greene

unread,
Feb 7, 2020, 3:27:37 PM2/7/20
to hard...@gmail.com, tools-...@lists.mozilla.org
Hi!

That's curious. What's in the crashstats_product table? What's the
full traceback from the error you got in your first email?

/will
> _______________________________________________
> tools-socorro mailing list
> tools-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/tools-socorro

stephane (Dualz Solutions)

unread,
Feb 7, 2020, 6:02:44 PM2/7/20
to mozilla.to...@googlegroups.com, hard...@gmail.com, tools-...@lists.mozilla.org


Solved it Will, by adding my prog as DEFAULT_PRODUCT to local_dev.env. Added symbol_path to commandline of stackwalker in processor_line.py (plus accompanying rule). Now it works perfectly. Next step is a helm chart 😎😂Verzonden vanaf mijn Samsung-apparaat

-------- Oorspronkelijk bericht --------
Van: William Kahn-Greene <wil...@mozilla.com>
Datum: 07-02-20 21:27 (GMT+01:00)
Aan: hard...@gmail.com
Cc: tools-...@lists.mozilla.org
Onderwerp: Re: error in opening Crash Stats webapp

Hi!That's curious. What's in the crashstats_product table? What's thefull traceback from the error you got in your first email?/willOn Wed, Feb 5, 2020 at 10:25 PM <hard...@gmail.com> wrote:>> They seem to be in S3:>> scripts/socorro_aws_s3.sh ls s3://dev_bucket/v1/processed_crash/> 2020-02-04 20:39:42      22865 1f46f705-7f30-4b3b-9060-8092a0200204> 2020-02-04 21:38:39       2171 55392969-9f3e-47a1-87ef-d88060200203> 2020-02-04 21:05:11      11606 a4fcb352-bcae-4c07-ae45-ae45b0200204> 2020-02-04 21:37:44      21992 ca5cb54e-4041-4fe8-ba17-f6dfc0200204> _______________________________________________> tools-socorro mailing list> tools-...@lists.mozilla.org> https://lists.mozilla.org/listinfo/tools-socorro

0 new messages