Bug 54902 - Ошибка при запуске
Summary: Ошибка при запуске
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python3-module-veusz (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Антон Мидюков
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-23 20:57 MSK by Vlad Voronenkov
Modified: 2025-06-24 07:35 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Voronenkov 2025-06-23 20:57:18 MSK
В свежем Сизифе падает при запуске со следующей ошибкой:

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.6 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "/bin/veusz", line 5, in <module>
    from veusz.veusz_main import run
  File "/usr/lib64/python3/site-packages/veusz/veusz_main.py", line 30, in <module>
    from veusz import utils
  File "/usr/lib64/python3/site-packages/veusz/utils/__init__.py", line 22, in <module>
    from .textrender import Renderer, FontMetrics, latexEscape
  File "/usr/lib64/python3/site-packages/veusz/utils/textrender.py", line 28, in <module>
    from . import points
  File "/usr/lib64/python3/site-packages/veusz/utils/points.py", line 24, in <module>
    from . import colormap
  File "/usr/lib64/python3/site-packages/veusz/utils/colormap.py", line 24, in <module>
    from ..helpers.qtloops import numpyToQImage, applyImageTransparancy
Traceback (most recent call last):
  File "/usr/lib64/python3/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__
    raise ImportError(msg)
ImportError: 
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.6 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.


ImportError: numpy.core.multiarray failed to import

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/bin/veusz", line 5, in <module>
    from veusz.veusz_main import run
  File "/usr/lib64/python3/site-packages/veusz/veusz_main.py", line 30, in <module>
    from veusz import utils
  File "/usr/lib64/python3/site-packages/veusz/utils/__init__.py", line 22, in <module>
    from .textrender import Renderer, FontMetrics, latexEscape
  File "/usr/lib64/python3/site-packages/veusz/utils/textrender.py", line 28, in <module>
    from . import points
  File "/usr/lib64/python3/site-packages/veusz/utils/points.py", line 24, in <module>
    from . import colormap
  File "/usr/lib64/python3/site-packages/veusz/utils/colormap.py", line 24, in <module>
    from ..helpers.qtloops import numpyToQImage, applyImageTransparancy
SystemError: initialization of qtloops raised unreported exception
Comment 1 Антон Мидюков 2025-06-24 07:35:51 MSK
Требовалась пересборка после обновления python3-module-numpy.
Собрал новую версию 4.1.