Known issues¶
This is the list of issues which are not or will not be fixed (yet…).
- Under Travis CI the coloration may not be shown.
- Under GitLab CI/CD the coloration may not be shown.
Python < 3.7¶
Changed in version 4.0.0.
As of version 4 we no longer support python prior to version 3.7.
This means you actually are unable to run with any version below python 3.7 as a number of build-in features are missing and first introduced in 3.7
The error message you might experience can be:
This can typically happens if you are using Ubuntu 18.x or 19.x
Ubuntu 20.04.1 LTS Focal¶
New in version 3.2.0.
In Ubuntu release 20.04 they have removed a package name
libffi.so.6
and upgraded it with version libffi.so.7
This means PyFunceble will trow an error like:
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
The fix for this issue is then rather simple, add a softlink between the
versions with ln -s
The complete line in my case was:
sudo ln -s /usr/lib/x86_64-linux-gnu/libffi.so.7 /usr/lib/x86_64-linux-gnu/libffi.so.6
However, the right way to do this is by first locate where your
libffi.so.7
is with find
find /usr/lib/ -type f -iname 'libffi.so.*'
Then apply the softlink to libffi.so.7
Combination of -f
, -uf
and --adblock
¶
You can not combine the usage of -f
, -uf
with --adblock
simultaneously.
Sql Missing default data in whois
table¶
New in version 4.0.0.
If you are trying to move or restore your SQL database from a dump, you will see an error message that is looking something like this
SQL Error [1364][HY000]: (conn=12345678) Field 'created_at' doesn't have a default value
(conn=12345678) Field 'created_at' doesn't have a default value
(conn=12345678) Field 'created_at' doesn't have a default value
Field 'created_at' doesn't have a default value
The issue arises from the way SQLAlchemy is creating the tables. The
fact is PyFunceble is written to set a default date
for the
:code:’created_at`.
However, it isn’t set in the database.
To solve this, you will have to manually set the default for created_at
to for example 2020-12-22 09:09:50
in the
DB_name.pyfunceble_whois_record
. You can for example use dBeaver
to do this or manually run this SQL code insode your database.
ALTER TABLE DB_name.pyfunceble_whois_record
MODIFY COLUMN created_at datetime
DEFAULT '2020-12-22 09:09:50'
NOT NULL;
Warning
These changes will be reset next time you are running PyFunceble.
Windows Powershell with Python or Cygwin¶
New in version all.
There are a number of well Known limitation by running or even installing Python on a closed source Windows computer.
Among these issues is the default settings for the installation programs, where we all know the users tend to just click next next next without reading the questions, and the path toward hell continues.
- To have Python to become installed within the system
PATH:
by the installer, you are required to use the advanced install option. (spirillen Was told).- Cygwin do not INCLUDE- and therefore not exporting current
PATH
to running environment. Full path is always required, to be set by your scripts or command line.
Since any of these problems, ain’t @PyFunceble related issues we have left a Cygwin related issue at github.