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

When restoring the windows after a reboot or logoff/logon I get the following message regarding the Gnome Terminal app #87

Closed
logicito opened this issue Jul 9, 2023 · 14 comments

Comments

@logicito
Copy link

logicito commented Jul 9, 2023

image

Any idea of the potential root cause for this and how to fix it?

@nlpsuge
Copy link
Owner

nlpsuge commented Jul 15, 2023

image

Please check folder ~/.config/another-window-session-manager/currentSession, there you may find some folders whose Modified time is not today.

For example, on my machine:
image
As you can see, folder Gnome-shell has a session file but its cmd and desktop_file_id, so that's not possible to restore the app Gnome-shell.

I think you can just ignore it. But please check ~/.config/another-window-session-manager/currentSession at first.

@logicito
Copy link
Author

logicito commented Jul 16, 2023

I don't have the "l" directory within home, also there is no Gnome-shell folder, there is one named "null"

Screenshot from 2023-07-15 21-02-01

@nlpsuge
Copy link
Owner

nlpsuge commented Jul 17, 2023

folder null has been ignored during restore apps, see:

const ignoringPaths = [GLib.build_filenamev([FileUtils.current_session_path, 'null'])];
FileUtils.listAllSessions(FileUtils.current_session_path, true, (file, info) => {
const contentType = info.get_content_type();
if (contentType === 'application/json' && !ignoringPaths.includes(file.get_parent().get_path())) {

image

I saw this error on my machine in the output of journalctl -r but not sure why, will look into it.

@ghost
Copy link

ghost commented Jul 17, 2023

folder null has been ignored during restore apps, see:

const ignoringPaths = [GLib.build_filenamev([FileUtils.current_session_path, 'null'])];
FileUtils.listAllSessions(FileUtils.current_session_path, true, (file, info) => {
const contentType = info.get_content_type();
if (contentType === 'application/json' && !ignoringPaths.includes(file.get_parent().get_path())) {

image

I saw this error on my machine in the output of journalctl -r but not sure why, will look into it.

That folder should be the Gnome Terminal app (Shell) folder, for some reason it has been renamed to null

@nlpsuge
Copy link
Owner

nlpsuge commented Jul 22, 2023

Hi,
This is because it restores apps from ~/.config/another-window-session-manager/currentSession/summary.json, which is not successful.

I will push a new version to E.G.O. You can also test it using the main branch.

@logicito
Copy link
Author

Thank you very much

@logicito
Copy link
Author

Hi,

This is because it restores apps from ~/.config/another-window-session-manager/currentSession/summary.json, which is not successful.

I will push a new version to E.G.O. You can also test it using the main branch.

I see version 39 in Gnome Extensions, is that the newest version? Github has 38, please could you confirm, thanks

@nlpsuge
Copy link
Owner

nlpsuge commented Jul 23, 2023

Hi,
This is because it restores apps from ~/.config/another-window-session-manager/currentSession/summary.json, which is not successful.
I will push a new version to E.G.O. You can also test it using the main branch.

I see version 39 in Gnome Extensions, is that the newest version? Github has 38, please could you confirm, thanks

I forget to bump the version on Github, which should be 40, I have update it just now, see 17d4fd9.

@logicito
Copy link
Author

logicito commented Jul 23, 2023

Using the new version 40, everytime I logout and login, Gnome Shell will crash, print screen below, If I disable the Extension no more crashes:

image

@logicito
Copy link
Author

Update: Removed and Installed again the Extension, it is working fine now, I don't know what could have happened, any idea from the previous screenshot?

@nlpsuge
Copy link
Owner

nlpsuge commented Jul 24, 2023

image

Please upload the var_log_messages if you can.

@logicito
Copy link
Author

I am no longer getting the error after I reinstalled it

@logicito
Copy link
Author

I noticed a new version 41 today, anything specific added to the extension related to my last comment?

@nlpsuge
Copy link
Owner

nlpsuge commented Jul 25, 2023

I noticed a new version 41 today, anything specific added to the extension related to my last comment?

Version 41 mainly fixes the compatibility issues with Gnome 41, see #79

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