Giter Site home page Giter Site logo

blank games list after login -2 about steam-tui HOT 27 OPEN

zDEFz avatar zDEFz commented on September 8, 2024
blank games list after login -2

from steam-tui.

Comments (27)

zDEFz avatar zDEFz commented on September 8, 2024 1

Cool! So can we close this out?

That would be no good choice.
So far, the experience had been inconsistent.
Remember how much effort you put into this project
People might deem it broken and never enjoy it, before they jump through the hoops...

We need to have better error / issue handling.

What system/ shell do you use though? This is still weird.

I do use zsh with zimfw defaults

from steam-tui.

CabalCrow avatar CabalCrow commented on September 8, 2024 1

Having the standard copy pasta asking for package version & OS, would probably help in this case.

from steam-tui.

dmadisetti avatar dmadisetti commented on September 8, 2024

Woops. Thought I responded to this. Are you getting blank games or is the caching screen stuck?

Try flushing cache by removing ~/.cache/steam-tui/*

from steam-tui.

zDEFz avatar zDEFz commented on September 8, 2024

Okay, I did that. Same behavior!

So after flushing, I was not logged in, so I pressed l to sign in, and confirmed with enter.
After that, I see just a blank list!

But now we got one entry in error.log:

steamcmd.sh[3073582]: Restarting steamcmd by request...

I then ran steamcmd again, and logged in, then I ran the latest git build again, and logged in.
List is empty

Then I relaunched it, logged in again, and now suddenly I got a list, and it even found installed games!
But... the error.log doesnt contain anything new!
A bit unfortunate that the games launching that were set to proton do not launch in the same context and instead try baseline wine.

from steam-tui.

dmadisetti avatar dmadisetti commented on September 8, 2024

Cool! So can we close this out? What system/ shell do you use though? This is still weird.

You can now write a script to do the launching yourself with proton. Or you can just replace wine with proton here

"wine".to_string(),

Thinking more on windows support, we'll probably have to change launching with wine (no need on windows!)- so maybe we can make the launcher configurable. But let's make a dedicated issue for that

from steam-tui.

CabalCrow avatar CabalCrow commented on September 8, 2024

Blank list of games for me as well. I do not get any errors though.

from steam-tui.

dmadisetti avatar dmadisetti commented on September 8, 2024

Can you try off zsh? I can't fix this if I can't replicate it

from steam-tui.

CabalCrow avatar CabalCrow commented on September 8, 2024

I'm on zsh

from steam-tui.

dmadisetti avatar dmadisetti commented on September 8, 2024

OK- good to have some commonality. Can you try bash on xterm?

from steam-tui.

CabalCrow avatar CabalCrow commented on September 8, 2024

same result

from steam-tui.

chimps-ahoy avatar chimps-ahoy commented on September 8, 2024

I'm on bash/dash (/bin/sh is dash but I used bash interactively, not sure what this program calls on), in st terminal and getting the same behaviour along with no error outputting when I try to make a log file.

from steam-tui.

dmadisetti avatar dmadisetti commented on September 8, 2024

Cool, so windows verifiably breaks without logging because line character endings are weird. I'm wondering if whatever steamcmd versions you are using have a similar response.
I just pushed something that adds logging around the problematic area.

If you could respond with your steamcmd version and an error log from "steam-tui 2> error.log" after building the source, that would go a long way.

from steam-tui.

CabalCrow avatar CabalCrow commented on September 8, 2024

what is the command for building from source?

from steam-tui.

dmadisetti avatar dmadisetti commented on September 8, 2024

cargo build https://doc.rust-lang.org/cargo/getting-started/installation.html

How are you currently getting steam-tui? arch?

from steam-tui.

CabalCrow avatar CabalCrow commented on September 8, 2024

the AUR

from steam-tui.

CabalCrow avatar CabalCrow commented on September 8, 2024

Seems to work when building from source - the problem is likely in the aur package.

from steam-tui.

dmadisetti avatar dmadisetti commented on September 8, 2024

Ok cool. The AUR release commit was borked. I just repushed. Please try from AUR now.


This ended up being a pretty easy fix- so sorry about all the back and forth.

What do you think could have made the process go easier?
Once I guessed it was an issue with AUR, it was pretty easy to find the problem

  • Should I make a PR template?
  • Should I have a standard copy pasta for asking for debugging issues?

please give some feedback, because this was needlessly drawn out

from steam-tui.

Ciflire avatar Ciflire commented on September 8, 2024

Same error here when building from flake

from steam-tui.

zDEFz avatar zDEFz commented on September 8, 2024

It appears that running steamcmd manually can help sometimes...
But it's super annoying.

from steam-tui.

dmadisetti avatar dmadisetti commented on September 8, 2024

So it's not AUR, and there are no debug logs? Even with the latest commit? I don't know what more I can do, because I cannot replicate

from steam-tui.

Ciflire avatar Ciflire commented on September 8, 2024

would love to provide debug logs if you tell me how to

from steam-tui.

dmadisetti avatar dmadisetti commented on September 8, 2024

steam-tui 2> error.log

from steam-tui.

Ciflire avatar Ciflire commented on September 8, 2024

error.log
I'm sorry i don't think that gonna be helpful

from steam-tui.

zDEFz avatar zDEFz commented on September 8, 2024

So it's not AUR, and there are no debug logs? Even with the latest commit? I don't know what more I can do, because I cannot replicate

I think what happens is that when steam is launched, it re-validates the user and invokes steamcmd and gets some kind of token.

When steam-tui is being ran, it doesn't first invoke steam to check if we are up-to-date and what not.
My guesses:

When a update is available on steam

  • The list may still be there from one time it worked, but no game appears as installed

When the user tried on a bad connection or on VPN

  • Then the authentication for the login may be revoked

And yes. the log is absolutely empty!

The following I have to do each time:

  1. steamcmd login ... for auth
  2. remove steam-tui caches
  3. steam-tui ... r for reload
  4. steam-tui will hang, need to press q/ctrl+c
  5. start steam-tui again and press r again, then exit
  6. start steam-tui yet another time
  7. game list appears with installed games

from steam-tui.

zDEFz avatar zDEFz commented on September 8, 2024

My suggestions:

  1. If never ran - then start steamcmd beforehand for initial auth.
  2. Download and install the last steam update programmatically (like steam itself would)
  3. Remove/Clear caches programmatically
  4. Revalidate login token/auth

Step 3 might prompt the user to login again, or its possible to re-use the cookie or something.

from steam-tui.

dmadisetti avatar dmadisetti commented on September 8, 2024

The log actually looks very useful, steam version is embedded and we know that at least "info" was invoked. I'll take another look at it this weekend. If others can provide logs that would also be useful.

@zDEFz I will try that

from steam-tui.

monandszy avatar monandszy commented on September 8, 2024

Issue still present

from steam-tui.

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.