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

Crashes over SSH (both in and out of tmux) #122

Closed
garwil opened this issue Jun 19, 2021 · 6 comments
Closed

Crashes over SSH (both in and out of tmux) #122

garwil opened this issue Jun 19, 2021 · 6 comments
Labels
bug Something isn't working
Milestone

Comments

@garwil
Copy link

garwil commented Jun 19, 2021

lookatme.log
Describe the bug
Loading the second slide in the examples/tour.md document causes lookatme to crash with the following error:

Error rendering slide 2: 'DequeCommandTransmitter' object has no attribute 'transmitter'
See /tmp/lookatme.log for traceback
Aborted!

I get that it's probably really weird to be using this over SSH, but my work laptop's display output doesn't work with my KVM, so I tend to just SSH into it from my desktop. I've attached a log after running lookatme --debug tour.md

To Reproduce

  1. Connect to a remote host over SSH
  2. lookatme tour.md

Expected behavior

Either the slideshow should run (which given the Ueberzug and Terminal extensions is probably unrealistic) , or should gracefully handle errors caused by being run over SSH.

Environment (please complete the following information):

  • OS: Arch Linux (btw)
  • Lookatme Version: 2.3.2 installed via pip

lookatme.log

@garwil garwil added the bug Something isn't working label Jun 19, 2021
@d0c-s4vage d0c-s4vage added this to the v3.0 milestone Oct 1, 2022
@chnoack
Copy link

chnoack commented Oct 19, 2022

I see this error also locally, if I use the extension "image_ueberzug".
Environment: Mac M1 , MacOS 12.6, pyhton 3.10.8, with homebrew 3.6.6

@d0c-s4vage
Copy link
Owner

I think this could be described as lookatme needing better error handling in general when dealing with extensions. The terminal extension shouldn't be a problem, but I could definitely see the image_ueberzug causing problems.

@tommitah
Copy link

Same problem, I got this presentation that I'm supposed to do tomorrow... Weird how on my desktop (Void Linux) this still works but on my Arch laptop it doesn't.

@d0c-s4vage
Copy link
Owner

@tommitah are you using any extensions, or is it crashing with stock/plain lookatme?

@tommitah
Copy link

@d0c-s4vage My bad, was supposed to mention the image extension. Same setup as OP, except local.

It works without the extension, guess my presentation will be a tad more boring this time.

@d0c-s4vage
Copy link
Owner

Ah, yeah. The image extension uses ueberzug, which uses X11 to render/hide the image onto the the section of the screen so that it lines up with the terminal. Since it is X11, there's probably some way to get it working with X11 forwarding over SSH, but I haven't tried that yet.

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

4 participants