[GH-ISSUE #4015] Failing bookmarks import with Dolphin #2780

Closed
opened 2026-02-27 00:54:13 +03:00 by kerem · 3 comments
Owner

Originally created by @demi-des on GitHub (Aug 8, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/4015

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-xx.xx.xx-linux-amd64.deb

Platform detail (平台详情)

6.14.0-27-generic #27~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 17:38:49 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

What steps will reproduce the bug?(重现问题的详细步骤)

Fresh install of KDE Neon
cat /etc/os-release

PRETTY_NAME="KDE neon User Edition"
NAME="KDE neon"
VERSION_ID="24.04"
VERSION="User Edition"
VERSION_CODENAME=noble

Installed Electerm
sudo dpkg -i electerm-1.100.46-linux-amd64.deb

Clicked "import from file"
Selected file from any position like /home/user/Downloads or ~/


Every time the same Error is Given:

[2025-08-08 15:56:13.665] [error] fetch error {
  message: 'The "path" argument must be of type string or an instance of Buffer or URL. Received null',
  stack: 'TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received null\n' +
    '    at open (node:internal/fs/promises:636:10)\n' +
    '    at Object.readFile (node:internal/fs/promises:1242:20)\n' +
    '    at t.promises.readFile (node:electron/js2c/node_init:2:10016)\n' +
    '    at Object.readFile (/opt/electerm/resources/app.asar/lib/fs.js:303:18)\n' +
    '    at handleFs (/opt/electerm/resources/app.asar/server/fs.js:9:11)\n' +
    '    at WebSocket.<anonymous> (/opt/electerm/resources/app.asar/server/dispatch-center.js:78:11)\n' +
    '    at WebSocket.emit (node:events:518:28)\n' +
    '    at Receiver.receiverOnMessage (/opt/electerm/resources/app.asar/node_modules/ws/lib/websocket.js:1070:20)\n' +
    '    at Receiver.emit (node:events:518:28)\n' +
    '    at Receiver.dataMessage (/opt/electerm/resources/app.asar/node_modules/ws/lib/receiver.js:517:14)'
}

What should have happened?(期望的结果)

Should have correctly passed the path

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

Didn't Test

Additional information(其他任何相关信息)

Same file works for Ubuntu 24.04 with Nautilus.

Originally created by @demi-des on GitHub (Aug 8, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/4015 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-xx.xx.xx-linux-amd64.deb ### Platform detail (平台详情) 6.14.0-27-generic #27~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 17:38:49 UTC 2 x86_64 x86_64 x86_64 GNU/Linux ### What steps will reproduce the bug?(重现问题的详细步骤) Fresh install of KDE Neon `cat /etc/os-release` ``` PRETTY_NAME="KDE neon User Edition" NAME="KDE neon" VERSION_ID="24.04" VERSION="User Edition" VERSION_CODENAME=noble ``` Installed Electerm `sudo dpkg -i electerm-1.100.46-linux-amd64.deb` Clicked "import from file" Selected file from any position like /home/user/Downloads or ~/ <br> Every time the same Error is Given: ``` [2025-08-08 15:56:13.665] [error] fetch error { message: 'The "path" argument must be of type string or an instance of Buffer or URL. Received null', stack: 'TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received null\n' + ' at open (node:internal/fs/promises:636:10)\n' + ' at Object.readFile (node:internal/fs/promises:1242:20)\n' + ' at t.promises.readFile (node:electron/js2c/node_init:2:10016)\n' + ' at Object.readFile (/opt/electerm/resources/app.asar/lib/fs.js:303:18)\n' + ' at handleFs (/opt/electerm/resources/app.asar/server/fs.js:9:11)\n' + ' at WebSocket.<anonymous> (/opt/electerm/resources/app.asar/server/dispatch-center.js:78:11)\n' + ' at WebSocket.emit (node:events:518:28)\n' + ' at Receiver.receiverOnMessage (/opt/electerm/resources/app.asar/node_modules/ws/lib/websocket.js:1070:20)\n' + ' at Receiver.emit (node:events:518:28)\n' + ' at Receiver.dataMessage (/opt/electerm/resources/app.asar/node_modules/ws/lib/receiver.js:517:14)' } ``` ### What should have happened?(期望的结果) Should have correctly passed the path ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) Didn't Test ### Additional information(其他任何相关信息) Same file works for Ubuntu 24.04 with Nautilus.
kerem closed this issue 2026-02-27 00:54:13 +03:00
Author
Owner

@zxdong262 commented on GitHub (Aug 8, 2025):

Please make sure it is latest release, can you try appimage one?

<!-- gh-comment-id:3169527025 --> @zxdong262 commented on GitHub (Aug 8, 2025): Please make sure it is latest release, can you try appimage one?
Author
Owner

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

Supposed to be fixed in latest release, let me know if it is not fixed

<!-- gh-comment-id:3193506646 --> @zxdong262 commented on GitHub (Aug 16, 2025): Supposed to be fixed in latest release, let me know if it is not fixed
Author
Owner

@demi-des commented on GitHub (Aug 16, 2025):

Sure, thx a lot.
I was not at home so couldn't verify.

<!-- gh-comment-id:3193625845 --> @demi-des commented on GitHub (Aug 16, 2025): Sure, thx a lot. I was not at home so couldn't verify.
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#2780
No description provided.