Package Details: typecatcher 0.4-4

Git Clone URL: https://aur.archlinux.org/typecatcher.git (read-only, click to copy)
Package Base: typecatcher
Description: Download Google webfonts for off-line use
Upstream URL: https://github.com/andrewsomething/typecatcher
Licenses: GPL3
Submitter: chelqo
Maintainer: alerque
Last Packager: alerque
Votes: 28
Popularity: 0.000000
First Submitted: 2012-11-17 17:04 (UTC)
Last Updated: 2024-03-28 07:00 (UTC)

Latest Comments

1 2 3 Next › Last »

binarydepth commented on 2024-01-08 06:43 (UTC) (edited on 2024-01-08 06:45 (UTC) by binarydepth)

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/typecatcher_lib/Application.py", line 30, in on_activate
    self.window = TypeCatcherWindow.TypeCatcherWindow()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/typecatcher_lib/Window.py", line 47, in __new__
    builder = get_builder('TypeCatcherWindow')
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/typecatcher_lib/helpers.py", line 38, in get_builder
    ui_filename = get_data_file('ui', '%s.ui' % (builder_file_name,))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/typecatcher_lib/typecatcherconfig.py", line 44, in get_data_file
    return os.path.join(get_data_path(), *path_segments)
                        ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/typecatcher_lib/typecatcherconfig.py", line 61, in get_data_path
    raise project_path_not_found
typecatcher_lib.typecatcherconfig.project_path_not_found

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 \
    "$pkgdir/usr/share/applications/"

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

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)

Vorbereitung...
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/optparse.py
MOD FILE :  locale /usr/lib/python3.9/locale.py
MOD FILE :  apport None
Traceback (most recent call last):
File "/var/tmp/pamac-build-martin/typecatcher/src/typecatcher- 0.3/setup.py", line 135, in <module>
DistUtilsExtra.auto.setup(
File "/usr/lib/python3.9/site-packages/DistUtilsExtra/auto.py", line 105, in setup
__requires(attrs, src_all)
File "/usr/lib/python3.9/site-packages/DistUtilsExtra/auto.py", line 499, in __requires
__add_imports(imports, s, attrs)
File "/usr/lib/python3.9/site-packages/DistUtilsExtra/auto.py", line 430, in __add_imports
if alias.name and __external_mod(cur_module, alias.name, attrs):
File "/usr/lib/python3.9/site-packages/DistUtilsExtra/auto.py", 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 "auto.py".

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 "setup.py", line 135, in <module>

DistUtilsExtra.auto.setup(

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

requires(attrs, src_all)

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

__add_imports(imports, s, attrs)

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

if alias.name and __external_mod(cur_module, alias.name, attrs):

File "/usr/lib/python3.8/site-packages/DistUtilsExtra/auto.py", 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().

Aborting...

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 "setup.py", line 144, in <module>
    cmdclass={'install': InstallAndUpdateDataDirectory}
  File "/usr/lib/python3.7/site-packages/DistUtilsExtra/auto.py", line 98,     in setup
    __requires(attrs, src_all)
  File "/usr/lib/python3.7/site-packages/DistUtilsExtra/auto.py", line 471, in __requires
    __add_imports(imports, s, attrs)
  File "/usr/lib/python3.7/site-packages/DistUtilsExtra/auto.py", line 405, in __add_imports
    if alias.name and __external_mod(cur_module, alias.name, attrs):
  File "/usr/lib/python3.7/site-packages/DistUtilsExtra/auto.py", 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")