Millennium icon indicating copy to clipboard operation
Millennium copied to clipboard

[Bug] Millennium errors out every time I close Steam.

Open trymion opened this issue 3 months ago • 16 comments

Before Reporting

  • [x] I found no existing issues matching my bug
  • [x] My issue is not caused by a theme
  • [x] My issue is not caused by a plugin

Describe the Bug

Millennium errors out everytime I close Steam with an "Oops!" window, followed by an "Error Recovery" window that asks me if I want to open the logs folder but doesn't when I click "Yes."

Searching for "Standard Output_log.log" also doesn't bring up anything on any of my drives. I use "Everything" as a search program for my computer.

I think it stems from where my Steam is installed because any Powershell command comes up with the same error: & : The specified wildcard character pattern is not valid: [Steam At line:1 char:3

  • & "$((gp 'HKLM:\SOFTWARE\WOW6432Node\Valve\Steam').InstallPath)\steam ...
  • + CategoryInfo          : NotSpecified: (:) [], WildcardPatternException
    + FullyQualifiedErrorId : RuntimeException
    
    

My directory tree is:

G:[Steam

Expected Behavior

No errors.

Steps To Reproduce

With an updated Steam, Extracted Millennium files to Steam directory (the powershell command also doesn't work for me) Start Steam and verify that Millennium is installed Close Steam Error windows described above pop up.

Operating System

Windows

Anything else?


Oops!

Millennium has a fatal error that it can't recover from, check the logs for more details!

OK


Error Recovery

Would you like to open your logs folder? Look for a file called "Standard Output_log.log" in the logs folder, that will have important debug information.

Please send this file to Millennium developers on our discord (steambrew.app/discord), it will help prevent this error from happening to you or others in the future.

Yes No

trymion avatar Oct 18 '25 18:10 trymion

What version of Millennium are you running?

shdwmtr avatar Oct 18 '25 18:10 shdwmtr

Oops, sorry -- I'm using v2.30.0-alpha7. I see that v2.30.0 is fully out and I'm trying to install that now, but it's also erroring out.

trymion avatar Oct 18 '25 18:10 trymion

I think this is also related, but I think Millennium extremely dislikes my square bracket in the steam directory name.

i.e. when I try to install Millennium via the PS command line, many, many errors come up that start with this line: Test-Path : Cannot retrieve the dynamic parameters for the cmdlet. The specified wildcard character pattern is not valid: [steam

trymion avatar Oct 18 '25 19:10 trymion

Where do you have Steam installed.

shdwmtr avatar Oct 18 '25 19:10 shdwmtr

It is installed in:

G:\[Steam

trymion avatar Oct 18 '25 20:10 trymion

I don't t think that would cause any issues. Run steam with -dev and check logs

shdwmtr avatar Oct 18 '25 20:10 shdwmtr

I tried the -dev and no errors came up but steam would not finish loading. It would just stop at something along the lines of "Loading complete".

What ended up working for me was doing a clean restore of Steam and manually installing Millennium (extracting files to my Steam dir). Trying to install Millennium via the PS command line still errored out.

For fun, I tried to install Millennium without using the square bracket ("[") and it installed properly on a different machine. When I put that square bracket back, the PS install script fails.

trymion avatar Oct 18 '25 21:10 trymion

Do you have extendium installed? Try updating it

shdwmtr avatar Oct 19 '25 03:10 shdwmtr

Millennium quietly uninstalls itself after updating to 2.30.0. Even manually installing that, Steam won't launch anymore (alpha7 works fine)

Marocco2 avatar Oct 19 '25 14:10 Marocco2

Do you have extendium installed? Try updating it

On the clean installation on the laptop/different machine, it was a clean installation of Millennium.

On my current one, I had to do the above steps before installing any plugins.

trymion avatar Oct 20 '25 03:10 trymion

Millennium quietly uninstalls itself after updating to 2.30.0. Even manually installing that, Steam won't launch anymore (alpha7 works fine)

Provide logs when starting on 2.30.0

shdwmtr avatar Oct 20 '25 18:10 shdwmtr

Millennium quietly uninstalls itself after updating to 2.30.0. Even manually installing that, Steam won't launch anymore (alpha7 works fine)

Provide logs when starting on 2.30.0

There's no log because there's no Millennium

https://imgur.com/a/sCg8fiX

Marocco2 avatar Oct 21 '25 13:10 Marocco2

On the other hand, manually updating to 2.30.0 will stuck on this:

++ Starting [email protected]
++ Patching SharedJSContext...
++ Checking for updates...
++ Steam path: c:/program files (x86)/steam
++ No updates were queried...
++ Finished checking for updates
++ Loaded millennium...
[08:19.595] INFO No queued shim loader found...
[08:19.606] INFO Verifying Python environment...
[08:19.683] WARN No valid '-devtools-port' argument found. Using default port: 8080
[08:19.683] INFO Opting to use '8080' for SteamDBG port
[08:19.684] INFO Starting plugin backends...
[08:19.684] INFO Injecting webkit shims...
[08:19.695] INFO Starting frontend socket...
[08:19.695] INFO Startup took 99 ms
[08:19.695] WARN Joining browser socket thread 0x4ab6cdc
[08:19.697] INFO Connected to Steam @ 0x702f2c0
[08:19.707] INFO Started preloader module
[08:19.707] INFO Starting package manager thread @ C:/Program Files (x86)/Steam/ext/data/assets/pipx/main.py
Traceback (most recent call last):
  File "C:/Program Files (x86)/Steam/ext/data/assets/pipx/main.py", line 37, in <module>
    import dev_tools, pip_setup, package_manager
  File "C:\Program Files (x86)\Steam\ext\data\assets\pipx\package_manager.py", line 35, in <module>
    from plugins.plugins import find_all_plugins
ModuleNotFoundError: No module named 'plugins.plugins'; 'plugins' is not a package
[08:19.954] ERROR Failed to run PIPX preload
[08:19.954] * FUNCTION: StartPreloader(PythonManager&)::<lambda(SettingsStore::PluginTypeSchema)>
[08:19.954] * LOCATION: https://github.com/SteamClientHomebrew/Millennium/blob//src/core/loader.cc#L362
[08:19.954] INFO Plugin 'pipx' finished delegating callback function...
[08:20.398] INFO Connected to SharedJSContext in 700 ms
[08:20.398] INFO Registering for load event @ 0x1288f7d0
[08:20.402] INFO Enabled Plugins: 1, Loaded Plugins : 0

Marocco2 avatar Oct 21 '25 13:10 Marocco2

Removing ".plugins" in L35 inside package_manager.py has solved my issue

Marocco2 avatar Oct 21 '25 13:10 Marocco2

There's no log because there's no Millennium

What version of Millennium were you running when updating to 2.30.0?

shdwmtr avatar Oct 21 '25 16:10 shdwmtr

There's no log because there's no Millennium

What version of Millennium were you running when updating to 2.30.0?

2.30.0-alpha7 as you can see in the video

Marocco2 avatar Oct 21 '25 21:10 Marocco2

Fixed in the latest beta

shdwmtr avatar Dec 07 '25 23:12 shdwmtr