Search Criteria
Package Details: hydrus 490-1
Package Actions
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: | WTFPL |
Conflicts: | hydrus-docs, hydrus-sources |
Submitter: | Score_Under |
Maintainer: | Score_Under |
Last Packager: | Score_Under |
Votes: | 28 |
Popularity: | 0.51 |
First Submitted: | 2015-02-28 18:11 (UTC) |
Last Updated: | 2022-06-30 14:50 (UTC) |
Dependencies (30)
- emoji-font (noto-fonts-emoji-flags, ttf-mutant-emoji, noto-fonts-emoji-git, noto-fonts-emoji-blob, ttf-twemoji-color, ttf-apple-emoji, ttf-twemoji, noto-fonts-emoji-apple, ttf-whatsapp-emoji, ttf-twemoji-color-git, noto-fonts-emoji, ttf-joypixels)
- fmt (fmt-git)
- pyside2 (pyside2-git)
- python (python38, python37, python3.7, nogil-python, python39, python36, python311, python32)
- python-beautifulsoup4
- python-html5lib (python-html5lib-git)
- python-lz4
- python-mpv (python-mpv-git)
- python-numpy (python-numpy-git, python-numpy-openblas, python-numpy-mkl-bin, python-numpy-mkl)
- python-opencv
- python-pillow (python-pillow-git, python-pillow-simd)
- python-psutil
- python-pysocks
- python-qtpy (python-qtpy-git)
- python-requests
- python-send2trash
- python-service-identity
- python-twisted
- python-yaml (python-yaml-git)
- qt5-python-bindings (python-pyqt5-sip4, pyside2, python-pyqt5)
- Show 10 more dependencies...
Latest Comments
misagh commented on 2022-01-04 05:01 (UTC)
@Score_Under Thanks the issue has been solved by switching back
Score_Under commented on 2022-01-02 15:52 (UTC)
@misagh, I've given this a look and it does indeed seem to be true that pyqt5 alone hits on some bugs, so I've put a hard dependency for pyside2 in again.
As much as part of me wants to run on pyqt5 just to find the bugs... :)
misagh commented on 2022-01-02 12:21 (UTC) (edited on 2022-01-02 12:22 (UTC) by misagh)
Hello @Score_Under,
Please take a look at this suggestion by the hydrus developer with regards to using PySide2 as opposed to PyQt5: https://github.com/hydrusnetwork/hydrus/issues/1033#issuecomment-1003620540
And1G commented on 2021-12-29 21:15 (UTC)
Thanks for the hint @Score_Under! After rebuilding and then reinstalling python-mpv, everything works as expected now!
Score_Under commented on 2021-12-29 10:23 (UTC)
Reinstalling is likely a good enough solution, you don't even need the -git version.
Try
pacman -Qo /usr/lib/python3.9
to see which AUR packages are still built for python 3.9 on your system. Those should all be reinstalled (with a clean build, if you get that option) so that they use python 3.10, the current Python version on Arch.clue1ess commented on 2021-12-29 05:01 (UTC)
@And1G I Had the issue to. A bandaid would be installing python-mpv-git instead
And1G commented on 2021-12-25 14:38 (UTC)
Anyone else here who can not play videos within hydrus? Only getting "MPV is not available!" and a button to open videos externally. mpv and it's python bindings are installed.
hydrus 467-1 python-mpv 0.5.2-3 mpv 1:0.34.0-3
misagh commented on 2021-12-16 06:15 (UTC) (edited on 2021-12-16 06:16 (UTC) by misagh)
@Score_Under Thanks. The latest version of Hydrus has fixed this.
Score_Under commented on 2021-12-15 19:33 (UTC)
@misagh I don't think this is directly related to this package, but rather a problem with your installation of python qt5 bindings. If I were in your position I would check
pacman -Qs qt5-python-bindings
to see which qt5 bindings I have installed, then remove or reinstall them as necessary.For me right now, I have these:
I tried removing pyside2 such that hydrus is definitely using pyqt5, and things still worked, so if possible I would say get python-pyqt5, make sure it's all up to date (not held back on an old AUR version or something), and remove the other bindings.
I don't really know your situation but I hope that leads somewhere helpful.
misagh commented on 2021-12-15 10:07 (UTC) (edited on 2021-12-15 10:08 (UTC) by misagh)
Hello, I was advised to report you this issue from the official Hydrus github repo: https://github.com/hydrusnetwork/hydrus/issues/1027
Currently the client is unusable for me due to this bug with the package.
wallcat commented on 2021-11-09 15:04 (UTC) (edited on 2021-11-09 15:04 (UTC) by wallcat)
Got this error after upgrading:
Solved by installing
fmt
from extra.mser commented on 2021-08-05 07:38 (UTC)
Note regarding v449:
I’m skipping v449 since it’s an experimental release; if you do want to use it, simply edit the
PKGBUILD
yourself (your AUR helper should provide that option): change thepkgver
and update the commit hash in thesource
array.mser commented on 2021-05-07 00:29 (UTC) (edited on 2021-05-12 22:00 (UTC) by mser)
Update for v439:
The issue with
python-pyqt5
has been resolved and I've changed the dependency back toqt5-python-bindings
.---OUTDATED INFORMATION---
Note about v438:
For v438, I have swapped out the
qt5-python-bindings
dependency (which is satisfied by bothpyside2
andpython-pyqt5
) withpyside2
because the v438 release broke the ability to usepython-pyqt5
(see here).I will change the dependency back to
qt5-python-bindings
once that issue has been resolved (hopefully in v439).In the meantime, Hydrus should just work if you have both packages installed, because it will default to use
pyside2
. But if you do haveQT_API=PyQt5
set when launching Hydrus, remove that, as it won't work at the moment (and also isn't necessary anymore in general; this was a workaround to force the use ofpython-pyqt5
when Hydrus didn't work correctly withpyside2
in the past).mser commented on 2021-04-12 23:37 (UTC)
@Amolith: Glad that fixed it. :)
Amolith commented on 2021-04-12 23:33 (UTC)
@mser
That would be correct haha. It looks like I forgot to create a virtual env before manually installing requirements for a different application. Thank you so much!
mser commented on 2021-04-12 23:27 (UTC)
@Amolith: From what I can see, your output looks fine (package versions seem correct too).
The error suggests an outdated NumPy version.
The only thing I can think of how that could happen is that it's loading the module from elsewhere; e.g., if you also installed NumPy via pip.
You can try:
The path you see here is the one it should use if it you installed it via python-numpy package.
Also
To see the paths it tries to load modules from in general.
Amolith commented on 2021-04-12 22:37 (UTC)
@mser:
I just tried that and still got exactly the same errors. I uninstalled python-numpy, python-opencv, and hydrus, cleaned my cache, then reinstalled all three. Unless I'm misreading the output, both python packages were from the official repos and not the AUR.
https://asciinema.org/a/RCcgjfzHij01OYHRpCY39I1ff
mser commented on 2021-04-12 21:20 (UTC) (edited on 2021-04-12 21:22 (UTC) by mser)
@Amolith:
This looks like an issue with NumPy or/and OpenCV, but I can't reproduce it.
Please try reinstalling python-numpy and python-opencv. And make sure to install python-opencv from the official repo (here), not the version from the AUR. It wrongly links to the AUR version here in aurweb (because for some reason it apparently does that whenever there is a package of the same name in both the official repos and the AUR), but your AUR helper should prefer the official package.
Amolith commented on 2021-04-12 17:24 (UTC) (edited on 2021-04-12 17:24 (UTC) by Amolith)
I'm getting an error when I try to open hydrus and I'm not sure how to go about fixing it; I've done a clean build a couple of times but the issue persists. The output is in the pastebin below.
https://bin.nixnet.services/?15639b85d7539f52#HZWzoZ1F8Bmr4J7roBPMP7XdWiT6PGJHXnxNVm6cMZzX
And1G commented on 2020-07-23 22:58 (UTC)
The dependency of qt5-charts is not enough for Hydrus to display charts. It needs the python bindings (python-pyqtchart). I would consider this an optional dependency, since it runs fine without, just not displaying charts.
QuartzDragon commented on 2020-03-19 04:34 (UTC)
@Score_Under
Updated the paths-in-opt patch for 389:
https://invent.kde.org/snippets/767
irlittz commented on 2019-01-30 19:06 (UTC)
python-matplotlib should be either added as a dependency or optional dependency, since it provides functionality within Hydrus (rendering charts of traffic in the network->review bandwidth usage tab).
nadomodan commented on 2018-12-13 17:30 (UTC)
@jtmb edit and maintainer, besides this being the last python2 release, as of 334 hydrus no longer uses pafy according to release notes so that dependency can be removed
jtmb commented on 2018-12-01 06:03 (UTC) (edited on 2018-12-05 08:52 (UTC) by jtmb)
@Score_Under, I was able to pull the pkgbuild from before python2-wxpython-phoenix was deleted and build it successfully. I wasn't getting any core.so issues, so hopefully it will work until they change over to python3.
https://pastebin.com/P2MJC4XZ
Edit: so apparently python2-pafy isn't getting built in its split package anymore, either, so here is a PKGBUILD to make python2-pafy until that switches over.
https://pastebin.com/mRBzWY4B
nadomodan commented on 2018-11-29 11:40 (UTC) (edited on 2018-11-29 11:40 (UTC) by nadomodan)
Good news is you won't have to deal with python2 for much longer http://hydrus.tumblr.com/post/180600042724/version-332
Score_Under commented on 2018-11-29 03:25 (UTC)
Well, I've done something I know I will regret, and that's create a package for opencv with python2 support.
That said, python2-wxpython-phoenix has finally kicked the bucket, so that will need replacing. However, every build I have compiled on my own machine has somehow been missing an "init_core" function in its "_core.so". I can't make heads nor tails of this, and gave up some time early October, only to try again now and be faced with exactly the same problem. If anyone can figure out what on earth is going on here & how to compile wxpython-phoenix for python2, I would be grateful for the help.
jtmb commented on 2018-11-23 22:55 (UTC)
@Score_Under same as @nadomodan, opencv 3.4.4-1, no /usr/lib/python2.7/site-packages/cv2.so
nadomodan commented on 2018-11-23 18:51 (UTC) (edited on 2018-11-23 19:06 (UTC) by nadomodan)
@Score_Under I have the same problem, opencv 3.4.4-1:
pacman -Qo /usr/lib/python2.7/site-packages/cv2.so
error: No package owns /usr/lib/python2.7/site-packages/cv2.so
downgrading to opencv 3.4.3-5 on which hydrus works gives this output:
pacman -Qo /usr/lib/python2.7/site-packages/cv2.so
/usr/lib/python2.7/site-packages/cv2.so is owned by opencv 3.4.3-5
finnickal commented on 2018-11-23 16:13 (UTC)
I had the same problem as @jtmb and installed opencv2 from the AUR to solve it.
Score_Under commented on 2018-11-23 12:43 (UTC)
@jtmb, I can't reproduce this. Can you tell me what version of opencv you have installed, and whether it drops a "cv2.so" in /usr/lib/python2.7/site-packages?
jtmb commented on 2018-11-21 19:03 (UTC)
client fails to start with
import cv2 ImportError: No module named cv2
I believe it's related to opencv but I haven't figured out a workaround.
nadomodan commented on 2018-11-15 12:52 (UTC) (edited on 2018-11-15 12:53 (UTC) by nadomodan)
http://hydrus.tumblr.com/post/179874662149/version-329
irlittz commented on 2018-10-27 21:41 (UTC)
@Anfasa, check out: https://8ch.net/hydrus/res/10273.html#10342
Anfasa commented on 2018-10-27 04:04 (UTC) (edited on 2018-10-27 04:04 (UTC) by Anfasa)
As of v327, client fails to start (no module named ordered_dict). Seems to be related to urllib3's latest update: https://github.com/urllib3/urllib3/issues/1456
Although that was patched, and my packages are up to date.
yan12125 commented on 2018-10-03 05:25 (UTC)
python2-wxpython-phoenix is going to be removed: https://lists.archlinux.org/pipermail/aur-requests/2018-September/026757.html. Please create python2-wxpython4 as suggested.
ngvx commented on 2018-07-25 22:35 (UTC)
as of v315, parsing is subtly broken when using python2-lxml (hydrus can use either python2-html5lib or python2-lxml). I recommend replacing the lxml dep with html5lib. If both are installed, html5lib will be used by default.
Aelius commented on 2018-04-07 22:25 (UTC)
Indeed. To further explain the context for the benefit of others, the developer seems to have no experience or knowledge of OS best practices, general security concerns, or how to properly integrate software into any modern operating system. You can't package it as-is. He is receptive to suggestions and is respectful, but in general I think he is set in his ways. Another thing to point out is how he doesn't really use git- github is just a glorified webhost to him. No granular commits, no PR, no attention paid to issues. Just uploads a week's work in one commit. There are fewer commits than there are releases!
Because of this scattered haphazard strange development, changes are necessary when trying to integrate hydrus into a package manager. These changes either have to come from upstream, or the package maintainer. Since the dev doesn't use github-issues or accept PRs, if you want upstream changes you have to take your plight to either the imageboard or the discord. Both are filled with younger teens who also don't understand how computers works, and in general your voice will be drowned out by their insistence that the dev shouldn't waste time on things like that. Which is amusing, I don't think they appreciate how rare it is for a side project to consistently update week-by-week. There's plenty of development time to go around.
To be fair, some of the issues are inherit to targeting Windows as the primary platform.
Score_Under commented on 2018-04-07 12:47 (UTC)
@qlipsos, thanks for the heads up, I've added it to the requirements.
@irlittz, the split-package structure is mostly because it was easier to keep it that way. If it's causing problems I can easily switch it back. Regarding the official release archives, that's partly why I decided to create an AUR package in the first place. They contain a lot of packaged binary dependencies (which are an unnecessary risk), strip permissions (everything is 755), and end up with the incredible filesize of 176MB. Updates from git generally pull less than 1MB per version, which makes the whole process go a lot faster (considering download time and extraction time).
qlipsos commented on 2018-04-05 18:34 (UTC)
'gtkglext' was required in my case.
irlittz commented on 2018-01-25 10:46 (UTC) (edited on 2018-01-25 10:47 (UTC) by irlittz)
Thanks! Is there a reason why your PKGBUILD still has the split-package structure or why you are not using the official release archives?
Score_Under commented on 2018-01-24 21:32 (UTC)
Apologies for keeping you waiting. I've finally pushed the 290 update (and included working recipes for 289 and 288 in the history just in case).
Score_Under commented on 2018-01-21 23:40 (UTC)
I see you've found the complications already - there is no python 2 version of wxpython 4+ on the AUR yet. I'm not too sure of the implications either of installing both wxwidgets 3.x and 4.x at the same time, though there are no filesystem-level conflicts.
irlittz commented on 2018-01-21 01:06 (UTC) (edited on 2018-01-21 16:12 (UTC) by irlittz)
@Score_Under are there any complications in updating the package? The current release version seems to be at version 290.
Updated hydrus PKGBUILD: https://gist.github.com/anonymous/6f7cee87768108c334d3a75749a6e383
Modified wxpython-phoenix PKGBUILD: https://gist.github.com/anonymous/ecc4b7bf4e6f4fedcb075336c3874f6a
I'll ask the creator for wxpython-phoenix to turn it into a split package. The name might change. After installing both of these Hydrus 290 starts, however I had to manually specify the path to my Hydrus database using the
-d
option.Score_Under commented on 2017-07-30 15:44 (UTC)
irlittz commented on 2017-07-30 14:31 (UTC) (edited on 2017-07-30 14:37 (UTC) by irlittz)
irlittz commented on 2017-07-29 18:18 (UTC) (edited on 2017-07-30 14:32 (UTC) by irlittz)
quantumphaze commented on 2017-07-24 12:35 (UTC)
Score_Under commented on 2017-06-30 07:47 (UTC)
BrainDamage commented on 2017-01-25 12:19 (UTC)
Score_Under commented on 2016-12-16 02:28 (UTC)
Aelius commented on 2016-10-23 04:35 (UTC)
Score_Under commented on 2016-10-23 02:12 (UTC) (edited on 2016-10-23 02:21 (UTC) by Score_Under)
Aelius commented on 2016-10-22 19:23 (UTC) (edited on 2016-10-22 19:24 (UTC) by Aelius)
Score_Under commented on 2016-10-21 22:41 (UTC)
Aelius commented on 2016-10-21 03:04 (UTC)
Score_Under commented on 2016-10-06 02:40 (UTC)
cryzed commented on 2016-10-05 21:16 (UTC) (edited on 2016-10-05 21:16 (UTC) by cryzed)
Aelius commented on 2016-01-26 18:58 (UTC)
Aelius commented on 2015-10-05 21:24 (UTC)
Score_Under commented on 2015-09-24 04:27 (UTC)
Aelius commented on 2015-09-16 22:41 (UTC)
Aelius commented on 2015-09-02 03:27 (UTC)
Score_Under commented on 2015-02-28 18:42 (UTC)