[Solved] Ticket #3852 - generic VTK warning in python 3 build

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

[Solved] Ticket #3852 - generic VTK warning in python 3 build

Post by uwestoehr »

When opening a simulation I created with a prior version of FC 0.18, I get this warning in a popup window named "vtkOutputWindow".

Code: Select all

Generic Warning: In ..\Common\Core\vtkInstantiator.cxx, line 265
vtkInstantiator::CreateInstance was deprecated for VTK 8.1 and will be removed in a future version.

Generic Warning: In ..\Common\Core\vtkInstantiator.cxx, line 265
vtkInstantiator::CreateInstance was deprecated for VTK 8.1 and will be removed in a future version.
This only happens for the Conda build of FC:

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15938 (Git)
Build type: Release
Branch: master
Hash: acdd4b097bbaf6d94bc09cf38f25924bd5d3e778
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

Can I ignore this or do I have to update something in my simulation?
Last edited by Kunda1 on Mon Jun 17, 2019 7:59 am, edited 1 time in total.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: generic VTK warning in python 3 build

Post by sgrogan »

uwestoehr wrote: Wed Feb 20, 2019 1:25 am Can I ignore this or do I have to update something in my simulation?
You should be OK for now.
The warning is that the used function is deprecated, but still is available. In future versions of VTK it may not be available.
What you could try is to make a copy of your 0.17 file, open in 0.18 and re-run the simulation, save, then re-open in 0.18. If the warning goes away it is already fixed in FreeCAD. If not we may have a problem with future versions of VTK. If this is the case it would be good to open an issued in the tracker.
"fight the good fight"
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: generic VTK warning in python 3 build

Post by uwestoehr »

sgrogan wrote: Thu Feb 21, 2019 10:07 pm What you could try is to make a copy of your 0.17 file, open in 0.18 and re-run the simulation, save, then re-open in 0.18. If the warning goes away it is already fixed in FreeCAD. If not we may have a problem with future versions of VTK. If this is the case it would be good to open an issued in the tracker.
I created the file already with FC 0.18. I re-run the simulation now, saved and restarted FC and the problem persists. This is therefore now issue #3852.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #3852 - generic VTK warning in python 3 build

Post by Kunda1 »

I believe the conda build now uses VTK8.2.0 can someone please check if issue #3852 is still valid ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
UR_
Veteran
Posts: 1354
Joined: Tue Jan 03, 2017 8:42 pm

Re: Ticket #3852 - generic VTK warning in python 3 build

Post by UR_ »

conda-forge/label/cf201901 still uses vtk 8.1.1

Code: Select all

(freecad) C:\Users\aio>conda list vtk
# packages in environment at C:\Users\aio\Miniconda3\envs\freecad:
#
# Name                    Version                   Build  Channel
vtk                       8.1.1           py36h8833f92_204    conda-forge/label/cf201901


conda-forge uses vtk 8.2.0

But AFAIK there are still problems (nglib.h not found :( )

looo wrote: *ping*
Any news here?
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: Ticket #3852 - generic VTK warning in python 3 build

Post by looo »

UR_ wrote: Mon Jun 17, 2019 8:32 am looo wrote:
*ping*
Any news here?
conda-forge/label/cf201901 won't get any updates. So here we will stay with vtk8.1.1.

freecad/label/dev is now updated to vtk8.2.0 (but still uses qt5.6 and boost1.68)

freecad/label/testing uses vtk8.2.0 and qt5.9 (but still uses boost 1.68)

freecad 0.18.2 on conda-forge uses vtk.8.1.2:
https://ci.appveyor.com/project/conda-f ... =true#L404

As said somewhere else there is some work needed to get FreeCAD updated to latest deps (boost1.70, vtk8.2.0). I hope to get this done, but there are still some errors...

regarding this topic:
I do not have the warning with this package-mix, so I guess we can close the issue.

Code: Select all

appdirs                   1.4.3                      py_1    conda-forge
arpack                    3.6.3             h323e27b_1004    conda-forge
atk                       2.25.90           hb9dd440_1002    conda-forge
attrs                     19.1.0                     py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
blas                      2.10                   openblas    conda-forge
bleach                    3.1.0                      py_0    conda-forge
blinker                   1.4                      pypi_0    pypi
boost-cpp                 1.68.0            h11c811c_1000    conda-forge
bzip2                     1.0.6             h14c3975_1002    conda-forge
ca-certificates           2019.6.16            hecc5488_0    conda-forge
cairo                     1.16.0            ha4e643d_1000    conda-forge
calculix                  2.15              h4c1d278_1002    conda-forge
certifi                   2019.3.9                 py37_0    conda-forge
coin3d                    4.0.0             h9b6af50_1005    conda-forge
curl                      7.64.0               h646f8bb_0    conda-forge
cycler                    0.10.0                     py_1    conda-forge
cython                    0.29.10          py37he1b5a44_0    conda-forge
dakota-helpers            0.0                       dev_0    <develop>
dbus                      1.13.6               he372182_0    conda-forge
decorator                 4.4.0                      py_0    conda-forge
defusedxml                0.5.0                      py_1    conda-forge
entrypoints               0.3                   py37_1000    conda-forge
expat                     2.2.5             hf484d3e_1002    conda-forge
ezdxf                     0.9                        py_0    conda-forge
ezodf                     0.3.2                      py_2    conda-forge
fontconfig                2.13.1            he4413a7_1000    conda-forge
freecad                   0.19.pre        py37h0c5a798_17    freecad/label/dev
freecad-frametools        0.1.0                     dev_0    <develop>
freecad-plot              0.0.1                    pypi_0    pypi
freeimage                 3.17.0                        0    conda-forge
freetype                  2.10.0               he983fc9_0    conda-forge
future                    0.17.1                py37_1000    conda-forge
gdk-pixbuf                2.36.12           h49783d7_1002    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
gitdb2                    2.0.5                      py_0    conda-forge
gitpython                 2.1.11                     py_0    conda-forge
glib                      2.58.3            hf63aee3_1001    conda-forge
gobject-introspection     1.58.2          py37h2da5eee_1000    conda-forge
graphite2                 1.3.13            hf484d3e_1000    conda-forge
gsl                       2.4               h294904e_1006    conda-forge
gstreamer                 1.14.5               h36ae1b5_0    conda-forge
harfbuzz                  2.4.0                h37c48d4_0    conda-forge
hdf4                      4.2.13            h9a582f1_1002    conda-forge
hdf5                      1.10.4          nompi_h3c11f04_1106    conda-forge
icu                       58.2              hf484d3e_1000    conda-forge
ipykernel                 5.1.1            py37h24bf2e0_0    conda-forge
ipython                   7.5.0            py37h24bf2e0_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
jedi                      0.13.3                   py37_0    conda-forge
jinja2                    2.10.1                     py_0    conda-forge
joblib                    0.13.2                     py_0    conda-forge
jpeg                      9c                h14c3975_1001    conda-forge
jsoncpp                   1.8.4             h6bb024c_1001    conda-forge
jsonschema                3.0.1                    py37_0    conda-forge
jupyter_client            5.2.4                      py_3    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
jupyterlab                0.35.6                   py37_0    conda-forge
jupyterlab_server         0.2.0                      py_0    conda-forge
kiwisolver                1.1.0            py37hc9558a2_0    conda-forge
krb5                      1.16.3            hc83ff2d_1000    conda-forge
libblas                   3.8.0               10_openblas    conda-forge
libcblas                  3.8.0               10_openblas    conda-forge
libcurl                   7.64.0               h01ee5af_0    conda-forge
libedit                   3.1.20170329      hf8c457e_1001    conda-forge
libffi                    3.2.1             he1b5a44_1006    conda-forge
libgcc-ng                 9.1.0                hdf63c60_0  
libgfortran-ng            7.3.0                hdf63c60_0  
libglu                    9.0.0             hf484d3e_1000    conda-forge
libiconv                  1.15              h516909a_1005    conda-forge
liblapack                 3.8.0               10_openblas    conda-forge
liblapacke                3.8.0               10_openblas    conda-forge
libnetcdf                 4.6.2             hbdf4f91_1001    conda-forge
libogg                    1.3.2             h14c3975_1001    conda-forge
libpng                    1.6.37               hed695b0_0    conda-forge
libsodium                 1.0.16            h14c3975_1001    conda-forge
libssh2                   1.8.0             h1ad7b7a_1003    conda-forge
libstdcxx-ng              9.1.0                hdf63c60_0  
libtheora                 1.1.1             h14c3975_1001    conda-forge
libtiff                   4.0.10            h648cc4a_1001    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libvorbis                 1.3.5             h14c3975_1001    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxml2                   2.9.9                h13577e0_0    conda-forge
libxslt                   1.1.32            h4785a14_1002    conda-forge
lxml                      4.3.4            py37h7ec2d77_0    conda-forge
lz4-c                     1.8.3             he1b5a44_1001    conda-forge
markupsafe                1.1.1            py37h14c3975_0    conda-forge
matplotlib                3.1.0                    py37_1    conda-forge
matplotlib-base           3.1.0            py37hfd891ef_1    conda-forge
meshpy                    2018.2.1        py37h637b7d7_1000    conda-forge
mistune                   0.8.4           py37h14c3975_1000    conda-forge
mpi                       1.0                     openmpi    conda-forge
multipledispatch          0.6.0                    pypi_0    pypi
nbconvert                 5.5.0                      py_0    conda-forge
nbformat                  4.4.0                      py_1    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
netgen                    6.2.1808        py37he2627c0_1006    conda-forge
nine                      1.0.0                    pypi_0    pypi
nomkl                     3.0                           0  
notebook                  5.7.8                    py37_1    conda-forge
numpy                     1.16.4           py37h95a1406_0    conda-forge
occt                      7.3.0             h3be52bf_1004    conda-forge
openblas                  0.3.6                h6e990d7_2    conda-forge
openglider                0.0.1                     py_17    openglider
openmpi                   4.0.1                hc99cbb1_1    conda-forge
openssl                   1.0.2r               h14c3975_0    conda-forge
pandas                    0.24.2           py37hb3f55d8_0    conda-forge
pandoc                    2.7.2                         0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
pango                     1.40.14           h4ea9474_1004    conda-forge
parabem                   0.1.0            py37h6bb024c_0    conda-forge
parso                     0.4.0                      py_0    conda-forge
patsy                     0.5.1                      py_0    conda-forge
pcre                      8.41              hf484d3e_1003    conda-forge
perl                      5.26.2            h516909a_1006    conda-forge
pexpect                   4.7.0                    py37_0    conda-forge
pickleshare               0.7.5                 py37_1000    conda-forge
pip                       19.1.1                   py37_0    conda-forge
pivy                      0.6.5a2          py37hc9558a2_0    conda-forge
pixman                    0.34.0            h14c3975_1003    conda-forge
prometheus_client         0.7.0                      py_0    conda-forge
prompt_toolkit            2.0.9                      py_0    conda-forge
pthread-stubs             0.4               h14c3975_1001    conda-forge
ptyprocess                0.6.0                   py_1001    conda-forge
pygments                  2.4.2                      py_0    conda-forge
pyopengl                  3.1.3b2                    py_1    conda-forge
pyparsing                 2.4.0                      py_0    conda-forge
pyqt                      5.6.0           py37h13b7fb3_1008    conda-forge
pyrr                      0.10.3                   pypi_0    pypi
pyrsistent                0.15.2           py37h516909a_0    conda-forge
pyside2                   5.6.0a1         py37h62b865f_1005    conda-forge
python                    3.7.1             hd21baee_1001    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
pytools                   2019.1.1                   py_0    conda-forge
pytz                      2019.1                     py_0    conda-forge
pyyaml                    5.1.1            py37h516909a_0    conda-forge
pyzmq                     18.0.1           py37hc4ba49a_1    conda-forge
qt                        5.6.2             hce4f676_1013    conda-forge
qt-py                     1.1.0                    pypi_0    pypi
readline                  7.0               hf8c457e_1001    conda-forge
scikit-learn              0.21.2           py37h627018c_0    conda-forge
scipy                     1.3.0            py37h921218d_0    conda-forge
seaborn                   0.9.0                      py_1    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                41.0.1                   py37_0    conda-forge
simage                    1.7.0             hdf6d8bc_1005    conda-forge
sip                       4.19.13          py37he1b5a44_0    conda-forge
six                       1.12.0                py37_1000    conda-forge
smesh                     8.3.0.2              hc985a28_4    conda-forge
smmap2                    2.0.5                      py_0    conda-forge
soqt                      1.6.0a            hc9558a2_1002    conda-forge
sqlite                    3.28.0               h8b20d00_0    conda-forge
statsmodels               0.10.0rc2+18.g744f6cb0b          pypi_0    pypi
svgwrite                  1.2.1                      py_0    conda-forge
tbb                       2019.7               hc9558a2_0    conda-forge
terminado                 0.8.2                    py37_0    conda-forge
testpath                  0.4.2                   py_1001    conda-forge
tk                        8.6.9             hed695b0_1002    conda-forge
tornado                   6.0.2            py37h516909a_0    conda-forge
traitlets                 4.3.2                 py37_1000    conda-forge
vtk                       8.2.0           py37ha8e561a_201    conda-forge
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.33.4                   py37_0    conda-forge
xerces-c                  3.2.2             hac72e42_1001    conda-forge
xorg-fixesproto           5.0               h14c3975_1002    conda-forge
xorg-inputproto           2.3.2             h14c3975_1002    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.9             h516909a_1004    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.7             h14c3975_1000    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxfixes            5.0.3             h516909a_1004    conda-forge
xorg-libxi                1.7.9             h516909a_1002    conda-forge
xorg-libxmu               1.1.3                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-libxt                1.1.5             h14c3975_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.4             h14c3975_1001    conda-forge
yaml                      0.1.7             h14c3975_1001    conda-forge
zeromq                    4.3.1             hf484d3e_1000    conda-forge
zlib                      1.2.11            h14c3975_1004    conda-forge
zstd                      1.4.0                h3b9ef0a_0    conda-forge

User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Solved] Ticket #3852 - generic VTK warning in python 3 build

Post by Kunda1 »

Closed ticket and marked thread as [Solved]
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply