[GH-ISSUE #1166] Bookmarks lost on application close #674

Closed
opened 2026-02-27 00:00:33 +03:00 by kerem · 11 comments
Owner

Originally created by @lopezdonaque on GitHub (Mar 6, 2019).
Original GitHub issue: https://github.com/electerm/electerm/issues/1166

Electerm version:

0.26.62

Operating system(linux, macos, or windows7/8/10?):

Ubuntu 18.10

Expected Behavior

Current Behavior

Every time the application opens I import the bookmarks previously exported.
When I close the application and open again, the bookmarks are lost.

Possible Solution

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @lopezdonaque on GitHub (Mar 6, 2019). Original GitHub issue: https://github.com/electerm/electerm/issues/1166 <!--- Provide some basic info --> ## Electerm version: 0.26.62 ## Operating system(linux, macos, or windows7/8/10?): Ubuntu 18.10 ## Expected Behavior <!--- Tell me what should happen --> ## Current Behavior Every time the application opens I import the bookmarks previously exported. When I close the application and open again, the bookmarks are lost. ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem 2026-02-27 00:00:33 +03:00
Author
Owner

@zxdong262 commented on GitHub (Mar 6, 2019):

Not happening in 18.04, seems I need to install a 18.10 to check it.

<!-- gh-comment-id:470148480 --> @zxdong262 commented on GitHub (Mar 6, 2019): Not happening in 18.04, seems I need to install a 18.10 to check it.
Author
Owner

@zxdong262 commented on GitHub (Mar 6, 2019):

@lopezdonaque How many bookmark item do you have?

<!-- gh-comment-id:470292058 --> @zxdong262 commented on GitHub (Mar 6, 2019): @lopezdonaque How many bookmark item do you have?
Author
Owner

@lopezdonaque commented on GitHub (Mar 7, 2019):

I have a directory with 5 bookmarks.
I could check something if you would like.
Where are stored bookmarks after imported?

<!-- gh-comment-id:470503896 --> @lopezdonaque commented on GitHub (Mar 7, 2019): I have a directory with 5 bookmarks. I could check something if you would like. Where are stored bookmarks after imported?
Author
Owner

@zxdong262 commented on GitHub (Mar 7, 2019):

@lopezdonaque You can check ~/.config/electerm-localstorage.json , I installed a new 18.04Ubunru, can not reproduce this.

<!-- gh-comment-id:470527271 --> @zxdong262 commented on GitHub (Mar 7, 2019): @lopezdonaque You can check `~/.config/electerm-localstorage.json `, I installed a new 18.04Ubunru, can not reproduce this.
Author
Owner

@zxdong262 commented on GitHub (Mar 7, 2019):

Can you run it from terminal and post the log here?

electerm
<!-- gh-comment-id:470706526 --> @zxdong262 commented on GitHub (Mar 7, 2019): Can you run it from terminal and post the log here? ```bash electerm ```
Author
Owner

@lopezdonaque commented on GitHub (Mar 8, 2019):

electerm-localstorage.json
"sessions":null,

electerm

error parsing $HOME/.ssh/config
maybe no $HOME/.ssh/config, but it is ok
no ../../install-src file
[11:45:20.441] [info] App starting...
no /home/alberto/.config/electerm-config.js but it is ok
no ../../install-src file
Fri Mar 08 2019 11:45:20 GMT+0100 (CET) server runs on localhost 3075
Fri Mar 08 2019 11:45:21 GMT+0100 (CET) Created terminal with PID: nCfqG7ZWf
Fri Mar 08 2019 11:45:21 GMT+0100 (CET) Connected to terminal nCfqG7ZWf
Fri Mar 08 2019 11:45:21 GMT+0100 (CET) Resized terminal  nCfqG7ZWf  to  206  cols and  20  rows.
Fri Mar 08 2019 11:45:21 GMT+0100 (CET) Resized terminal  nCfqG7ZWf  to  206  cols and  49  rows.


<!-- gh-comment-id:470891549 --> @lopezdonaque commented on GitHub (Mar 8, 2019): electerm-localstorage.json `"sessions":null,` electerm ``` error parsing $HOME/.ssh/config maybe no $HOME/.ssh/config, but it is ok no ../../install-src file [11:45:20.441] [info] App starting... no /home/alberto/.config/electerm-config.js but it is ok no ../../install-src file Fri Mar 08 2019 11:45:20 GMT+0100 (CET) server runs on localhost 3075 Fri Mar 08 2019 11:45:21 GMT+0100 (CET) Created terminal with PID: nCfqG7ZWf Fri Mar 08 2019 11:45:21 GMT+0100 (CET) Connected to terminal nCfqG7ZWf Fri Mar 08 2019 11:45:21 GMT+0100 (CET) Resized terminal nCfqG7ZWf to 206 cols and 20 rows. Fri Mar 08 2019 11:45:21 GMT+0100 (CET) Resized terminal nCfqG7ZWf to 206 cols and 49 rows. ```
Author
Owner

@zxdong262 commented on GitHub (Mar 8, 2019):

and logs when quit electerm

<!-- gh-comment-id:470908544 --> @zxdong262 commented on GitHub (Mar 8, 2019): and logs when quit electerm
Author
Owner

@zxdong262 commented on GitHub (Mar 8, 2019):

Can you try delete ~/.config/electerm-localstorage.json to see if this fix it?

<!-- gh-comment-id:471009436 --> @zxdong262 commented on GitHub (Mar 8, 2019): Can you try delete ~/.config/electerm-localstorage.json to see if this fix it?
Author
Owner

@zxdong262 commented on GitHub (Mar 19, 2019):

No response, close for now.

<!-- gh-comment-id:474203325 --> @zxdong262 commented on GitHub (Mar 19, 2019): No response, close for now.
Author
Owner

@lopezdonaque commented on GitHub (Mar 25, 2019):

Sorry for the delay. I will finally import the bookmarks, create a new bookmark, and then it persist after restart.

<!-- gh-comment-id:476087893 --> @lopezdonaque commented on GitHub (Mar 25, 2019): Sorry for the delay. I will finally import the bookmarks, create a new bookmark, and then it persist after restart.
Author
Owner

@zxdong262 commented on GitHub (Mar 25, 2019):

@lopezdonaque So, it is empty at first, after import, restart, this bug will happen again?

<!-- gh-comment-id:476091286 --> @zxdong262 commented on GitHub (Mar 25, 2019): @lopezdonaque So, it is empty at first, after import, restart, this bug will happen again?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#674
No description provided.