Skip to content

Micro crashes when I try to open a folder #3

Description

@notatamas

The filetree plugins shows up and I can select files and folders but when I try to open a folder Micro crashes with the following error:

Micro encountered an error: runtime error: index out of range
runtime.errorString runtime error: index out of range
/usr/lib/go-1.6/src/runtime/panic.go:443 (0x4cd559)
/usr/lib/go-1.6/src/runtime/panic.go:27 (0x4cb9e5)
/build/b68dc646faa0c5dccca78d8c5d88c0fa-xenial/parts/micro/go/src/github.com/zyedidia/micro/cmd/micro/cellview.go:79 (0x41b74f)
/build/b68dc646faa0c5dccca78d8c5d88c0fa-xenial/parts/micro/go/src/github.com/zyedidia/micro/cmd/micro/view.go:723 (0x480426)
/build/b68dc646faa0c5dccca78d8c5d88c0fa-xenial/parts/micro/go/src/github.com/zyedidia/micro/cmd/micro/view.go:977 (0x483c3c)
/build/b68dc646faa0c5dccca78d8c5d88c0fa-xenial/parts/micro/go/src/github.com/zyedidia/micro/cmd/micro/micro.go:216 (0x438910)
/build/b68dc646faa0c5dccca78d8c5d88c0fa-xenial/parts/micro/go/src/github.com/zyedidia/micro/cmd/micro/micro.go:426 (0x43ad8d)
/usr/lib/go-1.6/src/runtime/proc.go:188 (0x4cf070)
/usr/lib/go-1.6/src/runtime/asm_amd64.s:1998 (0x4fead1)

On a different note: The same thing happens when I try to open not supported file formats. Which kind of makes sense, but shouldn't there be check that would not allow the user to open not supported file formats?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions