Package Details: sickchill-git 2022.7.20.r0-1

Git Clone URL: https://aur.archlinux.org/sickchill-git.git (read-only, click to copy)
Package Base: sickchill-git
Description: Automatic video library manager for TV shows
Upstream URL: https://sickchill.github.io
Licenses: GPL3
Conflicts: sickchill
Provides: sickchill
Submitter: willemw
Maintainer: willemw
Last Packager: willemw
Votes: 13
Popularity: 0.066662
First Submitted: 2018-10-28 07:32 (UTC)
Last Updated: 2022-07-27 19:12 (UTC)

Dependencies (4)

Required by (0)

Sources (3)

Pinned Comments

Latest Comments

1 2 3 4 5 Next › Last »

willemw commented on 2022-07-27 19:14 (UTC)

All program files are now removed before an upgrade.

albeec13 commented on 2022-07-27 18:46 (UTC)

@willemw said:

Now that I think about it: putting 'rm -rf /opt/sickchill/app' in pre_upgrade() in sickchill-git.install may fix all those "file exist" conflict errors.

I looked at PKGBUILD after you mentioned the rm -rf line and came to same conclusion. I think that would be a good idea, since it seems to run into conflicts otherwise.

If you do make this change, I'll be happy to test it.

willemw commented on 2022-07-27 18:21 (UTC)

Now that I think about it: putting 'rm -rf /opt/sickchill/app' in pre_upgrade() in sickchill-git.install may fix all those "file exist" conflict errors.

willemw commented on 2022-07-27 18:15 (UTC)

My recommendation would be to enable auto-updating in SickChill. And add 'sickchill-git' to IgnorePkg= in /etc/pacman.conf. Then, when you need to upgrade the package for some reason, uninstall the package first before upgrading/reinstalling.

Or do the reverse: disable auto-updating in SickChill. (Not sure, but you may then still get some of those "file conflict" errors though, if you don't uninstall before upgrading/reinstalling).

The point is not to have two conflicting updaters (Pacman and SickChill) running all the time, but only when you need to.

albeec13 commented on 2022-07-27 17:39 (UTC)

@willemw: Thanks for the update.

After my last message, I uninstalled the package again, did a "git clean -xfd" on the sickchill-git repo, pulled latest, and rebuilt/reinstalled. I then also did a second reinstall to see if it would allow overwriting, which worked.

Previously, I was running into several errors like:

sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/__pycache__/__init__.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/__pycache__/appdirs.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/__pycache__/pyparsing.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/__about__.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/__init__.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/_manylinux.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/_musllinux.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/_structures.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/markers.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/requirements.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/specifiers.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/tags.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/utils.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/version.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/extern/__pycache__/__init__.cpython-310.pyc exists in filesystem

Generally I use the in-app update function, which usually has worked, but the last time I tried to update several days ago, it got into the "white screen" state and I had to manually intervene. Hopefully it's all squared away for now. Thanks again.

willemw commented on 2022-07-27 16:57 (UTC)

@albeec13:

An uninstall removes all the program code (the whole /opt/sickchill/app/ folder), including dependencies downloaded during the build, pychache folders, etc. See 'rm -rf /opt/sickchill/app' in sickchill-git.install.

Starting with an empty folder, before building and installing the package, should give you a clean install, apart from your data (/opt/sickchill/data/). Pay attention during the build that all dependencies are successfully downloaded.

You can update either by reinstalling the package or, more conveniently, keep automatically up-to-date by enabling SickChill's built-in updater.

albeec13 commented on 2022-07-27 16:11 (UTC)

Just a follow up to previous comment. I opened an issue upstream but it seems the issue below was resolved back in march, and the latest version should not be experiencing it, as this offending code was removed. Details here: https://github.com/SickChill/SickChill/issues/8040

Just to be clear, I upgraded by pulling the latest sickchill-git from AUR, and installing with "makepkg -sir" as per usual. When this was not working correctly, I uninstalled sickchill-git via "pacman -R sickchill-git" and then reinstalled with makepkg. I also deleted some .cache and pycache directories and some files that were failing to be overwritten by the upgrade before getting it to successfully upgrade.

Is there some other procedure missing here that's preventing files from being upgraded to the latest package?

albeec13 commented on 2022-07-26 16:41 (UTC) (edited on 2022-07-26 16:49 (UTC) by albeec13)

After updating within the GUI recently, i can no longer access the GUI, though the service appears to be running successfully according to systemd.

Getting this error when attempting to load the GUI:

Jul 26 11:18:38 arch systemd[1]: Stopping SickChill Daemon...
Jul 26 11:18:39 arch systemd[1]: Stopped SickChill Daemon.
Jul 26 11:18:39 arch systemd[1]: Started SickChill Daemon.
Jul 26 11:18:40 arch SickChill.py[967919]: Checking poetry
Jul 26 11:18:40 arch SickChill.py[967919]: sickchill installed: True
Jul 26 11:18:48 arch SickChill.py[967919]: sickchill installed: True
Jul 26 11:18:48 arch SickChill.py[967919]: /opt/sickchill/app/bin/SickChill.py:103: DeprecationWarning: currentThread() is deprecated, use current_thread() instead
Jul 26 11:18:48 arch SickChill.py[967919]:   threading.currentThread().name = "MAIN"
Jul 26 11:18:49 arch SickChill.py[967919]: sickchill installed: True
Jul 26 11:18:49 arch SickChill.py[967919]: Traceback (most recent call last):
Jul 26 11:18:49 arch SickChill.py[967919]:   File "/opt/sickchill/app/bin/SickChill.py", line 357, in <module>
Jul 26 11:18:49 arch SickChill.py[967919]:     SickChill().start()
Jul 26 11:18:49 arch SickChill.py[967919]:   File "/opt/sickchill/app/bin/SickChill.py", line 201, in start
Jul 26 11:18:49 arch SickChill.py[967919]:     failed_history.trimHistory()
Jul 26 11:18:49 arch SickChill.py[967919]: AttributeError: module 'sickchill.oldbeard.failed_history' has no attribute 'trimHistory'

I was able to load the gui successfully by commenting out the following lines in SickChill.py:

        # sure, why not?
        #if settings.USE_FAILED_DOWNLOADS:
        #    failed_history.trimHistory()

I guess it's probably an upstream issue, but posting here as well in case anyone runs into it.

willemw commented on 2021-06-18 09:50 (UTC)

Sickchill now caches all its build files locally in srcdir. To clear old cache files that are still outside the build directory, remove ~/.cache/pip/. It is probably also safe to remove ~/.local/share/virtualenv/.

willemw commented on 2020-09-07 06:26 (UTC)

Migrating to Python 3.

Switching from a "git install" to a "pip install".

NOTE:

If sickchill is already installed, then uninstall the package and delete the cached build files, then reinstall.

Check the journalctl output, if the service does not start. You may need to delete some cache files.