[QPKG] sherpa: a mini-package-manager (CLI) beta
- OneCD
- Guru
- Posts: 12160
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
Same here. Qnapclub repo still appears to be broken, and I can't get hold of the site admin. Oh-well.
-
- Know my way around
- Posts: 164
- Joined: Thu Sep 20, 2007 8:11 pm
Re: [QPKG] sherpa mini-package-manager (CLI)
I'm getting a strange issue with sherpa, maybe someone can help:
All sherpa commands are giving the same results.
I already tried to reinstall sherpa, but the issue remains.
I face the issue on a TS-212p
Code: Select all
[~] # sherpa status
proc: init ... /share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 3935: ${#array[@]:-}: bad substitution
/share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 3391: ${#_obj_args_unknown_array_[@]:-}: bad substitution
/share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 6130: ${#_obj_qpkgs_torebuild_array_[@]:-}: bad substitution
/share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 3395: ${#_obj_args_unknown_array_[@]:-}: bad substitution
[~] #
I already tried to reinstall sherpa, but the issue remains.
I face the issue on a TS-212p
Last edited by L3rd on Wed Feb 03, 2021 5:57 am, edited 1 time in total.
NAS:
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
- OneCD
- Guru
- Posts: 12160
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
Hmm, not seeing that here.L3rd wrote: ↑Wed Feb 03, 2021 5:51 am I'm getting a strange issue with sherpa, maybe someone can help:
Code: Select all
[~] # sherpa status proc: init ... /share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 3935: ${#array[@]:-}: bad substitution /share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 3391: ${#_obj_args_unknown_array_[@]:-}: bad substitution /share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 6130: ${#_obj_qpkgs_torebuild_array_[@]:-}: bad substitution /share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 3395: ${#_obj_args_unknown_array_[@]:-}: bad substitution [~] #
Can you please clean your cached files and check again?
Code: Select all
sherpa clean
sherpa status
-
- Know my way around
- Posts: 164
- Joined: Thu Sep 20, 2007 8:11 pm
Re: [QPKG] sherpa mini-package-manager (CLI)
The cache is empty,I do not have anyissue on my other qnap.
Only on this model and it wasworking last time I used (december 2020).
What else I can try?
Only on this model and it wasworking last time I used (december 2020).
What else I can try?
OneCD wrote: ↑Wed Feb 03, 2021 5:56 amHmm, not seeing that here.L3rd wrote: ↑Wed Feb 03, 2021 5:51 am I'm getting a strange issue with sherpa, maybe someone can help:
Code: Select all
[~] # sherpa status proc: init ... /share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 3935: ${#array[@]:-}: bad substitution /share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 3391: ${#_obj_args_unknown_array_[@]:-}: bad substitution /share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 6130: ${#_obj_qpkgs_torebuild_array_[@]:-}: bad substitution /share/HDA_DATA/.qpkg/sherpa/cache/compiled.objects: line 3395: ${#_obj_args_unknown_array_[@]:-}: bad substitution [~] #
Can you please clean your cached files and check again?Code: Select all
sherpa clean sherpa status
NAS:
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
- OneCD
- Guru
- Posts: 12160
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
Let's check your BASH:
Code: Select all
type -a bash
bash --version
-
- Know my way around
- Posts: 164
- Joined: Thu Sep 20, 2007 8:11 pm
Re: [QPKG] sherpa mini-package-manager (CLI)
Code: Select all
~] # type -a bash
bash is /opt/bin/bash
bash is /bin/bash
Code: Select all
[~] # bash --version
GNU bash, version 5.0.17(1)-release (arm-openwrt-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Last edited by L3rd on Wed Feb 03, 2021 6:09 am, edited 1 time in total.
NAS:
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
- OneCD
- Guru
- Posts: 12160
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
Hmm, that's not right - your NAS appears to be using the Entware 'bash', not the QTS 'bash'.L3rd wrote: ↑Wed Feb 03, 2021 6:05 am ~] # type -a bash
bash is /opt/bin/bash
bash is /bin/bash
[~] # bash --version
GNU bash, version 5.0.17(1)-release (arm-openwrt-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
What's your $PATH look like?
Code: Select all
echo $PATH
-
- Know my way around
- Posts: 164
- Joined: Thu Sep 20, 2007 8:11 pm
Re: [QPKG] sherpa mini-package-manager (CLI)
Code: Select all
[~] # echo $PATH
/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin:/Apps/bin:/Apps/sbin:/usr/local/jre/bin
[~] #
NAS:
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
- OneCD
- Guru
- Posts: 12160
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
Did you manually install BASH via Entware? It's not installed by-default:
Code: Select all
opkg info bash
-
- Know my way around
- Posts: 164
- Joined: Thu Sep 20, 2007 8:11 pm
Re: [QPKG] sherpa mini-package-manager (CLI)
Yes I installed bash long time ago...
Code: Select all
[~] # opkg info bash
Package: bash
Version: 5.0-4
Depends: libc, libssp, librt, libpthread, libncurses, libreadline
Status: install user installed
Section: utils
Architecture: armv5-3.2
Size: 357924
Filename: bash_5.0-4_armv5-3.2.ipk
Description: Bash is an sh-compatible command language interpreter that executes
commands read from the standard input or from a file. Bash also
incorporates useful features from the Korn and C shells (ksh and csh).
Installed-Time: 1592852807
NAS:
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
-
- Know my way around
- Posts: 164
- Joined: Thu Sep 20, 2007 8:11 pm
Re: [QPKG] sherpa mini-package-manager (CLI)
I removed entware bash and sherpa started to work again.L3rd wrote: ↑Wed Feb 03, 2021 6:16 am Yes I installed bash long time ago...
Code: Select all
[~] # opkg info bash Package: bash Version: 5.0-4 Depends: libc, libssp, librt, libpthread, libncurses, libreadline Status: install user installed Section: utils Architecture: armv5-3.2 Size: 357924 Filename: bash_5.0-4_armv5-3.2.ipk Description: Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash also incorporates useful features from the Korn and C shells (ksh and csh). Installed-Time: 1592852807
Thnak you!!!
Last edited by L3rd on Wed Feb 03, 2021 6:26 am, edited 1 time in total.
NAS:
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
- OneCD
- Guru
- Posts: 12160
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
No worries. I've just updated the sherpa script to prevent those errors in BASH 5. You'll need to clean your existing installation again so the new management script will be pulled from GitHub:
Testing at my end indicates it works fine with BASH 5.
Code: Select all
sherpa clean
-
- Know my way around
- Posts: 164
- Joined: Thu Sep 20, 2007 8:11 pm
Re: [QPKG] sherpa mini-package-manager (CLI)
Just reinstalled entware bash and everything is working fine.OneCD wrote: ↑Wed Feb 03, 2021 6:18 am No worries. I've just updated the sherpa script to prevent those errors in BASH 5. You'll need to clean your existing installation again so the new management script will be pulled from GitHub:Testing at my end indicates it works fine with BASH 5.Code: Select all
sherpa clean
Thank you for your help.
NAS:
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
QNAP TVS-682 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-351 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FW: 4.5.2.xxxx
QNAP TS-509 Pro . . [Xeon L5408(SLBBT)] . . . . . . . . . . . . . . . FW: 4.2.6 Build 20200821 (2020-09-02) (TS-809 Pro)
QNAP TS-212P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 4.3.3.1432
QNAP TS-109 Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.3.3 build 1003 (2014-10-09)
QNAP QG-103N QGenie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FW: 3.2.3 (2018/08/10)
-
- Know my way around
- Posts: 109
- Joined: Mon Oct 05, 2009 1:46 am
Re: [QPKG] sherpa mini-package-manager (CLI)
Hi, i did a sherpa update all, last week. I rebooted the qnap today (after 53 days of uptime ) and OWatcher3 isnt coming up. Command line as follows:
not sure what service port to lsof on as it's empty in the debug message.
installed jq:
Tried the restart again:
Code: Select all
~] # /etc/init.d/owatcher3.sh restart
= (OWatcher3) is not active
= (OWatcher3) is not active
* updating (OWatcher3): OK
/etc/init.d/owatcher3.sh: line 198: /opt/bin/jq: No such file or directory
! unable to start: UI service port () already in use
installed jq:
Code: Select all
[~] # opkg install jq
Installing jq (1.6-1) to root...
Downloading http://bin.entware.net/x64-k3.2/jq_1.6-1_x64-3.2.ipk
Installing oniguruma (6.9.5_rev1-3) to root...
Downloading http://bin.entware.net/x64-k3.2/oniguruma_6.9.5_rev1-3_x64-3.2.ipk
Configuring oniguruma.
Configuring jq.
Code: Select all
[~] # /etc/init.d/owatcher3.sh restart
= (OWatcher3) is not active
= (OWatcher3) is not active
* updating (OWatcher3): OK
* starting (OWatcher3): failed!
= result: 1
= startup messages: 'Userdata directory exists, continuing.
Connected to database sqlite:////share/CACHEDEV1_DATA/.qpkg/OWatcher3/config/watcher.sqlite
Config file found, merging any new options.
Clearing Mako cache.
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/lib/cherrypy/lib/reprconf.py", line 213, in as_dict
value = unrepr(value)
File "/share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/lib/cherrypy/lib/reprconf.py", line 508, in unrepr
return b.build(obj)
File "/share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/lib/cherrypy/lib/reprconf.py", line 354, in build
raise TypeError('unrepr does not recognize %s' %
TypeError: unrepr does not recognize 'Constant'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/watcher.py", line 140, in <module>
root = cherrypy.tree.mount(App(), '{}/'.format(core.URL_BASE), 'core/conf_app.ini')
File "/share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/lib/cherrypy/_cptree.py", line 226, in mount
app.merge(config)
File "/share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/lib/cherrypy/_cptree.py", line 100, in merge
_cpconfig.merge(self.config, config)
File "/share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/lib/cherrypy/_cpconfig.py", line 139, in merge
for section, value_map in reprconf.as_dict(other).items():
File "/share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/lib/cherrypy/lib/reprconf.py", line 46, in as_dict
config = Parser().dict_from_file(config)
File "/share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/lib/cherrypy/lib/reprconf.py", line 228, in dict_from_file
return self.as_dict()
File "/share/CACHEDEV1_DATA/.qpkg/OWatcher3/OWatcher3/lib/cherrypy/lib/reprconf.py", line 219, in as_dict
raise ValueError(msg, x.__class__.__name__, x.args)
ValueError: ("Config error in section: '/', option: 'tools.auth.on', value: 'True'. Config values must be valid Python.", 'TypeError', ("unrepr does not recognize 'Constant'",))'
- OneCD
- Guru
- Posts: 12160
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
Watcher3 hasn't been supported by sherpa for quite some time. I removed it as an installable package, as the older Python version it requires was causing too many issues with other sherpa apps.
Suggest using Stephane's Watcher3 QPKG available in the Qnapclub repo. It has an integrated version of Python that is compatible with Watcher3.
If the Watcher3 devs eventually update their code to work on a more recent version of Python (like 3.9.0), I'll re-add Watcher3 as a supported package.