karlch/vimiv

Unable to start vimiv with "-f" flag

Closed this issue · 6 comments

Incoming terminal output

  File "/usr/lib/python3.6/site-packages/vimiv/app.py", line 183, in activate_vimiv
    self._init_widgets()
  File "/usr/lib/python3.6/site-packages/vimiv/app.py", line 373, in _init_widgets
    self["window"] = Window(self)
  File "/usr/lib/python3.6/site-packages/vimiv/window.py", line 41, in __init__
    self.toggle_fullscreen()
  File "/usr/lib/python3.6/site-packages/vimiv/window.py", line 56, in toggle_fullscreen
    if self.get_window().get_state() & Gdk.WindowState.FULLSCREEN:
AttributeError: 'NoneType' object has no attribute 'get_state'```

Running this from Manjaro 17.1 XFCE

Can reproduce it on arch, thanks for reporting.

Seems to be rather simple to fix but it looks like more things broke. Will have to investigate a bit further and possibly release another follow-up.

Should be fixed with 77d4a1a, would you mind testing?

Sorry, I don't know much about compiling from source.

You could simply install the latest vimiv-git package from the AUR.

Works like a charm! Thanks!

Perfect 😄