Package Details: flashfocus-git v2.2.2.r0.gbd181ab-1

Git Clone URL: https://aur.archlinux.org/flashfocus-git.git (read-only, click to copy)
Package Base: flashfocus-git
Description: Simple Xorg window focus animations for tiling window managers
Upstream URL: https://www.github.com/fennerm/flashfocus
Licenses: MIT
Conflicts: flashfocus
Provides: flashfocus
Submitter: fennerm
Maintainer: fennerm
Last Packager: fennerm
Votes: 2
Popularity: 0.111657
First Submitted: 2018-04-03 16:58
Last Updated: 2020-08-09 22:04

Latest Comments

1 2 Next › Last »

fennerm commented on 2019-09-10 03:34

Just fixed this upstream, hopefully it should work for you now.

popaul commented on 2019-09-09 08:19

Solved, touch flashfocus/display_protocols/__init__.py makes sense and did the trick. Thanks! I was able to install it and use it after that.

fennerm commented on 2019-09-09 02:18

I would also double check that you're using a recent version of setuptools.

fennerm commented on 2019-09-09 02:17

Weird! For reference here's what that output looks like on my machine:

src/flashfocus python setup.py build                                                                                                         master
fastentrypoints
running build
running build_py
file flashfocus.py (for module flashfocus) not found
creating build
creating build/lib
creating build/lib/flashfocus
copying flashfocus/__init__.py -> build/lib/flashfocus
copying flashfocus/flasher.py -> build/lib/flashfocus
copying flashfocus/client.py -> build/lib/flashfocus
copying flashfocus/cli.py -> build/lib/flashfocus
copying flashfocus/pid.py -> build/lib/flashfocus
copying flashfocus/config.py -> build/lib/flashfocus
copying flashfocus/display.py -> build/lib/flashfocus
copying flashfocus/sockets.py -> build/lib/flashfocus
copying flashfocus/router.py -> build/lib/flashfocus
copying flashfocus/util.py -> build/lib/flashfocus
copying flashfocus/types.py -> build/lib/flashfocus
copying flashfocus/server.py -> build/lib/flashfocus
copying flashfocus/color.py -> build/lib/flashfocus
copying flashfocus/errors.py -> build/lib/flashfocus
copying flashfocus/producer.py -> build/lib/flashfocus
copying flashfocus/compat.py -> build/lib/flashfocus
running egg_info
creating flashfocus.egg-info
writing flashfocus.egg-info/PKG-INFO
writing dependency_links to flashfocus.egg-info/dependency_links.txt
writing entry points to flashfocus.egg-info/entry_points.txt
writing requirements to flashfocus.egg-info/requires.txt
writing top-level names to flashfocus.egg-info/top_level.txt
writing manifest file 'flashfocus.egg-info/SOURCES.txt'
file flashfocus.py (for module flashfocus) not found
reading manifest template 'MANIFEST.in'
writing manifest file 'flashfocus.egg-info/SOURCES.txt'
copying flashfocus/default_config.yml -> build/lib/flashfocus
creating build/lib/flashfocus/display_protocols
copying flashfocus/display_protocols/sway.py -> build/lib/flashfocus/display_protocols
copying flashfocus/display_protocols/x11.py -> build/lib/flashfocus/display_protocols
file flashfocus.py (for module flashfocus) not found
running build_scripts
creating build/scripts-3.7
copying bin/nc_flash_window -> build/scripts-3.7

flashfocus.py not being found seems like a red herring. Could you try adding a blank init.py to flashfocus/display_protocols before building?

touch flashfocus/display_protocols/__init__.py

popaul commented on 2019-09-08 21:27

The problem persist and is present on both my machines which are fairly freshly configured with arch-linux.

paul@chromebook ~/git/other/flashfocus (master=)
> python setup.py build
fasttentrypoints
running build
running build_py
file flashfocus.py (for module flashfocus) not found
creating build
creating build/lib
creating build/lib/flashfocus
copying flashfocus/__init__.py -> build/lib/flashfocus
copying flashfocus/cli.py -> build/lib/flashfocus
copying flashfocus/client.py -> build/lib/flashfocus
copying flashfocus/color.py -> build/lib/flashfocus
copying flashfocus/compat.py -> build/lib/flashfocus
copying flashfocus/config.py -> build/lib/flashfocus
copying flashfocus/display.py -> build/lib/flashfocus
copying flashfocus/errors.py -> build/lib/flashfocus
copying flashfocus/flasher.py -> build/lib/flashfocus
copying flashfocus/pid.py -> build/lib/flashfocus
copying flashfocus/producer.py -> build/lib/flashfocus
copying flashfocus/router.py -> build/lib/flashfocus
copying flashfocus/server.py -> build/lib/flashfocus
copying flashfocus/sockets.py -> build/lib/flashfocus
copying flashfocus/types.py -> build/lib/flashfocus
copying flashfocus/util.py -> build/lib/flashfocus
running egg_info
writing flashfocus.egg-info/PKG-INFO
writing dependency_links to flashfocus.egg-info/dependency_links.txt
writing entry points to flashfocus.egg-info/entry_points.txt
writing requirements to flashfocus.egg-info/requires.txt
writing top-level names to flashfocus.egg-info/top_level.txt
file flashfocus.py (for module flashfocus) not found
reading manifest file 'flashfocus.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'flashfocus.egg-info/SOURCES.txt'
copying flashfocus/default_config.yml -> build/lib/flashfocus
file flashfocus.py (for module flashfocus) not found
running build_scripts
creating build/scripts-3.7
copying bin/nc_flash_window -> build/scripts-3.7

fennerm commented on 2019-09-08 21:07

I can't reproduce this issue but your diagnosis does seem correct. Does this problem persist if you uninstall the package and do a fresh install?

popaul commented on 2019-09-08 19:32

Flashfocus fails when installed using yay flashfocus-git. It looks like the display_protocols folder is not being installed. I am not familiar enough with the package builder script to fix this unfortunately.

  • Command output:
Traceback (most recent call last):
  File "/usr/bin/flashfocus", line 8, in <module>
    from flashfocus.cli import cli
  File "/usr/lib/python3.7/site-packages/flashfocus/cli.py", line 12, in <module>
    from flashfocus.config import init_user_configfile, load_merged_config
  File "/usr/lib/python3.7/site-packages/flashfocus/config.py", line 21, in <module>
    from flashfocus.compat import DisplayProtocol, get_display_protocol
  File "/usr/lib/python3.7/site-packages/flashfocus/compat.py", line 22, in <module>
    from flashfocus.display_protocols.sway import (
ModuleNotFoundError: No module named 'flashfocus.display_protocols'
  • The python flashfocus package is missing the display_protocols folder:
ls /usr/lib/python3.7/site-packages/flashfocus
__init__.py  cli.py     color.py   config.py           display.py  flasher.py  producer.py  server.py   types.py
__pycache__  client.py  compat.py  default_config.yml  errors.py   pid.py      router.py    sockets.py  util.py

fennerm commented on 2019-08-18 15:16

Removing the out of date flag. This is a -git package and it will be kept up to date automatically, the version listed in the PKGBUILD is just the initial version. If something isn't working, let me know.

fennerm commented on 2018-05-16 18:21

For anyone having trouble with the marshmallow install, it installs fine if you skip checks. (E.g yay --mflags --nocheck flashfocus-git).

fennerm commented on 2018-05-16 18:18

Hey sorry I guess I forgot to push the updated build. Fixed now.