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

[Linux - AUR] Crashes on launch after showing a blank error #59

Open
KBD20 opened this issue Jan 13, 2025 · 1 comment
Open

[Linux - AUR] Crashes on launch after showing a blank error #59

KBD20 opened this issue Jan 13, 2025 · 1 comment

Comments

@KBD20
Copy link

KBD20 commented Jan 13, 2025

This was using ChaoticAUR repository but I tested my own AUR build the issue is the same.

Graphically it shows a blank error window titled 'steam', the Terminal outputs a TypeError for join() on crashing:

Traceback (most recent call last):
  File "/opt/sme/main.py", line 46, in <module>
    main()
    ~~~~^^
  File "/opt/sme/main.py", line 35, in main
    main_window = MainWindow()
  File "/opt/sme/gui/main_window.py", line 78, in __init__
    self.create_main_window()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/opt/sme/gui/main_window.py", line 333, in create_main_window
    self.mark_installed_games()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/opt/sme/gui/main_window.py", line 358, in mark_installed_games
    install_path = os.path.join(
        library, "steamapps", "common", install_dir
    )
  File "<frozen posixpath>", line 90, in join
  File "<frozen genericpath>", line 188, in _check_arg_types
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'int'

Here's the appinfo.vdf if it's needed.

I also tried it as root as a test and it did run but asked where steam was installed, then crashed once I pointed it there with the same error.

@KBD20
Copy link
Author

KBD20 commented Jan 26, 2025

Removing install_dir or renaming it, in my case to "installdir", from line 358 in main_window.py allows it to work with no apparent issues.

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

No branches or pull requests

1 participant