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

problem upgrading to 2.2.0 from 2.1.1 #197

Closed
cyberoner1 opened this issue Sep 8, 2022 · 2 comments
Closed

problem upgrading to 2.2.0 from 2.1.1 #197

cyberoner1 opened this issue Sep 8, 2022 · 2 comments

Comments

@cyberoner1
Copy link

Hi,
System Windows 2016
removed Python 2
installed python 3.9.13
installed all recommended moduls
updated config twb
copied vizalert.yaml to new folder

when i now run python vizalerts.py I am getting following error

An exception was raised loading the config file .\config\vizalerts.yaml: (<class
'TypeError'>, TypeError("load() missing 1 required positional argument: 'Loader
'"), <traceback object at 0x000000A0555A4C80>) Stacktrace: <traceback object at
0x000000A0555A4C80>
Could not initialize configuration file due to an unknown error: 'NoneType' obje
ct has no attribute 'error'

@cyberoner1
Copy link
Author

I made some progress here. changeing init.py line 34 from
yaml_opts = load(f)
to
... = yaml.safe_load(f)

is now bringing me the same error as I have running the exe

Could not process source viz data from VizAlertsConfig/ScheduledTriggerViews for the following reason:<br/><br/>Invalid regular expression found. Could not evaluate expression '' in the field allowed_from_address. Raw error:<br/><br/>allowed_from_address

the regular expression I am using .*

mcoles added a commit that referenced this issue Oct 4, 2022
@mcoles
Copy link
Contributor

mcoles commented Oct 10, 2023

Should be fixed as of 2.2.1, thanks!

@mcoles mcoles closed this as completed Oct 10, 2023
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

2 participants