Oni: "Oh no!" error after loading a session

Created on 18 Feb 2018  路  15Comments  路  Source: onivim/oni

I use https://github.com/vim-ctrlspace/vim-ctrlspace for session loading. Which worked before, but now I get an error:

2018-02-18-170037_1104x913_scrot
2018-02-18-170114_1334x521_scrot
2018-02-18-170446_2044x1395_scrot
2018-02-18-170556_2044x1395_scrot

bug crash insider

All 15 comments

Seems to happen when there is only one buffer in a tab?!

I also get this every once in a while (5 times this day, I believe) when I hit ,tc which is mapped to:
nmap <Leader>tc :tab split<cr>

Maybe we can list the extensions that are not working well with Oni while this issue is not resolved.

:tab split is not a plugin, I don't think it has to do with ctrl-space itself.

Seems like a core Oni issue then, is it reproducible for you without loading init.vim?

:tabclose also breaks Oni. I switch now to nvim as with that much various crashes and error popups I can't work.

@badosu yes, happens without init.vim aswell

@hoschi , have you got a repro for this? I'm trying to have a look into it, but I'm struggling to get it to happen for me.

I got it after 5mins with repeating this steps:

  • open a file with "ctrl+p"
  • open another file
  • :tab split
  • open another file
  • open another file
  • :tab split
  • ...

I'm on 44e162d359c6b2a669e5d6

Yep, repro'd it and got it sorted.
Think its a stupid error of mine for not checking if the input was an array before running find. Sorry!

Should also fix #1588 as far as I can tell, just pushing it now so the CI tests can run.

Thanks for looking into it @CrossR
I update tomorrow morning and test it.

@hoschi Not sure if it would have avoided this specific error, but using the tagged released versions has proven stable for the last 3 months for day-to-day work to me.

As I post several bugs after in depth testing after an update, I can skip the question "it is fixed in master" right away using master instead of stable.

I try to update when a stable version was released, but most of the time it doesn't fit in my schedule :disappointed:

Seems to be fixed with #1590
I'll test it this day and close this and #1588 if it doesn't crash anymore.

No crash yesterday.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bryphe picture bryphe  路  3Comments

akinsho picture akinsho  路  3Comments

bfulop picture bfulop  路  3Comments

TalAmuyal picture TalAmuyal  路  3Comments

nwaywood picture nwaywood  路  3Comments