Skip to content

iTerm2 "Couldn't transfer image to the terminal" #149

@lheinold

Description

@lheinold

I am trying to view a PDF on a rhel8 system with an ssh session open on iTerm2 (MacOS). I'm not allowed to have an x-server which is why I'm trying to view in the terminal.

I keep getting errors on any PDF I try that look like this:

Couldn't transfer image to the terminal: Error with talking to the terminal: Couldn't parse response from the terminal: The ID of type ImageId seen in the terminal response was diffeRendered: 100%

or

Couldn't transfer image to the terminal: Error with talking to the terminal: Couldn't parse response from the terminal: Terminal Response didn't start with '\x1bG' but instead 'Gi=2Rendered 100%

Note that the "Rendered 100%" cuts off the rest of the error. The rendered % goes up and down as it continuously tries to reload the PDF. The error starts as the first one but changes to the second after 1-2 reloads. The actual value after "but instead" also changes on every reload.

Note that I can actually see and read a few pages of the PDF when it's loading, and they look correct - they just constantly reload and show errors.

I'm not sure if there's an easy way to view the full error. I tried searching this github repo for the error (to see if I could find out where it was coming from) but it looks like the downstream errors might be coming from an included library.

I also tried on the "Terminal" app (instead of iTerm) - that loaded without errors but it was 100% random pixels and completely unreadable.

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