flathub / com.mojang.Minecraft

https://flathub.org/apps/details/com.mojang.Minecraft
34 stars 13 forks source link

Can't log in on from fresh install #111

Closed vchernin closed 2 years ago

vchernin commented 2 years ago

While testing the gamescope extension I realized logging in after removing with --delete-data didn't work...

With the latest stable build, Fedora 35 Silverblue, Mojang log in.

image

[v@thinkpad-x1 .minecraft]$ flatpak run com.mojang.Minecraft
Migrating back to /var/home/v/.var/app/com.mojang.Minecraft/data/../.minecraft
/var/home/v/.var/app/com.mojang.Minecraft/data/../.minecraft not empty. Moving away files so that we don't overwrite anything...
mv: cannot stat '/var/home/v/.var/app/com.mojang.Minecraft/data/minecraft/*': No such file or directory
https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
OK
https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
[1124/005342.752396:INFO:main_context.cpp(136)] CEF initialized successfully.
[1124/005342.752480:INFO:main_context.cpp(138)] CEF version: 86.0.23+ga2c2edf+chromium-86.0.4240.193
Gtk-Message: 00:53:42.796: Failed to load module "canberra-gtk-module"
Gtk-Message: 00:53:42.796: Failed to load module "canberra-gtk-module"
sh: line 1: orca: command not found
[1124/005342.803081:ERROR:simple_backend_impl.cc(757)] Simple Cache Backend: wrong file structure on disk: 2 path: /var/home/v/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Code Cache/js
[1124/005342.803307:ERROR:simple_backend_impl.cc(757)] Simple Cache Backend: wrong file structure on disk: 2 path: /var/home/v/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Code Cache/wasm
Created browser window for reuse: 0x3000001
[1124/005342.823054:ERROR:browser_main_loop.cc(269)] Gdk: _gdk_frame_clock_freeze: assertion 'GDK_IS_FRAME_CLOCK (clock)' failed
[1124/005342.831874:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[1124/005342.871007:ERROR:simple_backend_impl.cc(757)] Simple Cache Backend: wrong file structure on disk: 2 path: /var/home/v/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Code Cache/wasm
[1124/005342.871030:ERROR:simple_backend_impl.cc(757)] Simple Cache Backend: wrong file structure on disk: 2 path: /var/home/v/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Code Cache/js
[1124/005342.876358:ERROR:disk_cache.cc(184)] Unable to create cache
[1124/005342.876455:ERROR:disk_cache.cc(184)] Unable to create cache
[1124/005343.430116:ERROR:simple_backend_impl.cc(757)] Simple Cache Backend: wrong file structure on disk: 2 path: /var/home/v/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Cache
[1124/005343.430566:ERROR:simple_backend_impl.cc(757)] Simple Cache Backend: wrong file structure on disk: 2 path: /var/home/v/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Cache
[1124/005343.430677:ERROR:disk_cache.cc(184)] Unable to create cache
[1124/005345.347212:WARNING:value_store_frontend.cc(43)] Reading mhjfbmdgcfjbbpaeojofohoefgiehjai.alarms from  failed: IO error: .../LOCK: Access denied. (ChromeMethodBFE: 15::LockFile::5)
[1124/005347.049419:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 1 times!
[1124/005411.575370:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 2 times!
[1124/005411.578632:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 3 times!
[1124/005426.499896:INFO:CONSOLE(2)] "TypeError: Cannot read property 'map' of undefined", source: mojang://launcher/static/js/app.d337b453.bundle.js (2)
[1124/005426.504227:INFO:CONSOLE(2)] "TypeError: Cannot read property 'map' of undefined", source: mojang://launcher/static/js/app.d337b453.bundle.js (2)

Was this regressed from the libsecret change? I will test later...

AsciiWolf commented 2 years ago

This is a known issue, it should be gone after running Minecraft one more time.

vchernin commented 2 years ago

it should be gone after running Minecraft one more time.

Doesn't seem to be the case for me. I can run Minecraft as much as I want, but I still get the error in the picture shown above. It doesn't give me a chance to sign in again.

vchernin commented 2 years ago

Well I removed everything in ~/.minecraft, ~/.var/app/com.mojang.Minecraft/ and ensured all permissions and whatnot were default and it now works. So I will blame this one on user error, perhaps I broke something in my testing. If I find a reproducer for this I'll reopen.