Bug #4614
closedLog file font color in Appion default to black so that it become invisible with black background
0%
work around by making the background grey. The color will shift but at least visible
Description
When I try to extend the lines on log file for a running job in appion it no longer shows the log. See attached pictures.
Files
Updated by Anchi Cheng about 8 years ago
- File coran1.appionsub.log coran1.appionsub.log added
- Status changed from New to Assigned
- Assignee set to Neil Voss
- Target version set to Appion/Leginon 3.3
This appears to do with parsing error of the log file. Either with the colored blocks or linebreak.
I attach the log file it was looking at even though by now the tail is different since the job is now completed. Neil, this is your code. Could you take a quick look ? I It works fine with the default (13) but not some other values such as 14 where it encounter a colored block.
Updated by Neil Voss about 8 years ago
- Assignee changed from Neil Voss to Anchi Cheng
- Affected Version changed from Appion/Leginon 3.2 to Appion/Leginon 2.2.0
This has been a problem since the beginning of Appion. The text is all there if you highlight it, but the font color is black. I tried to fix it several years ago, but could not get it to work. Eventually when the program finishes it will display correctly again. I think Anchi is right when she says it has to do with the color coding.
Updated by Anchi Cheng about 8 years ago
- Assignee changed from Anchi Cheng to Neil Voss
Neil,
I did some page source research into the problem log. Problems came from the appion display colors where colorString starts with 0;. It may help you in debugging this. In any case, I have a work-around solution: set the background color to grey, instead of black. #808080. If you don't find a permanent fix quickly, could you just change the code to use grey background ?
Updated by Neil Voss about 8 years ago
the 0 (zero) is used to reset the color on the terminal, I guess it sets it to black in the viewer (black is actually a different number like 30 or something). I do not think we can avoid using the terminal color reset. It had been like 7 years since I looked at this, but I recall trying to set a white color when it see the reset.
I do like the gray compromise.
Updated by Anchi Cheng about 8 years ago
- Subject changed from Log File in Appion to Log file font color in Appion default to black so that it become invisible with black background
- Status changed from Assigned to Won't Fix or Won't Do
- Show in known bugs changed from No to Yes
- Workaround updated (diff)
Updated by Anchi Cheng about 8 years ago
Even though I added more color coding, the html may still decode string like '<<<<<<>>>>>>' into termination of font color. The workaround is the best to do now.