This is a feature request:
Report_view and Python console output errors that could be a lot more user friendly, i.e we could link the user to a webpage that could give them some background about said error.
Example:
The first step would be to make hyperlinks clickable in both dialog boxes.
Feature: Clickable hyperlinks in 'Report View' and 'Python Console' (Step 1 for making friendlier error messages)
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Feature: Clickable hyperlinks in 'Report View' and 'Python Console' (Step 1 for making friendlier error messages)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Feature: Clickable hyperlinks in 'Report View' and 'Python Console' (Step 1 for making friendlier error messages)
CCing folks that maybe interested in this feature implementation
TheMarkster wrote:
alonso_jamm wrote:
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: Feature: Clickable hyperlinks in 'Report View' and 'Python Console' (Step 1 for making friendlier error messages)
Here is a link to a discussion about making links editable in a QTextEdit.
https://stackoverflow.com/questions/358 ... -qtextedit
https://stackoverflow.com/questions/358 ... -qtextedit
Re: Feature: Clickable hyperlinks in 'Report View' and 'Python Console' (Step 1 for making friendlier error messages)
The idea is to locate relevant warnings in the source: https://github.com/FreeCAD/FreeCAD/sear ... 29.Warning
and then make sure they link to their relevant help page.
and then make sure they link to their relevant help page.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Feature: Clickable hyperlinks in 'Report View' and 'Python Console' (Step 1 for making friendlier error messages)
Or maybe parsing output of error message or modify the string in between.
Anither idea: Errors should be centralized in a place maybe so the function is not outputting the string directly but invoking something like
the method could do many things, among others:
A proper formatting
Translation
Beautify with links
Regards
Carlo D.
Anither idea: Errors should be centralized in a place maybe so the function is not outputting the string directly but invoking something like
Code: Select all
RaiseError("OCCT234")
A proper formatting
Translation
Beautify with links
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/