Package Details: handtex 1.0.0-1

Git Clone URL: https://aur.archlinux.org/handtex.git (read-only, click to copy)
Package Base: handtex
Description: Handwritten LaTeX symbol classifier for the desktop
Upstream URL: https://github.com/VoxelCubes/Hand-TeX
Licenses: GPL
Provides: handtex
Submitter: VoxelCubes
Maintainer: VoxelCubes
Last Packager: VoxelCubes
Votes: 0
Popularity: 0.000000
First Submitted: 2025-03-07 14:38 (UTC)
Last Updated: 2025-03-07 14:38 (UTC)

Latest Comments

VoxelCubes commented on 2025-04-22 11:48 (UTC)

@qw99 Unfortunately I can't seem to be able to recreate this error output. Further investigation revealed that this is likely caused by pip checking the metadata for the packages already installed on your system, to ensure all dependencies are satisfied. For whatever reason, one of these packages has corrupted metadata, missing the name field, so it returns a None, causing the crash here. I'm pretty sure it's the same issue as here: https://github.com/pypa/pip/issues/11352 Hopefully that points you in the right direction towards fixing this, since I don't believe there is anything I can do with the package to help, sorry.

qw99 commented on 2025-04-05 11:42 (UTC)

creating virtual environment...
creating shared libraries...
upgrading shared libraries...
installing handtex from spec 'handtex==1.0.2'...
Traceback (most recent call last):
  File "/usr/bin/pipx", line 8, in <module>
    sys.exit(cli())
             ~~~^^
  File "/usr/lib/python3.13/site-packages/pipx/main.py", line 1176, in cli
    return run_pipx_command(parsed_pipx_args, subparsers)
  File "/usr/lib/python3.13/site-packages/pipx/main.py", line 282, in run_pipx_command
    return commands.install(
           ~~~~~~~~~~~~~~~~^
        None,
        ^^^^^
    ...<13 lines>...
        python_flag_passed=python_flag_passed,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/pipx/commands/install.py", line 99, in install
    venv.install_package(
    ~~~~~~~~~~~~~~~~~~~~^
        package_name=package_name,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
        suffix=suffix,
        ^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/pipx/venv.py", line 267, in install_package
    self.update_package_metadata(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        package_name=package_name,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
        suffix=suffix,
        ^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/pipx/venv.py", line 365, in update_package_metadata
    venv_package_metadata = self.get_venv_metadata_for_package(package_name, get_extras(package_or_url))
  File "/usr/lib/python3.13/site-packages/pipx/venv.py", line 350, in get_venv_metadata_for_package
    venv_metadata = inspect_venv(package_name, package_extras, self.bin_path, self.python_path, self.man_path)
  File "/usr/lib/python3.13/site-packages/pipx/venv_inspect.py", line 285, in inspect_venv
    app_paths_of_dependencies, man_paths_of_dependencies = _dfs_package_resources(
                                                           ~~~~~~~~~~~~~~~~~~~~~~^
        root_dist,
        ^^^^^^^^^^
    ...<3 lines>...
        man_paths_of_dependencies,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/pipx/venv_inspect.py", line 153, in _dfs_package_resources
    dep_dist = get_dist(dep_req.name, venv_inspect_info.distributions)
  File "/usr/lib/python3.13/site-packages/pipx/venv_inspect.py", line 44, in get_dist
    if canonicalize_name(dist.metadata["name"]) == canonicalize_name(package):
       ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/packaging/utils.py", line 50, in canonicalize_name
    value = _canonicalize_regex.sub("-", name).lower()
            ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: handtex-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
handtex - exit status 4