-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"IndexError: list index out of range" on clean install. #209
Comments
Pyfunceble v3.3.3.dev is known to have these issues, in fact all versions between 3.2.0 (stable) to 3.3.7-dev are troubled, however Pyfunceble 3.3.2 & 3.3.37-dev are both running stable under a virtual env like Conda #39 In case you have just been installing with you can also use the
|
I don't like to touch that 3.x thing, but I'll write some retro compatibility patches so that it keeps working until 4.0.0 takes over. |
I will say it should be necessary to write more fixes for that, you can just merge the 3.3.7-dev into the stable, and then we make a notification about it probably will require a virtual environment like conde to be running as expected. Since the 3.3.7-dev is rather stable under Conda and python2 virtualenv /python3 venv |
@AvinashReddy3108, thank you for reporting. It's late here in Berlin Time, but the patch is into the dev branch as I'll deploy to the stable later today as it is Midnight ++ here right now. Time for me to sleep. |
2 things I stumbled upon
|
I removed all installed versions of PyFunceble from the virtualenv and installed the [avinash@rustbucket ~]$ source ~/_pyfunk/bin/activate
(_pyfunk) [avinash@rustbucket ~]$ pip cache
ERROR: Need an action (dir, info, list, purge, remove) to perform.
(_pyfunk) [avinash@rustbucket ~]$ pip cache purge
Files removed: 182
(_pyfunk) [avinash@rustbucket ~]$ pip uninstall pyfunceble-dev
Found existing installation: PyFunceble-dev 3.3.7
Uninstalling PyFunceble-dev-3.3.7:
Would remove:
/home/avinash/_pyfunk/bin/PyFunceble
/home/avinash/_pyfunk/bin/pyfunceble
/home/avinash/_pyfunk/lib/python3.9/site-packages/PyFunceble/*
/home/avinash/_pyfunk/lib/python3.9/site-packages/PyFunceble_dev-3.3.7.dist-info/*
Proceed (y/n)? y
Successfully uninstalled PyFunceble-dev-3.3.7
(_pyfunk) [avinash@rustbucket ~]$ pip uninstall pyfunceble
Found existing installation: PyFunceble 3.3.3
Uninstalling PyFunceble-3.3.3:
Would remove:
/home/avinash/_pyfunk/lib/python3.9/site-packages/PyFunceble-3.3.3.dist-info/*
/home/avinash/_pyfunk/lib/python3.9/site-packages/tests/*
Proceed (y/n)? y
Successfully uninstalled PyFunceble-3.3.3
(_pyfunk) [avinash@rustbucket ~]$ pip install --no-cache -I pyfunceble-dev==3.3.8
Collecting pyfunceble-dev==3.3.8
Downloading PyFunceble_dev-3.3.8-py3-none-any.whl (270 kB)
|████████████████████████████████| 270 kB 461 kB/s
Collecting alembic
Downloading alembic-1.5.2-py2.py3-none-any.whl (155 kB)
|████████████████████████████████| 155 kB 3.7 MB/s
Collecting dnspython>=2.0.0
Downloading dnspython-2.1.0-py3-none-any.whl (241 kB)
|████████████████████████████████| 241 kB 3.5 MB/s
Collecting PyMySQL
Downloading PyMySQL-1.0.2-py3-none-any.whl (43 kB)
|████████████████████████████████| 43 kB 9.8 MB/s
Collecting requests<3
Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 6.8 MB/s
Collecting inflection
Downloading inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
Collecting sqlalchemy
Downloading SQLAlchemy-1.3.22-cp39-cp39-manylinux2010_x86_64.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 5.7 MB/s
Collecting setuptools
Downloading setuptools-52.0.0-py3-none-any.whl (784 kB)
|████████████████████████████████| 784 kB 10.7 MB/s
Collecting python-dotenv
Downloading python_dotenv-0.15.0-py2.py3-none-any.whl (18 kB)
Collecting domain2idna
Downloading domain2idna-1.12.0-py3-none-any.whl (10 kB)
Collecting cryptography
Downloading cryptography-3.3.1-cp36-abi3-manylinux2010_x86_64.whl (2.6 MB)
|████████████████████████████████| 2.6 MB 11.3 MB/s
Collecting python-box[all]>=5.0.0
Downloading python_box-5.2.0-py3-none-any.whl (20 kB)
Collecting PyYAML
Downloading PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
|████████████████████████████████| 630 kB 12.0 MB/s
Collecting colorama
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting toml
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting ruamel.yaml
Downloading ruamel.yaml-0.16.12-py2.py3-none-any.whl (111 kB)
|████████████████████████████████| 111 kB 9.7 MB/s
Collecting msgpack
Downloading msgpack-1.0.2-cp39-cp39-manylinux1_x86_64.whl (294 kB)
|████████████████████████████████| 294 kB 10.5 MB/s
Collecting chardet<5,>=3.0.2
Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
|████████████████████████████████| 178 kB 11.8 MB/s
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 14.0 MB/s
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.3-py2.py3-none-any.whl (137 kB)
|████████████████████████████████| 137 kB 11.7 MB/s
Collecting certifi>=2017.4.17
Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
|████████████████████████████████| 147 kB 11.1 MB/s
Collecting python-dateutil
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
|████████████████████████████████| 227 kB 10.3 MB/s
Collecting python-editor>=0.3
Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Collecting Mako
Downloading Mako-1.1.4.tar.gz (479 kB)
|████████████████████████████████| 479 kB 10.8 MB/s
Collecting six>=1.4.1
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting cffi>=1.12
Downloading cffi-1.14.4-cp39-cp39-manylinux1_x86_64.whl (405 kB)
|████████████████████████████████| 405 kB 11.8 MB/s
Collecting pycparser
Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
|████████████████████████████████| 112 kB 10.8 MB/s
Collecting MarkupSafe>=0.9.2
Downloading MarkupSafe-1.1.1.tar.gz (19 kB)
Building wheels for collected packages: Mako, MarkupSafe
Building wheel for Mako (setup.py) ... done
Created wheel for Mako: filename=Mako-1.1.4-py2.py3-none-any.whl size=75675 sha256=98100c01862fa1e07d97995a226d58fbd5e48e5845b8a34110b49f5c57e004c4
Stored in directory: /tmp/pip-ephem-wheel-cache-qfa1lmxv/wheels/cd/56/62/f7e8f1528d26bbdd5d1ea7693b945b4cbef4bbaa0db0bea2b0
Building wheel for MarkupSafe (setup.py) ... done
Created wheel for MarkupSafe: filename=MarkupSafe-1.1.1-cp39-cp39-linux_x86_64.whl size=27375 sha256=49465f10e5c2337aa5e3b9f8fb1b51848dd14d5c88728b1852eb8651fe849529
Stored in directory: /tmp/pip-ephem-wheel-cache-qfa1lmxv/wheels/e0/19/6f/6ba857621f50dc08e084312746ed3ebc14211ba30037d5e44e
Successfully built Mako MarkupSafe
Installing collected packages: six, pycparser, MarkupSafe, urllib3, toml, sqlalchemy, setuptools, ruamel.yaml, python-editor, python-dateutil, python-box, msgpack, Mako, idna, colorama, chardet, cffi, certifi, requests, PyYAML, python-dotenv, PyMySQL, inflection, domain2idna, dnspython, cryptography, alembic, pyfunceble-dev
Successfully installed Mako-1.1.4 MarkupSafe-1.1.1 PyMySQL-1.0.2 PyYAML-5.4.1 alembic-1.5.2 certifi-2020.12.5 cffi-1.14.4 chardet-4.0.0 colorama-0.4.4 cryptography-3.3.1 dnspython-2.1.0 domain2idna-1.12.0 idna-2.10 inflection-0.5.1 msgpack-1.0.2 pycparser-2.20 pyfunceble-dev-3.3.8 python-box-5.2.0 python-dateutil-2.8.1 python-dotenv-0.15.0 python-editor-1.0.4 requests-2.25.1 ruamel.yaml-0.16.12 setuptools-52.0.0 six-1.15.0 sqlalchemy-1.3.22 toml-0.10.2 urllib3-1.26.3
(_pyfunk) [avinash@rustbucket ~]$ pyfunceble
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Your current version is considered as deprecated.
Please take the time to update PyFunceble!
🎉🌠 Happy New Year! 🌠🎉
Best wishes to you and your beloved ones.
Nothing to test.
(_pyfunk) [avinash@rustbucket ~]$ Is it OK that it asks me to update it, on a
|
Hi @AvinashReddy3108 about the: Your current version is considered as deprecated.
Please take the time to update PyFunceble! I'll say it's OK, with the consideration, that we do not plan to tush the code any further. On the other hand, you are right it's a bit early in the light of the 4.0.0 is still in beta. My personal opinion is I'm OK with this as the 4.0.0.b17 is stable enough for most use cases. Here is a couple of examples of running PyFuncebles: https://github.com/dns-test/rpz.mypdns.cloud, https://github.com/dns-test/porn.host.rpz & Ultimate Hosts Blacklist had it running until GHA disabled it. Depending on which test's you are consider to use I might as well hope you would upgrade to 4.0.0-beta and then report any failures you might find. Best wishes and thanks again for your feedback and let it never be the last one 😃 |
The part with the code comparison come directly from 4.0.0b18. This patch fixes the last issue in #209. Indeed, it doesn't make sense to say that the version is deprecated when the upstream version is still in beta. Contributors: * @AvinashReddy3108 * @spirillen
Hi @spirillen @AvinashReddy3108, You are right. A beta version shouldn't mark the currently installed version as deprecated. It should be fixed with the next 3.x-dev version. |
Bug description
A clear and concise description of what the bug is.
Modifications under
.PyFunceble.yaml
A clear representation of what you changed.
Reproduction
Steps to reproduce the behavior:
pip install pyfunceble
(orpyfunceble-dev
)pyfunceble -h
.Expected behavior
A clear and concise description of what you expected to happen.
Screenshots/Error Log
If applicable, add screenshots to help explain your problem.
Versions
OS:
Arch Linux
neofetch output includedPython Version: 3.9.1
PyFunceble Version: pyfunceble 3.3.3.dev (Teal Blauwbok: Gander)
Additional context
pyfunceble -v
seems to work for me.The text was updated successfully, but these errors were encountered: