Package Details: flashfocus-git 2.4.0-1

Git Clone URL: https://aur.archlinux.org/flashfocus-git.git (read-only, click to copy)
Package Base: flashfocus-git
Description: Simple 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: 7
Popularity: 0.000015
First Submitted: 2018-04-03 16:58 (UTC)
Last Updated: 2023-09-24 21:57 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

fennerm commented on 2020-12-06 21:10 (UTC) (edited on 2020-12-06 21:11 (UTC) by fennerm)

Hi BigfootLives sorry for the slow response. I am unable to reproduce, are you still having this problem?

BigfootLives commented on 2020-11-11 16:58 (UTC)

Looks like this package now fails to build:

==> Starting pkgver()...
fatal: No names found, cannot describe anything.
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:
error making: flashfocus-git

fennerm commented on 2019-09-10 03:34 (UTC)

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

popaul commented on 2019-09-09 08:19 (UTC)

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 (UTC)

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

fennerm commented on 2019-09-09 02:17 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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.