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

Output looks broken with pacman 6 #536

Closed
Torxed opened this issue Jun 1, 2021 · 2 comments · Fixed by #538
Closed

Output looks broken with pacman 6 #536

Torxed opened this issue Jun 1, 2021 · 2 comments · Fixed by #538
Labels
bug Something isn't working

Comments

@Torxed
Copy link
Member

Torxed commented Jun 1, 2021

Since pacman v6 was released, it introduced paralell downloads among other things (color enhancement and other good stuff).
Due to how we show "progressbars" in archinstall, the output looks broken and scrambled.

The installs work fine!

It's jut that the outlook looks garbage because:

sys.stdout.flush()
sys.stdout.write("\033[%dG" % 0)
sys.stdout.flush()
# Clear the line
sys.stdout.write(" " * get_terminal_width())
sys.stdout.flush()
# Move back to the beginning again
sys.stdout.flush()
sys.stdout.write("\033[%dG" % 0)
sys.stdout.flush()

@Torxed Torxed added the bug Something isn't working label Jun 1, 2021
@Torxed Torxed pinned this issue Jun 1, 2021
@jtagcat
Copy link
Contributor

jtagcat commented Jun 8, 2021

VID_20210608_215710_optimized.mp4

Not exactly sure, whether this is what you meant..?

@Torxed
Copy link
Member Author

Torxed commented Jun 10, 2021

Kind of, at some point it was even worse.
It used to spit out new-lines that made a kind of "ladder" filling the entire screen with "random text" that was supposed to be a progress bar.

And later, it started behaving like in your video except it also ate the previous output:
output

@Torxed Torxed unpinned this issue Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants