Package Details: hydrus 572-1

Git Clone URL: https://aur.archlinux.org/hydrus.git (read-only, click to copy)
Package Base: hydrus
Description: Danbooru-like image tagging and searching system for the desktop
Upstream URL: http://hydrusnetwork.github.io/hydrus/
Licenses: custom
Conflicts: hydrus-docs-dummy
Submitter: Score_Under
Maintainer: Score_Under
Last Packager: Score_Under
Votes: 40
Popularity: 0.87
First Submitted: 2015-02-28 18:11 (UTC)
Last Updated: 2024-04-25 21:17 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 13 Next › Last »

And1G commented on 2022-10-02 08:37 (UTC)

From what I see, python2 is not directly required by hydrus itself, but by one of its dependencies. So this packages is not the right place to rant about updating.

hydrus -> mkdocs-material -> mkdocs-minify-plugin -> python-jsmin -> python2-setuptools (makedepends)

Can anybody confirm that?

misagh commented on 2022-10-02 08:21 (UTC)

Python 2 is deprecated and undesirable. This package needs to be updated to replace it with Python 3. As it stands, the package no longer builds as Python 2 fails to build.

spaceslug commented on 2022-09-30 14:29 (UTC)

Hydrus no longer builds for me because python2 fails to build. Since arch has now dropped python2 support, is there a way to get rid of the python2 dependency?

Lucki commented on 2022-08-30 22:28 (UTC) (edited on 2022-08-30 22:34 (UTC) by Lucki)

Can we get proper XDG in the applied patch for the BASE_DIR?

Example:

BASE_DIR = os.path.join(os.getenv("XDG_DATA_HOME", os.path.expanduser("~/.local/share")), "hydrus")

nan60 commented on 2022-08-11 03:22 (UTC) (edited on 2022-08-11 03:22 (UTC) by nan60)

PySide6 is now the default over PySide2 since Qt6 is now the default: https://github.com/hydrusnetwork/hydrus/releases/tag/v495

Score_Under commented on 2022-08-04 09:55 (UTC)

@WorldTeacher, it would be my recommendation to remove all packages installed in ~/.local/lib/python3.10, whether by moving it away or by invoking pip for each one. Then the packages you still need can be reinstalled via the AUR or pacman.

WorldTeacher commented on 2022-08-04 07:57 (UTC)

@Score_Under, so just to make sure I understand it correctly: I should uninstall opencv-python using pip (as well as the packages located in ~/.local/lib/python3.10) and install them using pamac / pacman? Or did you mean something else?

Score_Under commented on 2022-08-03 20:49 (UTC) (edited on 2022-08-03 20:56 (UTC) by Score_Under)

@WorldTeacher I note that you have opencv installed locally via pip. Just a heads-up, installing anything locally via pip can take priority over system packages and mess with otherwise-working python library installations on your system. I strongly recommend against using local pip installs, and instead anyone wanting to do so should confine those installs to a virtual environment (python -m venv --help).

If you move your ~/.local/lib/python3.10 directory away (e.g. rename it and add ".old" to the end), that will get rid of all locally installed python packages which should either allow you to determine if that really is the problem, or allow you to revert back to a hopefully working state.

For the record, I have python-opencv installed alongside hydrus on my system and it is not a problem.

WorldTeacher commented on 2022-08-03 17:05 (UTC) (edited on 2022-08-03 17:05 (UTC) by WorldTeacher)

In version v493-1, the client will not launch when opencv-python is installed on the system. As soon as opencv-python is uninstalled, it works fine. This is the error message it produces in the terminal:

v493, 2022/08/03 18:57:13: hydrus client started QObject::moveToThread: Current thread (0x5636edae12b0) is not the object's thread (0x5636ed9a12e0). Cannot move to target thread (0x5636edae12b0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/alexander/.local/lib/python3.10/site-packages/cv2/qt/plugins" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx.

[1] 7986 IOT instruction (core dumped) hydrus-client

misagh commented on 2022-01-04 05:01 (UTC)

@Score_Under Thanks the issue has been solved by switching back