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

Crash: Custom view, :restart full #895

Open
aksr opened this issue Apr 10, 2023 · 5 comments
Open

Crash: Custom view, :restart full #895

aksr opened this issue Apr 10, 2023 · 5 comments

Comments

@aksr
Copy link

aksr commented Apr 10, 2023

  1. command flatten :execute '!find -maxdepth %a -not -path "*/\.*" %%U'
    (or command flat :execute '!lr %%U' lr: https://github.com/leahneukirchen/lr)
  2. execute, for example, :flatten 2 (or :flat)
  3. :restart full

vifm crashes:
vifm: sort.c:668: get_secondary_key: Assertion `0 && "Unhandled sorting key?"' failed.
Directory picking cancelled/failed

@xaizek
Copy link
Member

xaizek commented Apr 10, 2023

Couldn't reproduce so far. What version are you using? The behaviour can also depend on the contents of your vifmrc file, so please provide it or try commenting out things yourself to find out what makes the difference.

@aksr
Copy link
Author

aksr commented Apr 10, 2023

Try also with set sort=-ctime,dir...

Edit: At first glance, it seems it doesn't matter which option for sort is used...

@xaizek
Copy link
Member

xaizek commented Apr 10, 2023

set sort=-ctime,dir made no difference. So which version is that?

@aksr
Copy link
Author

aksr commented Apr 10, 2023

Version: 0.13
Git info: v0.13-1-g41fd2f3c3a18-dirty
Compiled at: Apr 10 2023 11:11:00

@aksr
Copy link
Author

aksr commented Apr 10, 2023

Strange, it doesn't happen ATM (it used to happen in directory mounted via sshfs...
I need to investigate a bit more...

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

No branches or pull requests

2 participants