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

Cannot read property "length" of undefined #1406

Open
1 task done
notklaatu opened this issue Sep 5, 2023 · 0 comments
Open
1 task done

Cannot read property "length" of undefined #1406

notklaatu opened this issue Sep 5, 2023 · 0 comments

Comments

@notklaatu
Copy link

Prerequisites

Description

When attempting to access a remote file, this error occurs instead.

Steps to Reproduce

  1. Login to remote SFTP server using Remote Ftp pliugin
  2. Double-click a text file in $HOME of remote computer

Expected behavior:

File should open in Pulsar

Actual behavior:

This error. The file does not open.

Versions

Pulsar: 1.108.0 x64
Electron: 12.2.3
OS: linux 6.4.13-200.fc38.x86_64
Thrown From: remote-ftp package 2.2.4

Stack Trace

Uncaught TypeError: Cannot read property 'length' of undefined

At /var/home/skenlon/.var/app/dev.pulsar_edit.Pulsar/data/packages/remote-ftp/lib/client.js:628

TypeError: Cannot read property 'length' of undefined
    at Client.toLocal (client.js:628:43)
    at ConnectorSFTP.get (sftp.js:271:31)
    at Client.<anonymous> (client.js:730:24)
    at Client._next (client.js:650:39)
    at Client._enqueue (client.js:661:56)
    at Client.<anonymous> (client.js:729:12)
    at Client.onceConnected (client.js:397:17)
    at Client.download (client.js:728:10)
    at File.open (file.js:47:12)
    at FileView.open (file-view.js:144:15)
    at HTMLLIElement.<anonymous> (file-view.js:110:12)
    at HTMLLIElement.dispatch (/packages/git-plus/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLLIElement.elemData.handle (/packages/git-plus/node_modules/jquery/dist/jquery.js:4121:28)

Commands

Non-Core Packages

git-plus 8.7.1 
platformio-ide-terminal 2.10.1 
remote-ftp 2.2.4 
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

1 participant