Package Details: flent 2.2.0-4

Git Clone URL: https://aur.archlinux.org/flent.git (read-only, click to copy)
Package Base: flent
Description: The FLExible Network Tester.
Upstream URL: https://flent.org
Licenses: GPL
Conflicts: netperf-wrapper
Replaces: netperf-wrapper
Submitter: tohojo
Maintainer: tohojo
Last Packager: tohojo
Votes: 9
Popularity: 0.21
First Submitted: 2015-05-24 11:58 (UTC)
Last Updated: 2026-01-20 18:20 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

bas commented on 2025-12-19 16:58 (UTC) (edited on 2025-12-19 17:01 (UTC) by bas)

fyi if you get this error

❯ flent-gui
Starting Flent 2.2.0 using Python 3.13.11.
ERROR: Unable to find a usable Qt version, please ensure qtpy is installed (libQt6UiTools.so.6: cannot open shared object file: No such file or directory).

then you likely have the QT_API environment variable set to pyqt6 without having python-qt6 installed. You can just change it to pyqt5. You can also do this if you want to have both pyqt5 and pyqt6 installed.

tohojo commented on 2025-09-04 15:41 (UTC)

@awh, Flent does not support Qt6. You'll have to install python-pyqt5 to use the GUI.

awh commented on 2025-08-30 12:38 (UTC)

❯ flent-gui
Starting Flent 2.2.0 using Python 3.13.7.
Initialised matplotlib v3.10.5 on numpy v2.3.2.
Traceback (most recent call last):
  File "/usr/bin/flent-gui", line 33, in <module>
    sys.exit(load_entry_point('flent==2.2.0', 'gui_scripts', 'flent-gui')())
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/flent/__init__.py", line 88, in run_flent_gui
    return run_flent(gui=True)
  File "/usr/lib/python3.13/site-packages/flent/__init__.py", line 57, in run_flent
    return run_gui(settings)
  File "/usr/lib/python3.13/site-packages/flent/gui.py", line 146, in run_gui
    mainwindow = MainWindow(settings)
  File "/usr/lib/python3.13/site-packages/flent/gui.py", line 241, in __init__
    uic.loadUi(get_ui_file("mainwindow.ui"), self)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/load_ui.py", line 86, in loadUi
    return DynamicUILoader(package).loadUi(uifile, baseinstance)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/Loader/loader.py", line 62, in loadUi
    return self.parse(filename)
           ~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/uiparser.py", line 1014, in parse
    self._handle_widget(ui_file.widget)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/uiparser.py", line 842, in _handle_widget
    self.traverseWidgetTree(el)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/uiparser.py", line 818, in traverseWidgetTree
    handler(self, child)
    ~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/uiparser.py", line 271, in createWidget
    self.stack.push(self._setupObject(widget_class, parent, elem))
                    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/uiparser.py", line 237, in _setupObject
    self.wprops.setProperties(obj, branch)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/properties.py", line 430, in setProperties
    prop_value = self.convert(prop, widget)
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/properties.py", line 393, in convert
    return func(prop[0], **args)
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/properties.py", line 132, in _set
    expr = [self._pyEnumMember(v) for v in prop.text.split('|')]
            ~~~~~~~~~~~~~~~~~~^^^
  File "/usr/lib/python3.13/site-packages/PyQt6/uic/properties.py", line 127, in _pyEnumMember
    scope = getattr(scope, tail)
AttributeError: type object 'QDockWidget' has no attribute 'AllDockWidgetFeatures'. Did you mean: 'NoDockWidgetFeatures'?

tohojo commented on 2024-03-24 09:03 (UTC)

Both of those packages are listed as optional dependencies, which is deliberate: it's possible to run tests from the command line without the plotting and GUI capabilities, so they should not be hard dependencies.

tessaracht commented on 2024-03-24 01:57 (UTC) (edited on 2024-03-24 02:04 (UTC) by tessaracht)

just tried to install today, seems to be missing some deps:

# flent-gui

Starting Flent 2.1.1 using Python 3.11.8.
Traceback (most recent call last):
  File "/usr/bin/flent-gui", line 33, in <module>
    sys.exit(load_entry_point('flent==2.1.1', 'gui_scripts', 'flent-gui')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/flent/__init__.py", line 88, in run_flent_gui
    return run_flent(gui=True)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/flent/__init__.py", line 56, in run_flent
    from flent.gui import run_gui
  File "/usr/lib/python3.11/site-packages/flent/gui.py", line 49, in <module>
    import matplotlib
ModuleNotFoundError: No module named 'matplotlib'

after installing python-matplotlib:

# flent-gui

Starting Flent 2.1.1 using Python 3.11.8.
ERROR: Unable to find a usable Qt version No module named 'qtpy'.

after installing python-qtpy, the gui runs.

tohojo commented on 2023-07-23 22:08 (UTC)

Ah, that would be because pypi has removed the support for the signature files entirely (and retroactively, thus breaking packaging files that attempt to remove them): https://blog.pypi.org/posts/2023-05-23-removing-pgp/

I'll push an update removing the .asc file from the PKGBUILD, thanks for the report!

olepbr commented on 2023-07-23 14:54 (UTC)

Currently fails to build:

==> ERROR: Failure while downloading https://files.pythonhosted.org/packages/source/f/flent/flent-2.1.1.tar.gz.asc Aborting... error: failed to download sources for 'flent-2.1.1-2': error: packages failed to build: flent-2.1.1-2

Maybe pythonhosted.org links changed? https://files.pythonhosted.org/packages/a0/8d/3dc15fbbd37c10486633c09546943aefc8ea8294749732ccf097e8fc0533/flent-2.1.1.tar.gz exists, at least.

tohojo commented on 2021-02-16 11:18 (UTC)

Yeah, good point; will fix :)

prettyvanilla commented on 2021-02-16 02:50 (UTC)

I wonder if it wouldn't be a good idea to remove python-pyqt5 and python-pyside2 from the optdepends - having all of them listed equally I assumed I'd be good with just one of them, i.e. python-pyqt5 (I wasn't familiar with qtpy), but flent specifically only imports from qtpy and fails if isn't present. The python-qtpy package itself lists python-pyqt5 and python-pyside2 as optdepends again, which I believe should be sufficient overall.

tohojo commented on 2020-07-28 15:28 (UTC)

That is standard for PGP-verified sources in AUR. See https://wiki.archlinux.org/index.php/Makepkg#Signature_checking

If the keyserver retrieval doesn't work you should be able to receive the key from wks. Try:

gpg -v --auto-key-locate=clear,wkd,nodefault --locate-key toke@toke.dk