[QPKG] sherpa mini-package-manager (CLI) beta

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
joNe-
New here
Posts: 6
Joined: Sat May 07, 2016 2:51 pm

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by joNe- »

Nope, doesn't work. Same Error:
[~] # sherpa check
sherpa 210605 • a mini-package-manager for QNAP NAS

done: installed 1 PIP group

[~] # sherpa install SABnzbd
sherpa 210605 • a mini-package-manager for QNAP NAS

done: installed 3 PIP groups
fail: 'SABnzbd' service operation failed. Check (/var/log/SABnzbd.log) for more information
done: installed 1 dependent QPKG
/var/log/SABnzbd.log shows the same error like above
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

joNe- wrote: Wed Jul 07, 2021 1:59 am Nope, doesn't work. Same Error:
Can you please run these commands then post the results?

Code: Select all

opkg list-installed | grep python3-six

Code: Select all

pip3 list | grep six
And then reinstall Entware (no-need to post the result for this one):

Code: Select all

sherpa reinstall ew

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
joNe-
New here
Posts: 6
Joined: Sat May 07, 2016 2:51 pm

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by joNe- »

OneCD wrote: Wed Jul 07, 2021 2:45 am Can you please run these commands then post the results?
Of course ;=)

Code: Select all

[~] # opkg list-installed | grep python3-six
python3-six - 1.15.0-1
[~] # pip3 list | grep six
[~] # sherpa reinstall ew
sherpa 210605 • a mini-package-manager for QNAP NAS

done: uninstalled 1 standalone QPKG
done: installed 1 standalone QPKG
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

Are you able to start SAB now?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
joNe-
New here
Posts: 6
Joined: Sat May 07, 2016 2:51 pm

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by joNe- »

Yepp, now it works / started.

Thank you! :)
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

No worries, I don’t know why six wasn’t shown as an installed module in the pip list, but I’ll keep an eye out for this happening again.

Cheers! :D

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
GTunney
Been there, done that
Posts: 737
Joined: Tue Oct 14, 2014 4:16 pm

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by GTunney »

Sickchill no longer wants to start for me after a recent update.

Any suggestions OneCD or is it something I should throw Sickchills way?

Code: Select all

>>>>>>>>>> datetime:'Mon Jul 12 08:29:49 BST 2021',request:'starting',QPKG:'210326',app:'2021.7.12-2' <<<<<<<<<<
daemon: NOT active
file (/opt/bin/git): exists
update 'SickChill' from remote repository: OK
current git branch: master
file (/opt/bin/python3): exists
load UI ports from application: OK
start daemon: failed!
= ExecuteAndLog()
output: "sickchill found: False
virtualenv found: True
pip args: /share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/bin/python3.9 -m pip install --no-input --disable-pip-version-check --no-python-version-warning --no-color --trusted-host=pypi.org --trusted-host=files.pythonhosted.org -qqU setuptools poetry --pre
poetry found: True
pip args: /share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/bin/python3.9 -m pip install --no-input --disable-pip-version-check --no-python-version-warning --no-color --trusted-host=pypi.org --trusted-host=files.pythonhosted.org -qqU appdirs==1.4.4 babelfish==0.5.5 beautifulsoup4==4.9.3 beekeeper==0.9.2 bencode.py==4.0.0 cachecontrol==0.12.6; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0") certifi==2021.5.30; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" cffi==1.14.6; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" or python_full_version >= "3.5.0" and python_version >= "3.6" chardet==4.0.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0") click==8.0.1; python_version >= "3.6" cloudscraper==1.2.58 colorama==0.4.4; python_version >= "3.6" and python_full_version < "3.0.0" and platform_system == "Windows" or platform_system == "Windows" and python_version >= "3.6" and python_full_version >= "3.5.0" configobj==5.0.6 cryptography==3.4.7; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6" decorator==5.0.9; python_version >= "3.5" deluge-client==1.9.0 deprecated==1.2.12; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" dogpile.cache==1.1.3; python_version >= "3.6" enzyme==0.4.1 feedparser==6.0.8; python_version >= "3.6" future==0.18.2; python_version >= "2.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" gntp==1.0.3 greenlet==1.1.0; python_version >= "3" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3" guessit==3.3.1 html5lib==1.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0") httplib2==0.19.1 idna==2.10; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" ifaddr==0.1.7 imagesize==1.2.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0") imdbpy==2021.4.18 importlib-metadata==1.7.0; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "3.8" or python_version < "3.8" and python_version >= "3.6" and python_full_version >= "3.5.0" or python_version >= "2.7" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.6.0" and python_version < "3.8" ipaddress==1.0.23 js2py==0.71 jsonrpclib-pelix==0.4.2 kodipydent==0.3.1 lxml==4.6.3; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" mako==1.1.4; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0") markdown2==2.4.0; python_version >= "3.5" and python_version < "4" markupsafe==2.0.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" msgpack==1.0.2; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" new-rtorrent-python==1.0.1a0 oauthlib==3.1.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" packaging==20.9; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0") pbr==5.6.0; python_version >= "3.6" profilehooks==1.12.0 putio.py==8.7.0 pyaes==1.6.1 pycparser==2.20; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" pygithub==1.55; python_version >= "3.6" pyjsparser==2.7.1 pyjwt==2.1.0; python_version >= "3.6" pymediainfo==5.1.0; python_version >= "3.6" pynacl==1.4.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" pynma==1.0 pyopenssl==20.0.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0") pyparsing==2.4.7; python_version >= "2.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" or python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" pysocks==1.7.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0") pysrt==1.1.2 python-dateutil==2.8.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.3.0") python-slugify==5.0.2; python_version >= "3.6" python-twitter==3.5 python3-fanart==2.0.0 pytz==2021.1 qbittorrent-api==2021.5.22 rarfile==4.0 rebulk==3.0.1 requests-oauthlib==1.3.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" requests-toolbelt==0.9.1 requests==2.25.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0") send2trash==1.7.1 sgmllib3k==1.0.0; python_version >= "3.6" six==1.16.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" or python_full_version >= "3.5.0" or python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.4" or python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" soupsieve==2.2.1; python_version >= "3.6" sqlalchemy==1.4.20; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0") stevedore==3.3.0; python_version >= "3.6" subliminal==2.1.0 temp-babelfish==0.5.6.dev0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0") text-unidecode==1.3; python_version >= "3.6" timeago==1.0.15 tmdbsimple==2.8.0 tornado==6.1; python_version >= "3.5" tus.py==1.3.4 tvdbsimple==1.0.6 tzlocal==2.1 unidecode==1.2.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0") urllib3==1.26.6; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version < "4" validators==0.18.2; python_version >= "3.4" webencodings==0.5.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" win-inet-pton==1.1.0 wrapt==1.12.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" xmltodict==0.10.1 zipp==3.5.0; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "3.8" or python_version < "3.8" and python_version >= "3.6" and python_full_version >= "3.5.0"
Traceback (most recent call last):
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/SickChill.py", line 14, in <module>
    import sickchill.start
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/__init__.py", line 5, in <module>
    from .show.indexers import indexer, ShowIndexer
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/show/indexers/__init__.py", line 1, in <module>
    from .handler import ShowIndexer
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/show/indexers/handler.py", line 3, in <module>
    from sickchill import logger, settings
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/logger.py", line 12, in <module>
    from github import InputFileContent
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/__init__.py", line 56, in <module>
    from github.MainClass import Github, GithubIntegration
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/MainClass.py", line 59, in <module>
    import github.Event
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/Event.py", line 32, in <module>
    import github.NamedUser
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/NamedUser.py", line 44, in <module>
    import github.Organization
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/Organization.py", line 50, in <module>
    import github.Repository
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/Repository.py", line 125, in <module>
    import github.PublicKey
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/PublicKey.py", line 34, in <module>
    from nacl import encoding, public
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/nacl/public.py", line 17, in <module>
    import nacl.bindings
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/nacl/bindings/__init__.py", line 17, in <module>
    from nacl.bindings.crypto_aead import (
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/nacl/bindings/crypto_aead.py", line 18, in <module>
    from nacl._sodium import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'"
result: [1]
Model: TS-653B 8GB
Disks: 3 x 4TB Western Digital WD40EFRX - RAID 5
Total Storage: 7.2TB
Applications: Plex MS | Watcher3 | QSabnzbd+ | QSickrage | Home Assistant | Kodi v18.4 MySQL
Other Devices: Netgear D7000 AC1900 VDSL Router | FTTC - 80/20 | Netgear GS108 Gigabit Switch
splatmannl
Starting out
Posts: 14
Joined: Thu May 23, 2013 9:47 pm

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by splatmannl »

I'm having exactly the same problem.
I hope someone finds a solution?
David
scarng
Starting out
Posts: 16
Joined: Thu Apr 14, 2016 8:13 am

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by scarng »

Me too, I have reinstalled and uninstalled nothing seems to get back running. Anyway to go back a version?
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

GTunney wrote: Mon Jul 12, 2021 3:32 pm Sickchill no longer wants to start for me after a recent update.
Yes, you're not alone - a few reports of startup failures after the latest SickChill update: https://github.com/SickChill/SickChill/issues/7249

Even SickChill on my Debian NAS failed. :(

I'm investigating this now...

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

Looks like @miigotu decided to enforce virtualenv usage when running from source, then sprung it on everyone in the 'master' branch with little regard for the difficulties this would create. I have only a sarcastic and unflattering response to that, so I won't state it. :evil:

I'm working on ensuring we can run SickChill this way on QTS without filling [/] to capacity. It means setting different cache and installation paths for the virtualenv modules.

Also means sherpa won't be able to pre-install SickChill before running it - it will be installed the first time it's executed.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

A follow-up for those with SickChill startup issues: I've introduced a temporary revert to get SickChill running again while this current fiasco is sorted out.

This means an updated SickChill QPKG has been released (v210713). Please run the following:

Code: Select all

sherpa clean
sherpa upgrade sc start sc
Please don't try and upgrade the SickChilll application internally (as-in: within the SickChill UI). Please disable the auto-update feature built-in to SickChill. SickChill application updates are on-hold for-now. ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
scarng
Starting out
Posts: 16
Joined: Thu Apr 14, 2016 8:13 am

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by scarng »

Thanks @OneCD we appreciate your effort. Unfortunately, it didn't work for me.

Code: Select all

sherpa 210713 ⢠a mini-package-manager for QNAP NAS

done: installed 2 PIP groups
note: ignoring request to upgrade 'SickChill' as no new package is available
note: ignoring request to start 'SickChill' as it's already started

Code: Select all

manager: 210713
loader: 210418
package: 210418b
objects hash: 8028448f0ba487c1b28ac165ee087a54
Last edited by scarng on Tue Jul 13, 2021 5:49 pm, edited 1 time in total.
User avatar
r6ual
New here
Posts: 9
Joined: Mon May 16, 2011 1:54 pm

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by r6ual »

Many thanks for the update OneCD, however I'm sadly still having the same issue as I was prior to attempting your update.. (as below)...

Code: Select all

version >= "3.6" and python_full_version < "3.0.0" and python_version < "3.8" or python_version < "3.8" and python_version >= "3.6" and python_full_version >= "3.5.0"
Traceback (most recent call last):
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/SickChill.py", line 14, in <module>
    import sickchill.start
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/__init__.py", line 5, in <module>
    from .show.indexers import indexer, ShowIndexer
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/show/indexers/__init__.py", line 1, in <module>
    from .handler import ShowIndexer
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/show/indexers/handler.py", line 3, in <module>
    from sickchill import logger, settings
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/logger.py", line 12, in <module>
    from github import InputFileContent
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/__init__.py", line 56, in <module>
    from github.MainClass import Github, GithubIntegration
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/MainClass.py", line 59, in <module>
    import github.Event
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/Event.py", line 32, in <module>
    import github.NamedUser
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/NamedUser.py", line 44, in <module>
    import github.Organization
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/Organization.py", line 50, in <module>
    import github.Repository
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/Repository.py", line 125, in <module>
    import github.PublicKey
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/github/PublicKey.py", line 34, in <module>
    from nacl import encoding, public
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/nacl/public.py", line 17, in <module>
    import nacl.bindings
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/nacl/bindings/__init__.py", line 17, in <module>
    from nacl.bindings.crypto_aead import (
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/.venv/lib/python3.9/site-packages/nacl/bindings/crypto_aead.py", line 18, in <module>
    from nacl._sodium import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'"
result: [1]
[/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill] #
TS-421 && TVS-871
Kastagir
Starting out
Posts: 13
Joined: Sat Sep 18, 2010 1:18 am

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by Kastagir »

Thank you OneCD! Really appreciate your time on this. I am also still having an issue even with the workaround.

First attempt:

Code: Select all

[/var/log] # sherpa clean
done: management script cleaned
[/var/log] # sherpa upgrade sc start sc
sherpa 210713 • a mini-package-manager for QNAP NAS

done: updated package cache with 1 QPKG
done: installed 2 PIP groups
fail: 'SickChill' service operation failed. Check (/var/log/SickChill.log) for more information
done: upgraded 1 dependent QPKG
note: ignoring request to start 'SickChill' as it's already started
Second Attempt:

Code: Select all

[/var/log] # sherpa clean
done: management script cleaned
[/var/log] # sherpa upgrade sc start sc
sherpa 210713 • a mini-package-manager for QNAP NAS

done: installed 2 PIP groups
note: ignoring request to upgrade 'SickChill' as no new package is available
note: ignoring request to start 'SickChill' as it's already started
SickChill.log shows the same entries as r6ual. Sherpa status shows:
SickChill - 210713 - started

If you need any more info, please let me know :)

Edit: Hmm. Is there a flag in the SickChill config I need to change to disable checking for updates at launch? I can't remember how updating workings and I'm wondering if it is auto-updating from github after launch?
Post Reply

Return to “Community Apps”