1 of 1 people found this helpful
yeah, it's not actually optional to install those two. Just optional to use--the docs are wrong. sorry about that! Just install both and you'll be okay.
That resolved part of issue, and I can successfully run a simple alert successfully, but the advanced alert demo is not running correctly for me. I get the following message.
Unable to process alert Advanced Alerts Demo as csv, error: nothing to repeat
Sorry, I've never seen that one before. Could we see the log entries leading up to that error, please? And the CSV file that was downloaded from it in the \temp folder? Did you modify the Advanced Alerts Demo workbook at all?
The only thing I edited on the VizAlertsDemo workbook are the parameter values for the from and to emails on the Advanced Alerts Test Sheet.
I was unclear as to which sheet I needed to subscribe to. So first I subscribed to the Advanced Alerts Demo sheet on one of my alert schedules. Added the comment per the instructions. Received the error provided before. So then I removed the subscription from the Advanced Alerts Demo and put it on the Advanced Alerts Test view, but received the same issue.
Attached are the requested information, I also included my config workbook and yaml files... And the temp folder
So in the logs, it has this line:
1 - 2017-01-12 10:30:47 - [INFO] - export_view - Attempting to write to: .\temp\20170112103047385000_1_VizAlertsDemo-AdvancedAlertsTests.csv
So wherever you ran VizAlerts from has a "temp" folder in it that should contain the file "20170112103047385000_1_VizAlertsDemo-AdvancedAlertsTests.csv". Could you send that to me, please?
2 of 2 people found this helpful
I think I found the problem, the error message is coming from the Python library for regex.
In the VizAlertsConfig.twb the default_allowed_from_address is set to *.medtronic.com, it needs to be .*medtronic.com
How I could debug this is that that Matt and I have tried hard to write much more informative errors in our code, so when I see a non-informative error message like "nothing to repeat" that I can't figure out it's probably a Python library, and a web search turned that up: "Nothing to repeat" from Python regex - Stack Overflow
Matt, do you think this a case we should test for?
Good find! Yes, I totally agree, we should handle regex pattern errors in a user-friendly way.
That fixed it. Thanks, I don't think I would have ever noticed that they were transposed. I had them correct in the recipient emails.