Skip to content

Fails with afc paths #155

@acheong08

Description

@acheong08

Example:

afc://00008030-001675AC2209802E:3/com.leshko.cloudplayer/_downloads

This happens when you plug in an iPhone.

Traceback (most recent call last):
  File "/home/acheong/.local/share/nautilus-python/extensions/nautilus_open_any_terminal.py", line 285, in _menu_activate_cb
    open_terminal_in_uri(file_.get_uri())
  File "/home/acheong/.local/share/nautilus-python/extensions/nautilus_open_any_terminal.py", line 201, in open_terminal_in_uri
    Popen(cmd, cwd=filename)  # pylint: disable=consider-using-with
    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib64/python3.12/subprocess.py", line 1953, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/com.leshko.cloudplayer/_downloads'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions