[GH-ISSUE #2218] 旧版本更新后打开Settings、Bookmarks、Quick command都会奔溃,尝试重装同步后也会奔溃 #1386

Closed
opened 2026-02-27 00:03:20 +03:00 by kerem · 2 comments
Owner

Originally created by @sjlleo on GitHub (Aug 16, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2218

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version: 1.16.1

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

Expected Behavior

正常打开Settings、Bookmarks、Quick command界面

Can you reproduce the same behavior in other terminal:

No

Current Behavior

Something went wrong.

Cannot use 'in' operator to search for 'value' in
TypeError: Cannot use 'in' operator to search for 'value' in at file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695207 at Array.map (<anonymous>) 
at e (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695106) at file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695315 at Array.map (<anonymous>) 
at e (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695106) at file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695315 at Array.map (<anonymous>) 
at e (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695106) at B (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695326)

image

Possible Solution

未知,我尝试重装应用,可以正常运作,但是一旦同步之前的配置以后,Settings就无法打开,直接奔溃,换旧版本+同步可以正常使用。

Steps to Reproduce

  1. 干净的系统(虚拟机),安装electerm
  2. 正常打开,各项功能正常
  3. 设置同步,将旧版本的所有收藏同步过来
  4. 完成后无法正常打开Settings界面,报错如上。
  5. 可以通过同步按钮进同步设置界面,但是切换到Bookmarks和Quick command均奔溃。
  6. 直接通过Bookmarks里随便找一个Server edit可以打开Bookmarks界面,切换到Quick command也可以正常显示,但是无法打开Settings。
  7. 收藏夹里有服务器连接信息30+条,储存便捷命令20+条。

Context (Environment)

Win

Detailed Description

如果不保留旧版本的配置,可以正常打开,但是如果将旧版本的配置同步过来就会导致Settings无法正常打开。如果作者需要同步的相关备份文件,我可以提供。

非常感谢。

Originally created by @sjlleo on GitHub (Aug 16, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2218 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version: 1.16.1 ## Operating system(linux, macos, or windows7/8/10?): Windows 10 ## Expected Behavior <!--- Tell me what should happen --> 正常打开Settings、Bookmarks、Quick command界面 ## Can you reproduce the same behavior in other terminal: <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> No ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> Something went wrong. ```shell Cannot use 'in' operator to search for 'value' in TypeError: Cannot use 'in' operator to search for 'value' in at file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695207 at Array.map (<anonymous>) at e (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695106) at file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695315 at Array.map (<anonymous>) at e (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695106) at file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695315 at Array.map (<anonymous>) at e (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695106) at B (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.1:2:695326) ``` ![image](https://user-images.githubusercontent.com/13616352/129563412-f38be5f1-918d-4b60-a5e3-61e0ab16ed1f.png) ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> 未知,我尝试重装应用,可以正常运作,但是一旦同步之前的配置以后,Settings就无法打开,直接奔溃,换旧版本+同步可以正常使用。 ## 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. 干净的系统(虚拟机),安装electerm 2. 正常打开,各项功能正常 3. 设置同步,将旧版本的所有收藏同步过来 4. 完成后无法正常打开Settings界面,报错如上。 5. 可以通过同步按钮进同步设置界面,但是切换到Bookmarks和Quick command均奔溃。 6. 直接通过Bookmarks里随便找一个Server edit可以打开Bookmarks界面,切换到Quick command也可以正常显示,但是无法打开Settings。 7. 收藏夹里有服务器连接信息30+条,储存便捷命令20+条。 ## Context (Environment) Win ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> 如果不保留旧版本的配置,可以正常打开,但是如果将旧版本的配置同步过来就会导致Settings无法正常打开。如果作者需要同步的相关备份文件,我可以提供。 非常感谢。
kerem closed this issue 2026-02-27 00:03:20 +03:00
Author
Owner

@zxdong262 commented on GitHub (Aug 16, 2021):

方便的话请发我一份备份文件(注意脱敏)我验证一下 zxdong@gmail.com

<!-- gh-comment-id:899625894 --> @zxdong262 commented on GitHub (Aug 16, 2021): 方便的话请发我一份备份文件(注意脱敏)我验证一下 zxdong@gmail.com
Author
Owner

@sjlleo commented on GitHub (Aug 17, 2021):

方便的话请发我一份备份文件(注意脱敏)我验证一下 zxdong@gmail.com

已发,谢谢!

<!-- gh-comment-id:899962783 --> @sjlleo commented on GitHub (Aug 17, 2021): > 方便的话请发我一份备份文件(注意脱敏)我验证一下 [zxdong@gmail.com](mailto:zxdong@gmail.com) 已发,谢谢!
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#1386
No description provided.