Thanks! :-)
To be sure: you don't expect anything from me for now?
[SABnzbd3] nice: can't execute '/var/packages/sabnzbd/target/var/scripts/Deobfuscate.py': No such file,but file is there
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: [SABnzbd3] nice: can't execute '/var/packages/sabnzbd/target/var/scripts/Deobfuscate.py': No such file,but file is t
FWIW: my Synology:
So ... yet another location?
python3 does know its executable:
FWIW on Synology /usr/bin/env does work:
Code: Select all
admin@DiskStation:/$ which python3
/usr/local/bin/python3
python3 does know its executable:
Code: Select all
admin@DiskStation:/$ python3
Python 3.5.1 (default, Jan 29 2018, 14:17:54)
[GCC 4.6.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print(sys.executable)
/usr/local/bin/python3
>>>
Code: Select all
admin@DiskStation:/$ /usr/bin/env python3
Python 3.5.1 (default, Jan 29 2018, 14:17:54)
[GCC 4.6.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Code: Select all
admin@DiskStation:/$ /usr/bin/env python2
Python 2.7.12 (default, May 7 2020, 04:27:29)
[GCC 4.6.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Code: Select all
admin@DiskStation:/$ env python2
Python 2.7.12 (default, May 7 2020, 04:27:29)
[GCC 4.6.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
admin@DiskStation:/$
admin@DiskStation:/$ env python3
Python 3.5.1 (default, Jan 29 2018, 14:17:54)
[GCC 4.6.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Re: [SABnzbd3] nice: can't execute '/var/packages/sabnzbd/target/var/scripts/Deobfuscate.py': No such file,but file is t
Only takes a simple one-liner to mod the shebang to whatever you want:
Code: Select all
sed -i '1s/\/usr\/bin/\/usr\/local/' /path/to/Deobfuscate.py
Re: [SABnzbd3] nice: can't execute '/var/packages/sabnzbd/target/var/scripts/Deobfuscate.py': No such file,but file is t
@sanderjo did you install the latest Python 3 package from SynoCommunity? Could be there's 2 python 3 on synology, I think DSM itself also provides a python.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: [SABnzbd3] nice: can't execute '/var/packages/sabnzbd/target/var/scripts/Deobfuscate.py': No such file,but file is t
Yes, I do think so: Package Center shows Python3, by Allan Clark, Publisher SynoCommunity, Installed Version 3.7.7-12
Re: [SABnzbd3] nice: can't execute '/var/packages/sabnzbd/target/var/scripts/Deobfuscate.py': No such file,but file is t
I added the fix to the 3.0.2 package for SynoCommunity:
https://github.com/SynoCommunity/spksrc/pull/4154
https://github.com/SynoCommunity/spksrc/pull/4154
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate