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

Micro crash when select a folder in windows #3679

Closed
Amarx86 opened this issue Mar 1, 2025 · 2 comments
Closed

Micro crash when select a folder in windows #3679

Amarx86 opened this issue Mar 1, 2025 · 2 comments

Comments

@Amarx86
Copy link

Amarx86 commented Mar 1, 2025

Instead of giving "This is not a file" prompt, micro crashes when a folder is selected.

Crash error below: -
Micro encountered an error: runtime.boundsError runtime error: index out of range [0] with length 0
runtime/panic.go:113 (0x1017b5f)
github.com/kballard/go-shellquote@v0.0.0-20180428030007-95032a82bc51/unquote.go:88 (0x1457577)
github.com/kballard/go-shellquote@v0.0.0-20180428030007-95032a82bc51/unquote.go:59 (0x1456ce5)
github.com/zyedidia/micro/v2/internal/action/command.go:1061 (0x148e529)
github.com/zyedidia/micro/v2/internal/action/actions.go:1676 (0x147d2d2)
github.com/zyedidia/micro/v2/internal/info/infobuffer.go:163 (0x1459ac3)
github.com/zyedidia/micro/v2/internal/action/infopane.go:223 (0x149310c)
github.com/zyedidia/micro/v2/internal/action/infopane.go:54 (0x1491f96)
github.com/zyedidia/micro/v2/internal/action/infopane.go:132 (0x1492922)
github.com/zyedidia/micro/v2/internal/action/infopane.go:91 (0x14924ac)
github.com/zyedidia/micro/v2/cmd/micro/micro.go:482 (0x14c58f6)
github.com/zyedidia/micro/v2/cmd/micro/micro.go:400 (0x14c5251)
runtime/proc.go:250 (0x101c95e)
runtime/asm_amd64.s:1594 (0x104a0c1)

Here is system details: -
Windows 11 Home x64 latest stable

Micro version: -
Version: 2.0.14
Commit hash: 04c5770
Compiled on August 27, 2024

Micro_Error.mp4
@JoeKar
Copy link
Collaborator

JoeKar commented Mar 1, 2025

Already fixed with #3596, but will be present in v2.0.15 earliest.

@JoeKar JoeKar closed this as completed Mar 1, 2025
@niten94
Copy link
Contributor

niten94 commented Mar 2, 2025

The nightly build may also be used since the fix and latest changes are included.

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

3 participants