Package Details: escrotum-git 0.2.1.r46.27dfa4e-1

Git Clone URL: https://aur.archlinux.org/escrotum-git.git (read-only, click to copy)
Package Base: escrotum-git
Description: Screen capture using pygtk, inspired by scrot
Upstream URL: https://github.com/Roger/escrotum
Keywords: cli screenshot
Licenses: GPL3
Provides: escrotum
Submitter: RogerDuran
Maintainer: RogerDuran (dequis, SammysHP)
Last Packager: SammysHP
Votes: 24
Popularity: 0.000000
First Submitted: 2013-06-17 11:52 (UTC)
Last Updated: 2020-06-06 16:56 (UTC)

Pinned Comments

SammysHP commented on 2021-12-21 22:12 (UTC) (edited on 2021-12-21 22:13 (UTC) by SammysHP)

In case you experience any issues that escrotum does not work: Recently Python got updated to 3.10 which means that all Python packages must be rebuilt. So please rebuild this package and it will work again.

Latest Comments

SammysHP commented on 2021-12-21 22:12 (UTC) (edited on 2021-12-21 22:13 (UTC) by SammysHP)

In case you experience any issues that escrotum does not work: Recently Python got updated to 3.10 which means that all Python packages must be rebuilt. So please rebuild this package and it will work again.

SammysHP commented on 2020-12-06 20:16 (UTC)

@justinesmithies This package must be rebuilt after a Python update. If you're using a -git package please don't expect a version bump for every change. But I might do it when I have time.

Regarding the issue with numpy: That was fixed long time ago. Numpy is an optional dependency and escrotum works fine without it. You used an old clone of the repository and you have to clean-build this package.

justinesmithies commented on 2020-12-06 19:43 (UTC) (edited on 2020-12-06 19:52 (UTC) by justinesmithies)

Since Python got updated escrotum no longer works. To resolve this issue you need to install

python-numpy
Otherwise this needs added as a dependency.

SammysHP commented on 2020-06-06 16:57 (UTC)

@RogerDuran Thanks for adding me as a co-maintainer! I've added the missing dependency.

RogerDuran commented on 2020-06-06 16:29 (UTC)

SammysHP I've added you as a co-maintainer thanks for the help with the rewrite from scratch of the PKGBUILD

SammysHP commented on 2020-06-01 14:44 (UTC)

@Stephen304

Yes, python-cairo is missing in the dependencies. Reported upstream and maintainer should add it as well.

Stephen304 commented on 2020-05-31 16:55 (UTC) (edited on 2020-06-01 01:40 (UTC) by Stephen304)

Is there a missing dependency or something? Not very familiar with python packages / don't want to mess with my system python:

Traceback (most recent call last):
  File "/usr/bin/escrotum", line 11, in <module>
    load_entry_point('escrotum==1.0.1', 'console_scripts', 'escrotum')()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2862, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2462, in load
    return self.resolve()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2468, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.8/site-packages/escrotum/main.py", line 16, in <module>
    import cairo
ModuleNotFoundError: No module named 'cairo'

Edit: Looks like it's python-cairo that's missing from dependencies.

SammysHP commented on 2020-04-16 10:54 (UTC)

I posted an updated PKGBUILD that I wrote from scratch using the latest Arch Python packaging guidelines and some simplifications here: https://github.com/Roger/escrotum/issues/44#issuecomment-614571113

I'd like to jump in as a maintainer in case vchimishuk doesn't want to maintain this PKGBUILD anymore.

krafczyk.n commented on 2020-03-29 22:50 (UTC) (edited on 2020-03-29 22:53 (UTC) by krafczyk.n)

I fixed it by

  • Migrating to python3 (removing the 2 from all mentions of python in the PKGBUILD)
  • Installing python-xcffib
  • Installing python-gobject
  • Removing 'gobject' from '/usr/lib/python3.8/site-packages/escrotum-1.0.1-py3.8.egg-info/requires.txt'. This can also be done removing it from the setup.py. There should be another way by having python find the gobject thing required but I don't know enough about python to properly setup the requires.txt

vchimishuk commented on 2020-02-10 23:10 (UTC)

@severin.kaderli, still cannot find a way to fix the build. Hope to provide update soon.

severin.kaderli commented on 2020-01-20 19:15 (UTC) (edited on 2020-01-20 19:16 (UTC) by severin.kaderli)

Since the latest update I get the following error when I try to start escrotum:

Traceback (most recent call last):
  File "/usr/bin/escrotum", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3251, in <module>
    @_call_aside
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'xcffib' distribution was not found and is required by escrotum

orestisf commented on 2016-05-30 10:52 (UTC)

you can add python2-numpy as an opt. dependancy: https://github.com/Roger/escrotum/blob/a756b2e142d9d9a162a2390cbf70a6bd63b8f0c2/escrotum/utils.py#L87-L92

fabertawe commented on 2014-02-25 18:33 (UTC)

Roger, it's working beautifully! Many thanks. p.s. typo in help output for "-s" of "rectnagle".

RogerDuran commented on 2014-02-25 16:17 (UTC)

fabertawe, nice bug, was using the colormap from the wrong window, should be fixed

fabertawe commented on 2014-02-25 14:09 (UTC)

Roger, many thanks for the quick response! It's working for a whole screen snap but windowed results in this error - $ escrotum -s '/dev/shm/%d%m%y-%s.png' /usr/lib/python2.7/site-packages/escrotum/main.py:216: GtkWarning: gdkpixbuf-drawable.c:1257: Depth of the source drawable is 32 where as the visual depth of the colormap passed is 24 width, height) Invalid Pixbuf

RogerDuran commented on 2014-02-25 12:16 (UTC)

fabertawe, can you try now? python2-distribute(setuptools) is a dependence, also added git in makedepends

fabertawe commented on 2014-02-25 11:11 (UTC)

Hi, git should be in "makedepends". Also, I can't run it at all, getting this error - Traceback (most recent call last): File "/usr/bin/escrotum", line 5, in <module> from pkg_resources import load_entry_point ImportError: No module named pkg_resources Cheers.