-
Notifications
You must be signed in to change notification settings - Fork 5
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
Report FSL conversion warnings to usage API #68
Conversation
@ChrisLoer Would you mind testing this, and seeing if the reporting of FSL conversion warnings to your API is working well? |
I haven't been able to trigger any warnings using the plugin built from this PR (felt_plugin.2.0.2-alpha.ec1d150.zip) using the data/style from: geology_style (1).zip. I tried adding a scale-based rule because I saw that in the list of error messages, but still no dice: Can you provide some example data/style I could use to trigger the warning? |
@ChrisLoer there's no user facing errors yet, but you should be getting reports via the usage API. Can you check that? |
No I'm not seeing anything come in. Glancing at this code, it looks like it's still using Is there a way to see the log warning messages from the QGIS side so I can tell what it's trying to do? |
Can you check the network logger requests? For my testing I'm seeing a submission like this: curl 'https://felt.com/api/v1/internal/reports' -H 'accept: application/json' -H 'x-qgis-add-to-felt-version: 1.0.0' -H 'authorization: Bearer xxxx' -H 'Content-Type: application/json' -H 'User-Agent: Mozilla/5.0 QGIS/33700/Fedora Linux 40 (KDE Plasma)' --data '{"type": "info", "content": "{"type": "fsl_conversion", "warnings": [{"object": "renderer", "renderer": "rule_based", "cause": "scale_based_rule", "message": "Rule based renderer with scale based rule visibility cannot be converted", "level": "Error"}]}"}' --compressed |
1 similar comment
@ChrisLoer so is that something that needs to change in the way the plugin reports this? or in the analytics backend? |
I think the plugin? This was my original request here https://github.com/felt/qgis-plugin-discussion/issues/71 -- I mostly just chose that format because it's what we were already using for unsupported layers and led to a nice analogous hook up to our analytics. As long as it reports the keys/counts in that format, any other data that gets reported will still be accessible to use for a limited time via the logs (we hold them for two weeks). |
@ChrisLoer can you try with the latest version? |
No description provided.