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

First Setup Hangs Indefinitely After Fresh Install #331

Open
NN708 opened this issue Sep 24, 2024 · 2 comments
Open

First Setup Hangs Indefinitely After Fresh Install #331

NN708 opened this issue Sep 24, 2024 · 2 comments

Comments

@NN708
Copy link

NN708 commented Sep 24, 2024

After a fresh install, the First Setup fails to complete, resulting in an indefinite installation process.

Screenshot

The following error messages were found in journalctl:

Sep 24 11:37:00 vanilla org.vanillaos.FirstSetup.desktop[2515]: rm -f /etc/vanilla-first-setup-done
Sep 24 11:37:00 vanilla pkexec[4066]: pam_unix(polkit-1:session): session opened for user root(uid=0) by vanilla(uid=1000)
Sep 24 11:37:00 vanilla vanilla-first-s[2515]: (../src/vtepty.cc:810):void vte_pty_spawn_with_fds_async(VtePty*, const char*, const char* const*, const char* const*, const int*, int, const int*, int, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GDestroyNotify, int, GCancellable*, GAsyncReadyCallback, gpointer): runtime check failed: ((spawn_flags & ignored_spawn_flags()) == 0)
Sep 24 11:37:00 vanilla pkexec[4079]: pam_unix(polkit-1:session): session opened for user root(uid=0) by vanilla(uid=1000)
Sep 24 11:37:00 vanilla systemd[1795]: Started vte-spawn-ce39d28f-cc2d-4f2f-95e1-09a8142a4b36.scope - VTE child process 4079 launched by vanilla-first-setup process 2515.
Sep 24 11:37:01 vanilla vanilla-first-s[2515]: char* vte_terminal_get_text(VteTerminal*, VteSelectionFunc, gpointer, GArray*): assertion 'attributes == nullptr' failed
Sep 24 11:37:01 vanilla org.vanillaos.FirstSetup.desktop[2515]: Traceback (most recent call last):
Sep 24 11:37:01 vanilla org.vanillaos.FirstSetup.desktop[2515]:   File "/usr/share/org.vanillaos.FirstSetup/vanilla_first_setup/views/progress.py", line 150, in on_vte_child_exited
Sep 24 11:37:01 vanilla org.vanillaos.FirstSetup.desktop[2515]:     self.__window.set_installation_result(status, self.__terminal)
Sep 24 11:37:01 vanilla org.vanillaos.FirstSetup.desktop[2515]:   File "/usr/share/org.vanillaos.FirstSetup/vanilla_first_setup/window.py", line 190, in set_installation_result
Sep 24 11:37:01 vanilla org.vanillaos.FirstSetup.desktop[2515]:     self.__view_done.set_result(result, terminal)
Sep 24 11:37:01 vanilla org.vanillaos.FirstSetup.desktop[2515]:   File "/usr/share/org.vanillaos.FirstSetup/vanilla_first_setup/views/done.py", line 81, in set_result
Sep 24 11:37:01 vanilla org.vanillaos.FirstSetup.desktop[2515]:     if len(out) > 0:
Sep 24 11:37:01 vanilla org.vanillaos.FirstSetup.desktop[2515]:        ^^^^^^^^
Sep 24 11:37:01 vanilla org.vanillaos.FirstSetup.desktop[2515]: TypeError: object of type 'NoneType' has no len()
@jardon
Copy link
Member

jardon commented Sep 30, 2024

If I'm understanding this correctly, the stack trace is not where the error is. The logic only gets to that point if there is a previous failure. I could update it to avoid that specific error, but that doesn't solve whatever previous error tripped it up. Obviously, error handling failed us here.

Can you give me any more info about the environment? it would be helpful to reproduce

@NN708
Copy link
Author

NN708 commented Oct 1, 2024

Can you give me any more info about the environment? it would be helpful to reproduce

It's a desktop PC equipped with an Intel Core i7-13700K processor, 64 GB of RAM, a 1 TB SSD, and two 4 TB HDDs. I was performing a fresh installation on the SSD when the issue occurred. I can only reproduce this issue on this specific machine.

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

2 participants