output window - all text in single line
-
- Posts: 16
- Joined: Sun Feb 19, 2017 9:06 pm
output window - all text in single line
Output window should show output as listing rather than all text in one single line...
See attached for explanation:
Have you seen this Timur?
This is a new install. Our previous (pre 2.2) install would list correctly..
See attached for explanation:
Have you seen this Timur?
This is a new install. Our previous (pre 2.2) install would list correctly..
Re: output window - all text in single line
Hi.
Since 2.2.0 AfWatch begin to colorize task output (errors, warnings, and any custom that you can write in Python).
It parse output data with Python Parser class.
https://github.com/CGRU/cgru/blob/maste ... er.py#L190
Insets html tags to data.
Then users QTextEdit::setHtml function to display it.
https://github.com/CGRU/cgru/blob/maste ... k.cpp#L542
HTML new line is <br> tag.
May be some parsing error causes <br> missing?
Can you test parser toHTML function somehow?
May be there is some fail with your data?
Since 2.2.0 AfWatch begin to colorize task output (errors, warnings, and any custom that you can write in Python).
It parse output data with Python Parser class.
https://github.com/CGRU/cgru/blob/maste ... er.py#L190
Insets html tags to data.
Then users QTextEdit::setHtml function to display it.
https://github.com/CGRU/cgru/blob/maste ... k.cpp#L542
HTML new line is <br> tag.
May be some parsing error causes <br> missing?
Can you test parser toHTML function somehow?
May be there is some fail with your data?
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
-
- Posts: 16
- Joined: Sun Feb 19, 2017 9:06 pm
Re: output window - all text in single line
thanks Timur,
I feel like the problem could be before that?
Could someone put this in one of your output folders and see if it displays correctly in the output window?
I feel like the problem could be before that?
Could someone put this in one of your output folders and see if it displays correctly in the output window?
- Attachments
-
- 1.zip
- (413 Bytes) Downloaded 511 times
Re: output window - all text in single line
We're seeing the same thing, but only if the job is submitted with a parser that does not exist on the client running afwatch (in our case a custom parser for fumefx sims through maya). If it has the parser it displays correctly.
Re: output window - all text in single line
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: output window - all text in single line
Done!
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
-
- Posts: 16
- Joined: Sun Feb 19, 2017 9:06 pm
Re: output window - all text in single line
Amazing Timur!
I am not that great at builds, is there any chance of a linux and win build. No probs if not.
Thanks for sorting that out so quickly Timur.
I am not that great at builds, is there any chance of a linux and win build. No probs if not.
Thanks for sorting that out so quickly Timur.
Re: output window - all text in single line
Try just to ensure that afwatch imports a service and parser Python classes correctly (check that such classes exit at first).
This way you will find out that the situation above it yours.
If so, you can tell me linux distribution to build.
This way you will find out that the situation above it yours.
If so, you can tell me linux distribution to build.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
-
- Posts: 16
- Joined: Sun Feb 19, 2017 9:06 pm
Re: output window - all text in single line
Thanks Timur, how or where would I check that?
Centos6 and Windows.
Centos6 and Windows.