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

[BUG] list index out of range error #64

Closed
feschber opened this issue Feb 4, 2024 · 7 comments
Closed

[BUG] list index out of range error #64

feschber opened this issue Feb 4, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@feschber
Copy link

feschber commented Feb 4, 2024

Describe the bug ๐Ÿ›

smassh
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ in render_lines:3109                                                                                                                                                                      โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in render_widget:117                                                                                                                                                                      โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in render:216                                                                                                                                                                             โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in render_line:418                                                                                                                                                                        โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in render_line:3093                                                                                                                                                                       โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in _render_content:3058                                                                                                                                                                   โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in split_and_crop_lines:291                                                                                                                                                               โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in render:1332                                                                                                                                                                            โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in <genexpr>:162                                                                                                                                                                          โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in <genexpr>:156                                                                                                                                                                          โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in render:1332                                                                                                                                                                            โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in __rich_console__:694                                                                                                                                                                   โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in wrap:1234                                                                                                                                                                              โ”‚
โ”‚                                                                                                                                                                                           โ”‚
โ”‚ in divide:1164                                                                                                                                                                            โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
IndexError: list index out of range

To Reproduce ๐Ÿฃ

Happens every now and then when typing. Not exactly sure how to reproduce.
I'm using foot terminal on arch linux. Installed through the AUR.

Expected behavior ๐Ÿค”

No response

Screenshots ๐Ÿง

No response

Your operating system name

Arch Linux

Your operating system version

Latest

Additional context ๐Ÿ“

No response

@feschber feschber added the bug Something isn't working label Feb 4, 2024
@feschber feschber changed the title [BUG] [BUG] list index out of range error Feb 4, 2024
@kraanzu
Copy link
Owner

kraanzu commented Feb 4, 2024

Hey @feschber,

Happens every now and then when typing.

Alright, that seems weird. Is it random or when you are about to finish typing?

@feschber
Copy link
Author

feschber commented Feb 4, 2024

I found the culprit: Apparently when I use backspace, the cursor falls behind the actual text:

image
It then crashes when the highlighted text reaches the end...

@kraanzu
Copy link
Owner

kraanzu commented Feb 4, 2024

I pushed a fix! Lemme quickly update the AUR
Sorry for bad experience :(

@kraanzu
Copy link
Owner

kraanzu commented Feb 4, 2024

Hey, can do a quick reinstall? AUR seems to be updated now :)

@feschber
Copy link
Author

feschber commented Feb 4, 2024

Seems fixed! :)

@kraanzu
Copy link
Owner

kraanzu commented Feb 4, 2024

Hoof! That was a close call. Thanks!
I'll close this issue then :)

@kraanzu kraanzu closed this as completed Feb 4, 2024
Copy link

github-actions bot commented Feb 4, 2024

Did we solve your problem?

Glad we could help!
Don't forget to star the repository!
โ€“ @kraanzu

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

No branches or pull requests

2 participants