AlexChaplinBraz / Ablavema

A Blender launcher and version manager.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

memory allocation of 8028843017030165864 bytes failed

matheusfillipe opened this issue · comments

I tried both installing with cargo install ablavema and using the package from AUR. It doesn't launch:

$ ablavema
memory allocation of 8028843017030165864 bytes failed
[1]    1348504 abort (core dumped)  ablavema

That's quite a lot of memory it is trying to alocate :P

Sorry for the late reply. I read the email on my phone but only just now got back home and have access to my computer.

Anyway, from what I remember, this is an issue where serde fails to deserialize a file because the struct has changed. The simple solution is to delete the entire configuration directory.

I thought I handled all the cases where this may happen, but I guess I missed something. I'll investigate this next year.

Ok, after deleting .config/ablavema it launches but then i get:
Failed to connect to server and check for updates.
image

Is that related? Should i open a new issue?

When it shows that, it's because it literally cannot get info from the pages that the program uses to download releases. This could be because your internet is down, one of the pages is down, or maybe you've been refreshing too often and got temporarily banned (you'll be unbanned within an hour from what I've experienced).

There's also a known bug where it gives a false negative randomly and will be resolved right away if you click on the [R], though I think it's not a problem on my end because I've had that particular page randomly fail to load in browsers as well.

I tried just now and it works for me, so try again and tell me how it goes. I've only had it happen in the situations I described. Most often it's resolved by just retrying right away.

As an aside, I see that the text in the sidebar is wrapped. I've seen another person's screenshot show the same, even though it looks just fine on my machines. I'll add a TODO to expand it a bit so it looks like mine.

image

Although, from what I see in your screenshot, I'd have to expand that way too much for the Experimental (something) to fit in one line. I should probably instead shorten all of the text in parenthesis into a single letter and add tooltips.

Almost makes me want to just bake in a font and use that so it's always the same... Though I wonder if this is something to do with scaling instead? Requires further investigation.