Package Details: typecatcher 0.4-3

Git Clone URL: (read-only, click to copy)
Package Base: typecatcher
Description: Download Google webfonts for off-line use
Upstream URL:
Licenses: GPL3
Submitter: chelqo
Maintainer: alerque
Last Packager: alerque
Votes: 28
Popularity: 0.000000
First Submitted: 2012-11-17 17:04 (UTC)
Last Updated: 2022-01-08 07:53 (UTC)

Latest Comments

yochananmarqos commented on 2022-01-07 18:10 (UTC)

@alerque: I created a PR.

alerque commented on 2022-01-07 07:37 (UTC)

Thanks @yochananmarqos, would you be interested in submitting a patch for those fixes (either via PR on my GitHub repo or with git format-patch from this repo)?

yochananmarqos commented on 2022-01-05 21:26 (UTC)

@alerque: This neither requires gobject-introspection to build nor is it a dependency.

The etc folder also should be removed along with apport in the prepare() function, otherwise /etc/apport/crashdb.conf.d/typecatcher-crashdb.conf is installed.

The files DistUtils fails to install can be installed manually in the package() function:

install -d "$pkgdir/usr/share/locale"
  cp -r build/mo/* "$pkgdir/usr/share/locale"

  install -d "$pkgdir/usr/share/help/C/$pkgname"
  cp -r help/C/* "$pkgdir/usr/share/help/C/$pkgname/"

  install -Dm644 "build/share/applications/$pkgname.desktop" -t \

  install -d "$pkgdir/usr/share/icons/hicolor/scalable/apps"
  ln -s "/usr/share/$pkgname/$pkgname.svg" \

alerque commented on 2021-09-13 19:37 (UTC)

@scorpion81 Thanks for that info. I just posted an update that builds, with the caveat that it skips all the typecatcher.desktop file installs (in various languages). The install they hacked together on top of distutils is pretty strange and I was unable to get the move_desktop_file() function to work (at least in the time I had available for this). I posted a working build by just nuking the error exit conditions from the whole setup routine so it completes the work it can do. I'd be happy to accept a patch (by email here in comments formatting with git format-patch or as a PR on this repo) if anybody has a fix for that bit.

Given that I rarely use this any more and the upstream is in a state of disrepair I'm not inclined to sink a bunch of time into it. Perhaps upstream would accept fixes too, I don't know.

scorpion81 commented on 2021-09-13 14:16 (UTC) (edited on 2021-09-13 14:19 (UTC) by scorpion81)

Klone typecatcher Build-Dateien...
Überprüfe typecatcher Abhängigkeiten...
Abhängigkeiten werden aufgelöst...
Interne Konflikte werden überprüft...

Erstelle typecatcher...
==> Erstelle Paket: typecatcher 0.3-2 (Mo 13 Sep 2021 16:08:13 CEST)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
 -> 0.3.tar.gz gefunden
==> Überprüfe source Dateien mit sha256sums...
  0.3.tar.gz ... Durchgelaufen
==> Entferne existierendes $srcdir/ Verzeichnis...
==> Entpacke Quellen...
 -> Entpacke 0.3.tar.gz mit bsdtar
==> Entferne existierendes $pkgdir/ Verzeichnis...
==> Beginne build()...
MOD FILE :  optparse /usr/lib/python3.9/
MOD FILE :  locale /usr/lib/python3.9/
MOD FILE :  apport None
Traceback (most recent call last):
File "/var/tmp/pamac-build-martin/typecatcher/src/typecatcher- 0.3/", line 135, in <module>
File "/usr/lib/python3.9/site-packages/DistUtilsExtra/", line 105, in setup
__requires(attrs, src_all)
File "/usr/lib/python3.9/site-packages/DistUtilsExtra/", line 499, in __requires
__add_imports(imports, s, attrs)
File "/usr/lib/python3.9/site-packages/DistUtilsExtra/", line 430, in __add_imports
if and __external_mod(cur_module,, attrs):
File "/usr/lib/python3.9/site-packages/DistUtilsExtra/", line 401, in __external_mod
return 'dist-packages' in mod.__file__ or 'site-packages' in mod.__file__ or \
TypeError: argument of type 'NoneType' is not iterable
==> FEHLER: Ein Fehler geschah in build().
  Breche ab...

The lines with MOD FILE : xxx are being created with

print("MOD FILE : ", mod.__name__, mod.__file__)

right before the last offending line in the "__external_mod" function of "".

Isnt Apport some Ubuntu thing ? Imho this isnt available on arch / manjaro and interferes here.

Hence i locally removed the "apport" subdirectory of the upstream sources and it seemed to not run into this error anymore. But i am not sure whether this is an issue for the AUR maintainer or the upstream maintainer, since this package was originally for Ubuntu.

binarydepth commented on 2020-11-04 14:38 (UTC) (edited on 2020-11-04 14:41 (UTC) by binarydepth)

Coldn't build either

==> Starting build()...

Traceback (most recent call last):

File "", line 135, in <module>

File "/usr/lib/python3.8/site-packages/DistUtilsExtra/", line 98, in setup

requires(attrs, src_all)

File "/usr/lib/python3.8/site-packages/DistUtilsExtra/", line 471, in __requires

__add_imports(imports, s, attrs)

File "/usr/lib/python3.8/site-packages/DistUtilsExtra/", line 405, in __add_imports

if and __external_mod(cur_module,, attrs):

File "/usr/lib/python3.8/site-packages/DistUtilsExtra/", line 377, in __external_mod

return 'dist-packages' in mod.__file
or 'site-packages' in mod.file or \

TypeError: argument of type 'NoneType' is not iterable

==> ERROR: A failure occurred in build().


servimo commented on 2019-11-23 15:29 (UTC) (edited on 2019-12-12 01:26 (UTC) by servimo)

Same errors, but with python 3.8

ElCep commented on 2019-02-19 10:36 (UTC)

I have the same error than modnar_resu.

modnar_resu commented on 2019-01-22 09:35 (UTC) (edited on 2019-01-22 09:37 (UTC) by modnar_resu)

Couldn't build:

==> Beginne build()...
Traceback (most recent call last):
File "", line 144, in <module>
    cmdclass={'install': InstallAndUpdateDataDirectory}
  File "/usr/lib/python3.7/site-packages/DistUtilsExtra/", line 98,     in setup
    __requires(attrs, src_all)
  File "/usr/lib/python3.7/site-packages/DistUtilsExtra/", line 471, in __requires
    __add_imports(imports, s, attrs)
  File "/usr/lib/python3.7/site-packages/DistUtilsExtra/", line 405, in __add_imports
    if and __external_mod(cur_module,, attrs):
  File "/usr/lib/python3.7/site-packages/DistUtilsExtra/", line 377, in __external_mod
return 'dist-packages' in mod.__file__ or 'site-packages' in mod.__file__ or     \
TypeError: argument of type 'NoneType' is not iterable

==> FEHLER: Ein Fehler geschah in build().

Breche ab...

==> FEHLER:Makepkg konnte typecatcher nicht erstellen.

("ERROR: An error occured in build()", "ERROR: Makepkg could not create typecatcher")

alerque commented on 2018-06-20 13:03 (UTC)

@infomaniac50 I'm sorry I actually did this update a long time ago but apparently forgot to push. I have updated the package now. Note that this is not a VCS package though so I'm using the release tarball not git. Since you were using the tag anyway that wasn't accomplishing anything other than killing the checksum and making the version complex.

infomaniac50 commented on 2018-05-01 01:12 (UTC) (edited on 2018-05-04 05:53 (UTC) by infomaniac50)

I have version 0.3 working. Here is my PKGBUILD repo This PKGBUILD clones the source directly from Github.

I forgot to mention that even though it clones from Github my PKGBUILD still uses the 0.3 tag.

kemuel commented on 2017-12-21 08:38 (UTC) (edited on 2017-12-21 08:40 (UTC) by kemuel)

Version 0.3 is out - and development moved to github so shouldn't the download link be from there? the webkitgtk library is a legacy one and has been replaced by webkit2gtk.

Changing to version 0.3 and webkit2gtk in PKGBUILD made this package work wonderfully at least on my box.

Updated PKGBUILD here:

CaptainJellyfish commented on 2017-07-02 12:42 (UTC)

Same error like @chelqo here.

chelqo commented on 2017-06-10 17:06 (UTC)

I've been denying this package for weeks, but I can not get it to work on Arch. These are the errors that appear to me when running it, I will thank you for guidance and / or corrections: /usr/lib/python3.6/site-packages/typecatcher_lib/ PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk, Gio /usr/lib/python3.6/site-packages/typecatcher/ PyGIWarning: WebKit was imported without specifying a version first. Use gi.require_version('WebKit', '3.0') before import to ensure that the right version gets loaded. from gi.repository import WebKit Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/typecatcher_lib/", line 30, in on_activate self.window = TypeCatcherWindow.TypeCatcherWindow() File "/usr/lib/python3.6/site-packages/typecatcher_lib/", line 49, in __new__ new_object.finish_initializing(builder) File "/usr/lib/python3.6/site-packages/typecatcher/", line 43, in finish_initializing self.fonts = FindFonts() File "/usr/lib/python3.6/site-packages/typecatcher/", line 27, in FindFonts fonts = process_json(data) File "/usr/lib/python3.6/site-packages/typecatcher/", line 50, in process_json json_data = json.loads(data, "utf-8") TypeError: loads() takes 1 positional argument but 2 were given

jenrik commented on 2016-03-05 14:56 (UTC)

Dependecy on python2-gobject and webkitgtk3 needs to be added for this package to work

chelqo commented on 2013-08-30 20:13 (UTC)

Cesasol is right, plus yelp depends on webkitgtk2, which is also a dependence on yelp. PKGBUILD updated with corrected dependencies. Regards!

cesasol commented on 2013-08-29 20:48 (UTC)

Please add yelp as a depndency

chelqo commented on 2013-07-22 05:01 (UTC)

Updated package. thanks Alister.Hood!

Alister.Hood commented on 2013-07-22 02:50 (UTC)

1. The beta source package is no longer available because the final release is out. 2. It should depend on python2-gobject

chelqo commented on 2013-02-15 03:48 (UTC)

I was without connection a few days, but I'm back. Updated package. For all guys, thanks for your contributions!

lcarmona7 commented on 2013-02-13 05:16 (UTC)


dracorp commented on 2013-02-12 07:46 (UTC)

New version 01~beta1 works well.

dracorp commented on 2013-02-12 07:19 (UTC)

==> Starting build()... ERROR: Python module apport not found $ namcap typecatcher-0.1~alpha2-1-i686.pkg.tar.xz typecatcher W: No ELF files and not an "any" package typecatcher W: Dependency python2 included but already satisfied typecatcher W: Dependency included and not needed ('python2-distutils-extra')

k2s commented on 2013-02-10 10:22 (UTC)

also there is newer beta1 available:

k2s commented on 2013-02-10 10:21 (UTC)

not working for me: # typecatcher Traceback (most recent call last): File "/usr/bin/typecatcher", line 47, in <module> typecatcher.main() File "/usr/lib/python2.7/site-packages/typecatcher/", line 42, in main window = TypeCatcherWindow.TypeCatcherWindow() File "/usr/lib/python2.7/site-packages/typecatcher_lib/", line 48, in __new__ new_object.finish_initializing(builder) File "/usr/lib/python2.7/site-packages/typecatcher/", line 55, in finish_initializing htmlfile = html_font_view() File "/usr/lib/python2.7/site-packages/typecatcher/", line 45, in html_font_view installed_icon_uri = installed_info.get_filename() AttributeError: 'NoneType' object has no attribute 'get_filename'