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

[BUG] - Crash when local directory does not exist #319

Open
acpoppe opened this issue Dec 2, 2024 · 0 comments
Open

[BUG] - Crash when local directory does not exist #319

acpoppe opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@acpoppe
Copy link

acpoppe commented Dec 2, 2024

Description

When trying to connect, at least through SCP, to a remote host, the application will crash if the provided Default Local Working Directory does not exist.

Steps to reproduce

  1. Enter a non-existent directory in the Default Local Working Directory text box
  2. Fill in connection details for the remote host
  3. Press Enter

Expected behaviour

A clear and concise description of what you expected to happen.

Environment

  • OS: MacOS
  • Architecture: Arm
  • Rust version: 1.83
  • termscp version: 0.16.1
  • Protocol used: SCP
  • Remote server version and name: Any

Log

thread 'main' panicked at src/filetransfer/host_bridge_builder.rs:14:47: Failed to create Localhost: HostError { error: NoSuchFileOrDirectory, ioerr: None, path: Some("/as;dfasdf") } note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@acpoppe acpoppe added the bug Something isn't working label Dec 2, 2024
@veeso veeso added the backlog Implementation/fix not planned yet label Dec 28, 2024
@veeso veeso added this to the 0.17.0 milestone Dec 28, 2024
@veeso veeso removed the backlog Implementation/fix not planned yet label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants