Package Details: sasview 5.0.6-1

Git Clone URL: https://aur.archlinux.org/sasview.git (read-only, click to copy)
Package Base: sasview
Description: Small-Angle Scattering Analysis
Upstream URL: https://sasview.org
Licenses: BSD
Submitter: awacha
Maintainer: awacha
Last Packager: awacha
Votes: 0
Popularity: 0.000000
First Submitted: 2019-07-22 12:53 (UTC)
Last Updated: 2023-11-27 09:28 (UTC)

Latest Comments

micwoj92 commented on 2024-03-09 17:49 (UTC)

Does not work anymore

Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
18:45:31 - INFO: Custom config path: <module 'custom_config' from '/home/micwoj92/.sasview/config/custom_config.py'>
Traceback (most recent call last):
  File "/usr/bin/sasview", line 33, in <module>
    sys.exit(load_entry_point('sasview==5.0.6', 'console_scripts', 'sasview')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/sas/qtgui/MainWindow/MainWindow.py", line 112, in run_sasview
    mainwindow = MainSasViewWindow(screen_resolution)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/sas/qtgui/MainWindow/MainWindow.py", line 44, in __init__
    from .GuiManager import GuiManager
  File "/usr/lib/python3.11/site-packages/sas/qtgui/MainWindow/GuiManager.py", line 54, in <module>
    import sas.qtgui.Perspectives as Perspectives
  File "/usr/lib/python3.11/site-packages/sas/qtgui/Perspectives/__init__.py", line 6, in <module>
    from .Inversion.InversionPerspective import InversionWindow
  File "/usr/lib/python3.11/site-packages/sas/qtgui/Perspectives/Inversion/InversionPerspective.py", line 15, in <module>
    from sas.sascalc.pr.invertor import Invertor
  File "/usr/lib/python3.11/site-packages/sas/sascalc/pr/invertor.py", line 29, in <module>
    from .p_invertor import Pinvertor
  File "/usr/lib/python3.11/site-packages/sas/sascalc/pr/p_invertor.py", line 15, in <module>
    class Pinvertor(object):
  File "/usr/lib/python3.11/site-packages/sas/sascalc/pr/p_invertor.py", line 17, in Pinvertor
    x = np.empty(0, dtype=np.float)
                          ^^^^^^^^
  File "/usr/lib/python3.11/site-packages/numpy/__init__.py", line 324, in __getattr__
    raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?

MarsSeed commented on 2023-11-25 12:47 (UTC)

Please remove and disable checkdepend python-unittest-xml-reporting: abandoned by upstream, not compatible with Python 3.11, fails to build.

micwoj92 commented on 2023-03-12 12:50 (UTC)

Check fails

==> Starting check()...
matplotlib: DEBUG: matplotlib data path: /usr/lib/python3.10/site-packages/matplotlib/mpl-data
matplotlib: DEBUG: CONFIGDIR=/home/micwoj92/.config/matplotlib
matplotlib: DEBUG: interactive is False
matplotlib: DEBUG: platform is linux
Result for utest_corfunc: SUCCESS
Result for utest_sesans: SUCCESS
Result for utest_extension_registry: SUCCESS
Result for utest_ascii: SUCCESS
Result for utest_generic_file_reader_class: SUCCESS
Result for utest_averaging: SUCCESS
Result for utest_red2d_reader: SUCCESS
Result for utest_abs_reader: SUCCESS
Result for utest_cansas: SUCCESS
Result for utest_explorer: FAILED    pr_inversion/utest_explorer.py
Result for utest_invertor: FAILED    pr_inversion/utest_invertor.py
Result for utest_use_cases: SUCCESS
Result for utest_data_handling: SUCCESS
Result for utest_manipulations: SUCCESS
Result for utest_nxcansas_writer: SUCCESS
Result for utest_bsl_loader: SUCCESS
Result for utest_sld: SUCCESS
Result for utest_resolution_calculator: SUCCESS
Result for utest_slit_length_calculator: SUCCESS
Result for utest_sas_gen: SUCCESS

----------------------------------------------
Results by test modules:
    PASSED: 18
    FAILED: 2    (10%)
Results by tests:
    Tests run:    143
    Tests failed: 0
    Test errors:  0
----------------------------------------------

==> ERROR: A failure occurred in check().
    Aborting...