What should I do ,if i want to do the setup for older version(v6.x.x) of frappe? I m also facing the issue of sanitizer. And i don’t want to update the bench version.
npm WARN enoent ENOENT: no such file or directory, open ‘/home/hercules/frappe-adv/frappe-bench/package.json’
npm WARN frappe-bench No description
npm WARN frappe-bench No repository field.
npm WARN frappe-bench No README data
npm WARN frappe-bench No license field.
/home/hercules/frappe-adv/frappe-bench/env/bin/python: No module named sanitizer
INFO:bench.utils:virtualenv -q env -p /usr/bin/python
Already using interpreter /usr/bin/python
INFO:bench.utils:./env/bin/pip -q install --upgrade pip
INFO:bench.utils:./env/bin/pip -q install wheel
INFO:bench.utils:./env/bin/pip -q install six
/home/hafees/frappe-bench-v7/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/home/hafees/frappe-bench-v7/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see Advanced Usage - urllib3 2.0.0a2 documentation.
InsecurePlatformWarning
INFO:bench.utils:./env/bin/pip -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit
INFO:bench.app:getting app frappe
INFO:bench.utils:git clone GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript --branch v7.0.32 --origin upstream
Cloning into ‘frappe’…
remote: Counting objects: 134050, done.
remote: Compressing objects: 100% (89/89), done.
remote: Total 134050 (delta 33), reused 51 (delta 21), pack-reused 133940
Receiving objects: 100% (134050/134050), 104.08 MiB | 13.06 MiB/s, done.
Resolving deltas: 100% (101348/101348), done.
Checking connectivity… done.
Note: checking out ‘21aaca48ed93056c0b7fb483071dd41cc7c804c0’.
You are in ‘detached HEAD’ state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
(‘installing’, u’frappe’)
INFO:bench.app:installing frappe
INFO:bench.utils:frappe-bench-v7/env/bin/pip install -q -e frappe-bench-v7/apps/frappe --no-cache-dir
/home/hafees/frappe-bench-v7/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/home/hafees/frappe-bench-v7/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see Advanced Usage - urllib3 2.0.0a2 documentation.
InsecurePlatformWarning
Updating node libraries…
INFO:bench.utils:npm install
npm WARN frappe-bench-v7 No description
npm WARN frappe-bench-v7 No repository field.
npm WARN frappe-bench-v7 No license field.
/home/hafees/frappe-bench-v7/env/bin/python: No module named sanitizer