Coder Social home page Coder Social logo

io.github.hydrusnetwork.hydrus's Issues

Issues with AV1-encoded MKVs

Hi, not sure if this is where issues for the flatpak are to be posted.

Pre-existing AV1 codec MKVs in a Hydrus library play audio, but have black/blank video output. Trying to import a new AV1-encoded MKV results in an error:
"Video appears to be broken and non-renderable--perhaps a damaged single-frame video?"

I'm not clear on if this is in scope of the flatpak or not, but a normal AUR-based Hydrus install will import and play these files properly, so I'm guessing one of the libraries (ffmpeg/mpv?) that is being used is not up to date or not the right version.

I've attached a short test file that can be used.
cat.zip

Packages I think were used for my AUR hydrus build:
FFmpeg 5.1.1
Python-mpv 1.0.1
MPV 1:0.34.1

I noticed the python requirements for Hydrus list python-mpv 0.4.5 specifically, which is 3 years old at this point. The AUR version just grabs the most recent version and doesn't seem to care. Not sure if this is the culprit, and if so if this should be updated to a newer version in the main hydrus repo or if there's a reason it's not.

Changing default database location

Hello, it is possible to change the database location of the Flatpak build?

The default database location of Flatpak build is located at~/Hydrus. Shouldn't it be located at ~/var/io.github.hydrusnetwork.hydrus instead?

Or the database should be placed in /home/user/.local/share/hydrus/ as the AUR version did. Thanks.

MPV broken in latest version

Playback with MPV doesn't work at all. I get the following error when clicking on any animated file or video.

v573, linux, source
ValueError
('Invalid value for mpv parameter', -4, (<MpvHandle object at 0x7528f75ef5c0>, <mpv.LP_MpvNode object at 0x75291ec12b10>, <mpv.LP_MpvNode object at 0x75291ec12a80>))
  File "/app/hydrus/hydrus/client/gui/canvas/ClientGUICanvas.py", line 1544, in SetMedia
    Canvas.SetMedia( self, media )
  File "/app/hydrus/hydrus/client/gui/canvas/ClientGUICanvas.py", line 1232, in SetMedia
    self._media_container.SetMedia( self._current_media, maintain_zoom, maintain_pan )
  File "/app/hydrus/hydrus/client/gui/canvas/ClientGUICanvasMedia.py", line 2151, in SetMedia
    self._MakeMediaWindow()
  File "/app/hydrus/hydrus/client/gui/canvas/ClientGUICanvasMedia.py", line 1524, in _MakeMediaWindow
    self._media_window = CG.client_controller.gui.GetMPVWidget( self )
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/hydrus/hydrus/client/gui/ClientGUI.py", line 7366, in GetMPVWidget
    mpv_widget = ClientGUIMPV.MPVWidget( parent )
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/hydrus/hydrus/client/gui/canvas/ClientGUIMPV.py", line 293, in __init__
    self._player.loadfile( self._black_png_path )
  File "/app/lib/python3.11/site-packages/mpv.py", line 1329, in loadfile
    self.command('loadfile', filename.encode(fs_enc), mode, MPV._encode_options(options))
  File "/app/lib/python3.11/site-packages/mpv.py", line 1227, in command
    _mpv_command_node(self.handle, ppointer, out)
  File "/app/lib/python3.11/site-packages/mpv.py", line 142, in raise_for_ec
    raise ex

Hydrus not launching with a proper Gui after update

Distro: Fedora 39

I've recently updated both my system packages and my flatpak packages, and noticed that Hydrus isn't properly launching a gui.
Screenshot from 2024-07-06 07-28-26

I've reinstalled the flatpak in order to get it to work properly, but I haven't been able to resolve it.

Minimizing to system tray makes the tray icon disappear

Hi, not sure if this is where issues for the flatpak are to be posted.

Upon startup, Hydrus launches normally, with its application window hidden and tray icon visible. After unminimizing, then reminimizing the application, its tray icon disappears and there's no way to get the application window back. There is no console output/errors when this happens.

I have the following options checked under options -> system tray:
Always show the hydrus system tray icon
Mimimise the main window to system tray
Close the main window to system tray
Start the client minimised to system tray

Using:
KDE
Hydrus v499
Arch Linux

This functionality has been working normally for me for years on the AUR version of hydrus. It is difficult to test the rest of the program in any real long-term capacity with this bug active.

Pyside6 Qt6Pdf addon is not built

Pyside6 is missing qt6pdf

-- optional module Qt6Pdf skipped. Looked in: /app/lib/x86_64-linux-gnu/cmake/Qt6Pdf
-- optional module Qt6PdfWidgets skipped. Looked in: /app/lib/x86_64-linux-gnu/cmake/Qt6PdfWidgets

Client API not working

Hi, not sure if this is where issues for the flatpak are to be posted.

When loading up my normal hydrus db, I immediately get an error in the bottom right of the window:

Could not start "client api"
v499, 2022/09/24 19:02:27: ModuleNotFoundError
No module named 'cryptography.hazmat.bindings._openssl'
Traceback (most recent call last):
  File "/app/hydrus/hydrus/client/ClientController.py", line 1787, in StartServices
    import twisted.internet.ssl
  File "/app/lib/python3.9/site-packages/twisted/internet/ssl.py", line 60, in <module>
    from OpenSSL import SSL
  File "/app/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
  File "/app/lib/python3.9/site-packages/OpenSSL/crypto.py", line 11, in <module>
    from OpenSSL._util import (
  File "/app/lib/python3.9/site-packages/OpenSSL/_util.py", line 5, in <module>
    from cryptography.hazmat.bindings.openssl.binding import Binding
  File "/app/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
ModuleNotFoundError: No module named 'cryptography.hazmat.bindings._openssl'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.