Giter VIP home page Giter VIP logo

Comments (116)

wehagy avatar wehagy commented on July 30, 2024 2

Created a clean Fedora 37 virtual machine and my daily drivers Fedora 37, Debian testing/bookworm and Manjaro, still have the same crash with 0.3.1 (Flatpak).

~$ flatpak run com.vysp3r.ProtonPlus 

(protonplus:2): GLib-GIO-CRITICAL **: 23:51:27.389: g_list_store_append: assertion 'g_type_is_a (G_OBJECT_TYPE (item), store->item_type)' failed

(protonplus:2): GLib-GObject-WARNING **: 23:51:27.391: ../gobject/gtype.c:3210: invalid class pointer '0x556313c1ec20'

Builded the branch associated with this issue using flatpak builder, and now it work on the Fedora 37 virtual machine and all my daily drivers.

But the *.tar.gz file don't auto prune and I can't delete the compatibility tool if I click to delete.

~$ flatpak run com.vysp3r.ProtonPlus
Trash portal failed on /home/wgimenes/.var/app/com.vysp3r.ProtonPlus/config/preferences.json
Error opening file “/home/wgimenes/.var/app/com.vysp3r.ProtonPlus/config/preferences.json”: File exists
Trash portal failed on /home/wgimenes/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d/GE-Proton7-42.tar.gz
Trash portal failed on /home/wgimenes/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d/GE-Proton7-42
~/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d$ ls -l
total 405004
drwxrwxr-x 1 wgimenes wgimenes       306 dez  2 20:22 GE-Proton7-42
-rw-r--r-- 1 wgimenes wgimenes 414720148 dez  2 21:14 GE-Proton7-42.tar.gz

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024 1

Even the Flatpak version does that?

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024 1

Alright, I'll look into that since we now know the source of the problem.

from protonplus.

jrvgr avatar jrvgr commented on July 30, 2024 1

That was just for entering the visual code block mode which enables syntax highlighting and keeps tabs and spacing and such

from protonplus.

smotim avatar smotim commented on July 30, 2024 1

And could you tell me if you put a break point at line 63 in /src/Models/Launcher.vala what does the value of test equals? Use the branch from this issue for that. https://github.com/Vysp3r/ProtonPlus/tree/37-bugcritical-error-the-application-crashes-during-startup image

изображение
Is this what I needed to see?

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024 1

The part where it crashes is a simple one and should not in any way crash like that.
So it must be something with the parameter of the function that crashes.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024 1

image
Here's mine for reference.

from protonplus.

smotim avatar smotim commented on July 30, 2024 1

изображение
I did a git pull and launched, it seems everything remained the same. The value has not changed.

from protonplus.

smotim avatar smotim commented on July 30, 2024 1

We have very different time zones, so I have to go to bed soon. If you can come up with something, I'll look at it in 10 hours.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024 1

I disabled something to test if it's that that makes you crash. Test when you can :)

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024 1

It must be something else again, but what is the question. I really don't know anymore.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024 1

Alright that may help then. I'll give that a try.

from protonplus.

smotim avatar smotim commented on July 30, 2024

At first, the flathub version did not start. Only then I tried to build the application myself. It doesn't work in both cases

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Since I can't reproduce on my system your problem would you be inclined to use the debug feature of GNOME Builder so we can pin point the cause of the problem?

from protonplus.

smotim avatar smotim commented on July 30, 2024

Yes, I can

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

I think I know which part may be the problem, but just to make sure I will give you a few break points to place and you just have to tell me if you can reach them.

from protonplus.

smotim avatar smotim commented on July 30, 2024

Okay, I'm waiting

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Can it reach /src/Windows/Home.vala line 78?
Can it reach /src/Views/Tools.vala line 108?

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
Did I do the right thing?

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

I mean it's suppose to land one of the two lines I gave you.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Does the application crash after continuing that line?

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
When I select one or both breakpoints from below and run with the debugger, this IModel file opens. Do I need to do something else?

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Oh yeah press the little Play button in the middle left of the picture to continue debugging

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

If it does nothing it means it crashed before reaching the breakpoint. From what I'm reading in the console, it looks like it did crash otherwise I don't know why it would stop there if you haven't put any breakpoint.

from protonplus.

smotim avatar smotim commented on July 30, 2024
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

Yes, it crashes immediately after clicking on play

from protonplus.

smotim avatar smotim commented on July 30, 2024

I tried installing Proton Plus from flathub on a VM. First I used Fedora 37, then Manjaro Gnome. And in both distributions, version 0.3.0 does not run. When running through the terminal, the same two errors appear that I gave at the beginning of the issue.

Maybe this information will help somehow

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

I don't understand how we can get different result, it's annoying

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Can it reach /src/Views/Tools.vala line 33?
Can it reach /src/Views/Tools.vala line 100?

from protonplus.

smotim avatar smotim commented on July 30, 2024

Yes, it reaches in both cases.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Okay great, now I know which part isn't working!

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Just to be extra sure, can it reach /src/Views/Tools.vala line 101?

from protonplus.

smotim avatar smotim commented on July 30, 2024

No, it does not reach 101 line. The IModel file opens, as in the screenshot above. Looks like you're right

from protonplus.

jrvgr avatar jrvgr commented on July 30, 2024

i was about to make an issue but it seems this already being solved ^-^

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Would you guys be able to tell me what's in /home/vysp3r/.var/app/com.vysp3r.ProtonPlus/config/preferences.json

from protonplus.

jrvgr avatar jrvgr commented on July 30, 2024

image
(i'm on silverblue btw but i guess we already established that)

from protonplus.

jrvgr avatar jrvgr commented on July 30, 2024

wait lol i posted that without thinking, it doesn't exist

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Are you using the Flatpak version or from source?

from protonplus.

jrvgr avatar jrvgr commented on July 30, 2024

i'm using the flatpak version

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

imma go eat, I'll ask more question after

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Where do Flatpak saves it's stuff then if it's not in ~/.var

from protonplus.

jrvgr avatar jrvgr commented on July 30, 2024

mb, sorry for the trouble. i deleted the folder and reinstalled the flatpak. the config is now back and contains this:

{
	"style" : "system",
	"rememberLastLauncher" : true,
	"lastLauncher" : ""
}```

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Why do you have ```
Having those there could maybe result in a crash

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Can it reach /src/Models/Launcher.vala line 55?
Can it reach /src/Models/Launcher.vala line 62?

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
for some reason, a breakpoint is not set at 55. At first it looks like in the screenshot, and after starting the debugger, I just have nothing in the "breakpoints" section
it reaches 62.

from protonplus.

smotim avatar smotim commented on July 30, 2024
{
	"style" : "system",
	"rememberLastLauncher" : true,
	"lastLauncher" : ""
}

it's in preferences.json

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

It does not make sense that it reaches line 62 in Launcher.vala, but does not reach 101 in Tools.vala. Can you test again to make sure it does not reach /src/Views/Tools.vala line 101?

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

And could you tell me if you put a break point at line 63 in /src/Models/Launcher.vala what does the value of test equals? Use the branch from this issue for that. https://github.com/Vysp3r/ProtonPlus/tree/37-bugcritical-error-the-application-crashes-during-startup
image

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
изображение
Does not reach 62 and 101

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Ain't gonna lie I'm a bit lost on why that happens.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

And could you tell me if you put a break point at line 63 in /src/Models/Launcher.vala what does the value of test equals? Use the branch from this issue for that. https://github.com/Vysp3r/ProtonPlus/tree/37-bugcritical-error-the-application-crashes-during-startup image

изображение Is this what I needed to see?

Oh shit I think I found it. Look at the value of launchers in the pic you sent me. It says error blablabla.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Could you send me the full text because I can't read it all in your pic.

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
I don't know how to copy it. sorry about the picture

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

No worries I just wanted to see the full thing.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Can you test the branch I sent you. I added a possible fix.

from protonplus.

smotim avatar smotim commented on July 30, 2024

Yes. The app is working now!

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
But. Folders from the home directory are now visible in the list.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

What the heck. There must be something wrong with the permissions then.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Tell me if the crash still happens in 0.3.1 then. It should be available on Flatpak or else build from source from the main branch.

from protonplus.

przmkg avatar przmkg commented on July 30, 2024

I still have the same crash with 0.3.1 (Flatpak).

(protonplus:2): GLib-GIO-CRITICAL **: 00:03:30.587: g_list_store_append: assertion 'g_type_is_a (G_OBJECT_TYPE (item), store->item_type)' failed

(protonplus:2): GLib-GObject-WARNING **: 00:03:30.589: ../gobject/gtype.c:3210: invalid class pointer '0x55ecaf7f6b80'

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

You can now test the branch associated with this issue. I've tried something that may fix this issue.

from protonplus.

smotim avatar smotim commented on July 30, 2024

You can now test the branch associated with this issue. I've tried something that may fix this issue.

The application starts, the list is fixed. For some reason, the Proton installation has been freezes for several minutes at the "loading" stage with zero progress. No errors seem to be output to the terminal. I mean, it looks like the download doesn't start at all

By the way, unlike @wehagy, I have no problem removing compatibility tools

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

For the delete, I use this. It says that it may not be available on all filesystems. I'll use File.Delete instead which is always supported. I wanted to use the trash method in case my program delete something it wasn't supposed to. That should be an easy fix, but maybe create a different issue for that since it's not related.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Does your problem happens for every launcher or only a specific one? @smotim

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

@wehagy do you happen to have 'GTK_USE_PORTAL=1' in your /etc/environment?

from protonplus.

smotim avatar smotim commented on July 30, 2024

Does your problem happens for every launcher or only a specific one? @smotim

every

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

@smotim would you send me a picture with the path of one of the launcher and verify that those path are correct too on your side. Like that:
image

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
I can. Maybe I explained it badly. That's where the problem comes in. It says "loading" and nothing happens for a long time.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

But does something finally happen or it's just broken? And it's downloading, not loading ;)

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение

Yes, it is downloading. I just translated it back from Russian incorrectly.:) As a result, nothing happens, that's why I wrote about it.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Does it extract the downloaded tool too?

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
Is that what you mean?

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

When you click install, it firsts download a .tar.xz or something like that then it extract it to a folder with the tool name and version. My question is when you install a tool, does it shows up in a folder extracted.

from protonplus.

smotim avatar smotim commented on July 30, 2024

No, a new folder is not being created. These two are left over from the previous version (0.2.3)

from protonplus.

wehagy avatar wehagy commented on July 30, 2024

@wehagy do you happen to have 'GTK_USE_PORTAL=1' in your /etc/environment?

The file /etc/environment on my debian and manjaro systems are empty, tried to set up and the two systems freeze on logon.
Created a new issue #43 to track this bug.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

@smotim can you tell me the values of url and path when you put a breakpoint on /src/Utils/Web.vala line 20. Use the branch associated to this issue.

from protonplus.

smotim avatar smotim commented on July 30, 2024

@smotim can you tell me the values of url and path when you put a breakpoint on /src/Utils/Web.vala line 20. Use the branch associated to this issue.
изображение

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Hmmmmm, the url and the path looks good.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Can it reach /src/Utils/Web.vala line 26?

from protonplus.

smotim avatar smotim commented on July 30, 2024

Can it reach /src/Utils/Web.vala line 26?

Yes, it can reach

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

So the download starts, but it doesn't at the same time? Because if it can reach that, the download started. Do you see a file appear in the directory when you click install or just nothing at all?

from protonplus.

smotim avatar smotim commented on July 30, 2024

Nothing appears

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Is the download working for anyone? @wehagy @im-viriv

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

I just really don't know anymore what could be the problem. If it reaches the end of that function it should work. Otherwise there would be an error or something.

from protonplus.

jrvgr avatar jrvgr commented on July 30, 2024

Is the download working for anyone? @wehagy @im-viriv

Can i check in the public release? Or should I compile the branch?

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

You would have to compile the branch.

from protonplus.

wehagy avatar wehagy commented on July 30, 2024

Is the download working for anyone? @wehagy @im-viriv

Download and extraction is working for me.

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
I just noticed this in the output of the application. This translates to 'Action not supported'. This message won't help you understand the source of the problem?

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Could you tell me when that output shows up. If you could tell me the exact line that would be perfect.

from protonplus.

smotim avatar smotim commented on July 30, 2024

Right at the moment of clicking on the "install" button. And how can I find out a specific line?

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

image
Put a breakpoint in /src/Windows/Installer.vala line 94 and click on the button highlighted in the picture until the error message appears and tell me in what file and on what line it was.

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
It seems like this. Did I take the right screenshot?

from protonplus.

smotim avatar smotim commented on July 30, 2024

изображение
I pressed this button. The message "Action is not supported" appeared at the same moment when this empty file was opened

from protonplus.

smotim avatar smotim commented on July 30, 2024

after line 96, this file opens instead of going to 97

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

It's impossible that your computer can't enter the Timeout, it's supposed to work on every computer.

from protonplus.

smotim avatar smotim commented on July 30, 2024

Yeah. And up to 0.3.0 version everything worked fine. I will use proton qt up for now. Maybe it will also be repaired by accident? :)
Thank you for spending so much time on my problem

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

So 0.3.0 works but not up? Or everything under 0.3.0?

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

Because if so I can check the difference between the latest working version for you and the latest and check what may have messed up ProtonPlus on your end.

from protonplus.

smotim avatar smotim commented on July 30, 2024

I created the last issue when I used the 0.2.0 version. Everything worked well in it, except what I wrote about in the issue. And in versions 3.0 and 3.1 there are new errors from this issue

from protonplus.

smotim avatar smotim commented on July 30, 2024

previously, there were only minor problems with the frontend(which you successfully fixed). since version 3.0, there have been problems with the basic functionality.

from protonplus.

Vysp3r avatar Vysp3r commented on July 30, 2024

I'll try again to find the problem :)

from protonplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.