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

推荐订阅源

博客园 - 司徒正美
M
MIT News - Artificial intelligence
博客园_首页
IT之家
IT之家
L
LangChain Blog
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
人人都是产品经理
人人都是产品经理
博客园 - Franky
云风的 BLOG
云风的 BLOG
罗磊的独立博客
量子位
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 【当耐特】
博客园 - 叶小钗
S
SegmentFault 最新的问题
Stack Overflow Blog
Stack Overflow Blog
B
Blog
T
Tailwind CSS Blog
A
About on SuperTechFans
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

Arch Linux Forums

Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion [SOLVED] LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner segmentation fault in cc1plus when building CLK / AUR Issues, Discussion & PKGBUILD Requests Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner Firefox rounded edges on Sway / Applications & Desktop Environments
[Solved]installation of iapws : no PKGBUILD file / AUR Is...
coco45 · 2026-06-21 · via Arch Linux Forums
======================================================================
ERROR: test_HumidAir (__main__.Test.test_HumidAir)
Tables 13-15 from page 19
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/python-iapws/src/iapws/test.py", line 2617, in test_HumidAir
    hum5 = HumidAir(P=hum4.P, rho=hum4.rho, xw=hum4.xw)
  File "/build/python-iapws/src/iapws/iapws/humidAir.py", line 629, in __init__
    self.__call__(**kwargs)
    ~~~~~~~~~~~~~^^^^^^^^^^
  File "/build/python-iapws/src/iapws/iapws/humidAir.py", line 651, in __call__
    self.calculo()
    ~~~~~~~~~~~~^^
  File "/build/python-iapws/src/iapws/iapws/humidAir.py", line 697, in calculo
    T = fsolve(f, 300)[0]
        ~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 171, in fsolve
    res = _root_hybr(_wrapped_func, x0, args, jac=fprime, **options)
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 239, in _root_hybr
    shape, dtype = _check_func('fsolve', 'func', func, x0, args, n, (n,))
                   ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 24, in _check_func
    res = atleast_1d(thefunc(*((x0[:numinputs],) + args)))
                     ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 159, in _wrapped_func
    return func(*fargs)
  File "/build/python-iapws/src/iapws/iapws/humidAir.py", line 695, in f
    fav = self._fav(T, rho, A)
  File "/build/python-iapws/src/iapws/iapws/humidAir.py", line 930, in _fav
    fmix = self._fmix(T, rho, A)
  File "/build/python-iapws/src/iapws/iapws/humidAir.py", line 997, in _fmix
    vir = _virial(T)
  File "/build/python-iapws/src/iapws/iapws/humidAir.py", line 124, in _virial
    Caww = -1e-6*exp(sum(b/T_**i for i, b in enumerate(bi)))         # Eq 9
                 ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: only 0-dimensional arrays can be converted to Python scalars

======================================================================
ERROR: test_IAPWS97_custom (__main__.Test.test_IAPWS97_custom)
Cycle input parameter from selected point for IAPWS97
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/python-iapws/src/iapws/test.py", line 921, in test_IAPWS97_custom
    f_px = IAPWS97(P=P, x=0)
  File "/build/python-iapws/src/iapws/iapws/iapws97.py", line 3810, in __init__
    self.__call__(**kwargs)
    ~~~~~~~~~~~~~^^^^^^^^^^
  File "/build/python-iapws/src/iapws/iapws/iapws97.py", line 3818, in __call__
    self.calculo()
    ~~~~~~~~~~~~^^
  File "/build/python-iapws/src/iapws/iapws/iapws97.py", line 4045, in calculo
    rho = fsolve(funcion, rhoo)[0]
          ~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 171, in fsolve
    res = _root_hybr(_wrapped_func, x0, args, jac=fprime, **options)
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 239, in _root_hybr
    shape, dtype = _check_func('fsolve', 'func', func, x0, args, n, (n,))
                   ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 24, in _check_func
    res = atleast_1d(thefunc(*((x0[:numinputs],) + args)))
                     ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 159, in _wrapped_func
    return func(*fargs)
  File "/build/python-iapws/src/iapws/iapws/iapws97.py", line 4042, in funcion
    return _Region3(rho, T)["P"] - P
           ~~~~~~~~^^^^^^^^
  File "/build/python-iapws/src/iapws/iapws/iapws97.py", line 1488, in _Region3
    g = (1.0658070028513 * log(d)) + np.sum(Const.Region3_n * d ** Const.Region3_Li * Tr ** Const.Region3_Lj)
                           ~~~^^^
TypeError: only 0-dimensional arrays can be converted to Python scalars

======================================================================
ERROR: test_SeaWaterIF97 (__main__.Test.test_SeaWaterIF97)
Table A1, pag 19-21
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/python-iapws/src/iapws/test.py", line 1787, in test_SeaWaterIF97
    self.assertEqual(round(_Tb(0.001, 0), 2), 280.12)
                           ~~~^^^^^^^^^^
  File "/build/python-iapws/src/iapws/iapws/iapws08.py", line 484, in _Tb
    rinput = fsolve(f, to, full_output=True)
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 171, in fsolve
    res = _root_hybr(_wrapped_func, x0, args, jac=fprime, **options)
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 239, in _root_hybr
    shape, dtype = _check_func('fsolve', 'func', func, x0, args, n, (n,))
                   ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 24, in _check_func
    res = atleast_1d(thefunc(*((x0[:numinputs],) + args)))
                     ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/scipy/optimize/_minpack_py.py", line 159, in _wrapped_func
    return func(*fargs)
  File "/build/python-iapws/src/iapws/iapws/iapws08.py", line 471, in f
    pw = _Region1(T, P)
  File "/build/python-iapws/src/iapws/iapws/iapws97.py", line 691, in _Region1
    propiedades["w"] = sqrt(R * T * 1000 * gp ** 2 / ((gp - Tr * gpt) ** 2 / (Tr ** 2 * gtt) - gpp))
                       ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: only 0-dimensional arrays can be converted to Python scalars

----------------------------------------------------------------------
Ran 45 tests in 1.300s

FAILED (errors=3)