Skip to content
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

The task log is not displayed #1968

Open
kovalewvladimir opened this issue Apr 24, 2024 · 5 comments
Open

The task log is not displayed #1968

kovalewvladimir opened this issue Apr 24, 2024 · 5 comments

Comments

@kovalewvladimir
Copy link

The large log is not displayed on the web. It crashes with an error

vue.runtime.esm.js:1897 RangeError: Maximum call stack size exceeded
    at String.replace (<anonymous>)
    at f (ansi_to_html.js:507:17)
    at D (ansi_to_html.js:517:7)
    at e.value (ansi_to_html.js:605:7)
    at Object.formatLog (main.js:18:53)
    at TaskLogView.vue:1:1858
    at a.Nt [as _l] (vue.runtime.esm.js:2646:16)
    at a.D (TaskLogView.vue:1:1545)
    at e._render (vue.runtime.esm.js:3569:22)
    at a.r (vue.runtime.esm.js:4081:21)

image

I've identified that there is an issue with the ansi-to-html library. See the link for the problem description.
rburns/ansi-to-html#87

@yashunkin
Copy link

Hello, I have the same issue. Any ideas how to fix it?

@Aric000
Copy link

Aric000 commented Jul 4, 2024

Press ctrl+a in the black area to select all, looking if it's the question about font color

@kovalewvladimir
Copy link
Author

image

Empty

@kovalewvladimir
Copy link
Author

Press ctrl+a in the black area to select all, looking if it's the question about font color

The issue with the ansi-to-html JavaScript library.
There is a very simple and effective solution: #1969

@fiftin
Copy link
Collaborator

fiftin commented Jul 21, 2024

Looks like we should use different library, for example https://www.npmjs.com/package/ansi_up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants