Unable to load blueprint
See original GitHub issueHi,
When I try to load the blueprint in the following way:
from rqmonitor.bp import monitor_blueprint
app.register_blueprint(monitor_blueprint, url_prefix="/dashboard")
from .backend import config
app.config["RQ_MONITOR_REDIS_URL"] = config.REDIS_URL # This looks like : f"redis://:{REDIS_PASSWORD}@{REDIS_IP}:{REDIS_PORT}/0"
app.config["RQ_MONITOR_REFRESH_INTERVAL"] = 10
I get the following HTTP reponse when I try to load the page:
{"message":"RQ Monitor Global Exception","traceback":" File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/flask/app.py\", line 1950, in full_dispatch_request\n rv = self.dispatch_request()\n File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/flask/app.py\", line 1936, in dispatch_request\n return self.view_functions[rule.endpoint](**req.view_args)\n File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/rqmonitor/decorators.py\", line 32, in _wrapper\n raise RQMonitorException(**kwargs).with_traceback(tb)\n File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/rqmonitor/decorators.py\", line 22, in _wrapper\n inner_response = func(*args, **kwargs)\n File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/rqmonitor/decorators.py\", line 11, in _wrapper\n _rendered_template = func(*args, **kwargs)\n File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/rqmonitor/bp.py\", line 99, in home\n site_map[rule.endpoint] = url_for(rule.endpoint)\n File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/flask/helpers.py\", line 370, in url_for\n return appctx.app.handle_url_build_error(error, endpoint, values)\n File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/flask/app.py\", line 2216, in handle_url_build_error\n reraise(exc_type, exc_value, tb)\n File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/flask/_compat.py\", line 39, in reraise\n raise value\n File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/flask/helpers.py\", line 358, in url_for\n endpoint, values, method=method, force_external=external\n File \"/home/poga/anaconda3/envs/analyses_images/lib/python3.7/site-packages/werkzeug/routing.py\", line 2179, in build\n raise BuildError(endpoint, values, method, self)\n"}
Why is that?
Thanks! David
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Deleted blueprint generates error - Home Assistant Community
Check your automations.yaml file that contains that blueprint. Then delete that particular automation. It is mentioned in the error logs-
Read more >Failed to Load error - Blueprint - Unreal Engine Forums
So I accidentaly have deleted my folder with all of my BPs (please don't ask me why and how I did it) and...
Read more >[Mod Help] Blueprint Failed To Load : r/Pathfinder_Kingmaker
Conclusion: The missing GUID was from a mod, though it was impossible to determine which or the exact mechanism of breakdown. The only...
Read more >Problem With Loading Blueprints: | Spaceflight Simulator Forum
If the game can't load the blueprint, it's possible that there is a syntax error in the blueprint file. Did you try to...
Read more >Error saving blueprint VrChat SDK - Steam Community
When I detach the blueprint, and try to upload, it says: "Uh oh! Something went wrong. The signed in account does not have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works ! Thank you, Very good job !
Hi David,
v1.0.0 should have fixed this. I checked with above example and it works fine now. Let me know if same error pops up again. Also as refresh interval is in ms and I think you want 10 seconds for RQ_MONITOR_REFRESH_INTERVAL so you should use 10000 for the same.