Package Details: pymedusa 1.0.21-1

Git Clone URL: https://aur.archlinux.org/pymedusa.git (read-only, click to copy)
Package Base: pymedusa
Description: Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
Upstream URL: https://github.com/pymedusa/Medusa
Licenses: GPL
Submitter: blinx
Maintainer: blinx
Last Packager: blinx
Votes: 8
Popularity: 0.000004
First Submitted: 2018-02-26 16:15 (UTC)
Last Updated: 2024-04-22 09:30 (UTC)

Latest Comments

1 2 3 Next › Last »

mmozeiko commented on 2024-05-03 04:06 (UTC) (edited on 2024-05-03 04:49 (UTC) by mmozeiko)

Ugly and horrible Python 3.12 workaround that works for me:

1) install python-six and python-setuptools packages

2) apply patch to /usr/lib/pymedusa/ext/boto/plugins.py file from https://gist.github.com/mmozeiko/7c244dcb424f8fda2aa9a93d8efa8365#file-pymedusa-boto-patch

3) apply patch to /usr/lib/pymedusa/ext/deluge_client/client.py file from https://gist.github.com/mmozeiko/7c244dcb424f8fda2aa9a93d8efa8365#file-pymedusa-deluge-patch

4) replace pymedusa vendored libraries with system dependencies:

sudo mv /usr/lib/pymedusa/lib/pkg_resources /usr/lib/pymedusa/lib/pkg_resources.bak
sudo mv /usr/lib/pymedusa/ext/boto/vendored/six.py /usr/lib/pymedusa/ext/boto/vendored/six.py.bak

sudo ln -s /usr/lib/python3.12/site-packages/pkg_resources /usr/lib/pymedusa/lib/pkg_resources
sudo ln -s /usr/lib/python3.12/site-packages/six.py /usr/lib/pymedusa/ext/boto/vendored/six.py

slammer444 commented on 2024-05-02 19:39 (UTC)

@neo_ch thank you very much it is now up and running again

neo_ch commented on 2024-05-02 18:47 (UTC)

@slammer444 Downgrading to Python 3.11 breaks other dependencies. While waiting for upstream fix, I worked around the problem by installing aur/python311 alongside Python and updating the ExecStart line in /usr/lib/systemd/system/pymedusa.service to point to Python3.11:

ExecStart=/usr/bin/python3.11 /usr/lib/pymedusa/start.py -q --nolaunch --datadir=/var/lib/pymedusa

blinx commented on 2024-05-02 13:41 (UTC) (edited on 2024-05-02 13:41 (UTC) by blinx)

@slammer444 I can see that's an issue already mentioned on their repo, I haven't updated yet to 3.12, but I will take a look later, I hope I can at least find a fix for when downgrading it.

slammer444 commented on 2024-05-02 13:31 (UTC)

This fails to start on python 3.12 with error message:

AttributeError: module 'pkgutil' has no attribute 'ImpImporter'

Downgrading to 3.11 causes it to fail with:

subprocess.CalledProcessError: Command '['ffprobe', '-version']' returned non-zero exit status

dkasak commented on 2021-07-11 07:42 (UTC) (edited on 2021-07-11 07:43 (UTC) by dkasak)

@gee See https://github.com/pymedusa/Medusa/issues/9463 for the below issue with python-pytest and attrs.

gee commented on 2021-04-21 00:25 (UTC)

Sorry it's not about building it, it's about running it.

It cannot run if python-pytest is installed, which is very annoying...

blinx commented on 2021-04-20 20:26 (UTC)

@gee I just built it without issues, could you provide me more info so I can reproduce the error

gee commented on 2021-04-20 20:08 (UTC) (edited on 2021-04-20 22:44 (UTC) by gee)

Is this working for you? I get this error:

File "/usr/lib/python3.9/site-packages/_pytest/_code/code.py", line 942, in <module>

TypeError: attrs() got an unexpected keyword argument 'eq'

Which I believe is because the included attrs python package is too old, or maybe it needs to include its own pytest?

Thanks!

edit: removing python-pytest worked

yochananmarqos commented on 2019-06-26 13:51 (UTC) (edited on 2019-06-26 13:52 (UTC) by yochananmarqos)

This also requires openssl & libmediainfo per the installation guide.