惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Announcements
Recent Announcements
J
Java Code Geeks
雷峰网
雷峰网
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
腾讯CDC
博客园 - 司徒正美
B
Blog RSS Feed
博客园 - 三生石上(FineUI控件)
I
InfoQ
N
Netflix TechBlog - Medium
L
LangChain Blog
博客园_首页
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Tailwind CSS Blog
MyScale Blog
MyScale Blog
美团技术团队
The Cloudflare Blog
爱范儿
爱范儿
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
H
Help Net Security
Martin Fowler
Martin Fowler
V
Visual Studio Blog

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - python-trame-vtk
2026-06-13 · via AUR Newest Packages

When trying to install this package, a test is failing : (output shortened on '_-=' lines and Param/Return descriptions)

======================================== FAILURES ===
________________________________________ test_export ___

self = <pyvista.plotting.plotter.Plotter object at 0x7fe78ef0c980>, filename = None, format = 'zip'

    def export_vtksz(
        self,
        filename: str | Path | None = 'scene-export.vtksz',
        format: Literal['zip', 'json'] = 'zip',  # noqa: A002
    ) -> str | Path:
        """Export this plotter as a VTK.js OfflineLocalView file.

        The exported file can be viewed with the OfflineLocalView viewer
        available at https://kitware.github.io/vtk-js/examples/OfflineLocalView.html

        Parameters
        ----------
        [...]
        Returns
        -------
        [...]
        """
        try:
>           from pyvista.trame import PyVistaLocalView  # noqa: PLC0415
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/usr/lib/python3.13/site-packages/pyvista/plotting/plotter.py:755: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.13/site-packages/pyvista/trame/__init__.py:9: in <module>
    from pyvista.trame.jupyter import elegantly_launch
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    """Trame utilities for running in Jupyter."""

    from __future__ import annotations

    import asyncio
    import logging
    import os
    from typing import TYPE_CHECKING
    from typing import Literal
    import warnings

    from trame.widgets import html as html_widgets
    from trame.widgets import vtk as vtk_widgets
>   from trame.widgets import vuetify as vuetify2_widgets
E   ImportError: cannot import name 'vuetify' from 'trame.widgets' (/tmp/makepkg/python-trame-vtk/src/trame-vtk-2.10.0/test-env/lib/python3.13/site-packages/trame/widgets/__init__.py)

/usr/lib/python3.13/site-packages/pyvista/trame/jupyter.py:14: ImportError

During handling of the above exception, another exception occurred:

    @pytest.mark.asyncio
    async def test_export():
        mesh = examples.load_uniform()
        plotter = pv.Plotter(shape=(1, 2))
        plotter.add_mesh(mesh, scalars="Spatial Point Data", show_edges=True)
        plotter.subplot(0, 1)
        plotter.add_mesh(mesh, scalars="Spatial Cell Data", show_edges=True)
>       plotter.export_html("pv.html")

tests/test_export.py:15: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.13/site-packages/pyvista/plotting/plotter.py:712: in export_html
    data = self.export_vtksz(filename=None)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pyvista.plotting.plotter.Plotter object at 0x7fe78ef0c980>, filename = None, format = 'zip'

    def export_vtksz(
        self,
        filename: str | Path | None = 'scene-export.vtksz',
        format: Literal['zip', 'json'] = 'zip',  # noqa: A002
    ) -> str | Path:
        """Export this plotter as a VTK.js OfflineLocalView file.

        The exported file can be viewed with the OfflineLocalView viewer
        available at https://kitware.github.io/vtk-js/examples/OfflineLocalView.html

        Parameters
        ----------
        [...]
        Returns
        -------
        [...]
        """
        try:
            from pyvista.trame import PyVistaLocalView  # noqa: PLC0415
            from pyvista.trame.jupyter import elegantly_launch  # noqa: PLC0415
            from pyvista.trame.views import get_server  # noqa: PLC0415
        except ImportError:  # pragma: no cover
            msg = 'Please install trame dependencies: pip install "pyvista[jupyter]"'
>           raise ImportError(msg)
E           ImportError: Please install trame dependencies: pip install "pyvista[jupyter]"

/usr/lib/python3.13/site-packages/pyvista/plotting/plotter.py:760: ImportError
======================================== short test summary info ===
FAILED tests/test_export.py::test_export - ImportError: Please install trame dependencies: pip install "pyvista[jupyter]"
======================================== 1 failed, 1 passed, 3 deselected in 1.57s ===

I installed every python-trame- package except -vuefity (conflict w displaycal) and -rca (pkg pillow_avif missing in a test). Am I missing some python-jupyter or jupyter* pkgs? Or is it an upstream problem?

==> Starting package()...
mv: cannot move '/build/python-trame-vtk/src/package/dist/vue-vtk.umd.js' to '/build/python-trame-vtk/pkg/python-trame-vtk/usr/lib/python3.13/site-packages/trame_vtk/modules/common/serve/trame-vtk.js': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

https://github.com/arch4edu/cactus/actions/runs/15508052891/job/43775096074

Build is breaking because a file is failing validity check.

==> Making package: python-trame-vtk 2.5.8-1 (Wed 13 Sep 2023 04:13:25 PM MDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading trame-vtk-2.5.8.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  531k    0  531k    0     0   676k      0 --:--:-- --:--:-- --:--:-- 4504k
  -> Downloading vue-vtk-js-3.1.7.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  930k  100  930k    0     0  2776k      0 --:--:-- --:--:-- --:--:-- 2786k
  -> Downloading OfflineLocalView.html...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  889k  100  889k    0     0  4202k      0 --:--:-- --:--:-- --:--:-- 4217k
==> Validating source files with sha512sums...
    trame-vtk-2.5.8.tar.gz ... Passed
    vue-vtk-js-3.1.7.tgz ... Passed
    OfflineLocalView.html ... FAILED
==> ERROR: One or more files did not pass the validity check!