error "No module named siconos.fclib" in WSL-Ubuntu terminal

Dear Sir,
I was able to install SICONOS in my system.
Initially, I gave PATH to the WSl Ubuntu in windows 10 using this command: export PATH="$/usr/local/bin:$PATH"
Then, I started to run this example: rockfall_from_dem.py as provided inside the RockFall folder inside examples
I run the example using command siconos rockfall_from_dem.py
And i am getting this error:
rk@DESKTOP-KAJKFD6:/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0/examples/examples/mechanics/RockFall$ siconos rockfall_from_dem.py
|===========================================================|
| Siconos software, version 4.4.0 - Copyright 2022 INRIA    |
|                                                           |
| Free software under Apache 2.0 License.                   |
|===========================================================|
[ run /usr/bin/python3.8 /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0/examples/examples/mechanics/RockFall/rockfall_from_dem.py ]
No module named siconos.fclib.
[mechanics_run] WARNING: Bullet is the collision backendbut the module siconos.mechanics.collision.bulletcan not be imported. Check your installation.
<terrain.terrain object at 0x7f3ec116f250> (400.0, 557.5)
Traceback (most recent call last):
File "/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0/examples/examples/mechanics/RockFall/rockfall_from_dem.py", line 60, in
ch = ConvexHull(polyhedron_vertices)
File "/usr/local/lib/python3.8/dist-packages/siconos/mechanics/collision/convexhull.py", line 111, in init
from pyhull.convex_hull import ConvexHull as pyhull_ch
ModuleNotFoundError: No module named 'pyhull'
Traceback (most recent call last):
File "/usr/local/bin/siconos", line 826, in
main()
File "/usr/local/bin/siconos", line 179, in main
run_command(cmd, args.quiet, env)
File "/usr/local/bin/siconos", line 799, in run_command
subprocess.run(command, check=True, **extra_args)
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/python3.8', '/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0/examples/examples/mechanics/RockFall/rockfall_from_dem.py']' returned non-zero exit status 1.
Kindly help me with this.
Regards,
Raj

Hi,
fclib is a dependency of siconos (https://github.com/FrictionalContactLibrary/fclib) that is usually automatically installed during Siconos setup (cmake). Something must have gone wrong for you during the process.
When all is properly installed you must be able to run
python3 -c  "import siconos.fclib; print(siconos.fclib)"
to check where fclib python package is.
So, to check where and when something failed, can you please:

show me which cmake command you used to install siconos
try to find in the screen outputs of this command the lines following "-- Start setup for fclib ..."
Thanks

Hi,
The module fclib is not mandatory. If you do not install it, it is not important.
For pyhull, you need to install th python package with pip for instance
python3 -m pip install pyhull

Most importantly you need to install siconos with Bullet3 if you want to run rockfall_from_dem.py example. For that,  you need to add
-DWITH_BULLET=ON

to your cmake execution
If you want the siconos installation can also download and install Bullet3 for you by  adding
-DBULLET_INSTALL=ON

best

Dear Sir,
Thanks for your reply.
I have cloned bullet3 using this command in the home directory of ubuntu WSL.
git clone https://github.com/bulletphysics/bullet3.git
after this, i build the bullet using these commands:
cd bullet3
$ ./build_cmake_pybullet_double.sh
after few minutes result on my terminal screen was:
Completed build of Bullet
After this I cd to a new build directory for my siconos installation
and used cmake command to build the siconos as:
rk@DESKTOP-KAJKFD6:/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/build$ cmake /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0 -DBullet_ROOT="/home/rk/bullet3/build_cmake"
configuration was complete but found written on my terminal as:
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
Bullet_ROOT

-- Build files have been written to: /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/build
Should i continue with make command to install siconos or NOT ??
Kindly reply as soon as possible
Regards,
Raj Kiran
attached 1)installation .txt file of bullet3 2) during cmake process  .txt file of siconos
bullet3_16-9-2022.txt
cmake_siconos__16-9-2022.txt

Hi,
to activate bullet interface inside Siconos, you need to turn a specific variable to on. The usual and easiest way to do so is to
add a reference to a siconos_options file to the configure line. Some are available in siconos repository, in ci_gitlab/siconos_confs.
I suggest you to have a look to ci_gitlab/siconos_confs/siconos_default.cmake and to use it like this
cmake -DUSER_OPTIONS_FILE=/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0/siconos_default.cmake /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0 -DBullet_ROOT=where-bullet-is-installed
then Bullet_ROOT will be taken into account.
Moreover,  I’m not sure that using the build path of bullet as an installation dir will work properly. So I suggest you to run make install where you build bullet to complete the installation.
Best regards

Le 17 sept. 2022 à 16:13, RAJ KIRAN DHIMAN @.***> a écrit :
Dear Sir,
Thanks for your reply.
I have cloned bullet3 using this command in the home directory of ubuntu WSL.
git clone https://github.com/bulletphysics/bullet3.git https://github.com/bulletphysics/bullet3.git
after this, i build the bullet using these commands:
cd bullet3
$ ./build_cmake_pybullet_double.sh
after few minutes result on my terminal screen was:
Completed build of Bullet
After this I cd to a new build directory for my siconos installation
and used cmake command to build the siconos as:
@.***:/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/build$ cmake /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0 -DBullet_ROOT="/home/rk/bullet3/build_cmake"
configuration was complete but found written on my terminal as:
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
Bullet_ROOT
-- Build files have been written to: /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/build
Should i continue with make command to install siconos or NOT ??
Kindly reply as soon as possible
Regards,
Raj Kiran
attached 1)installation .txt file of bullet3 2) during cmake process .txt file of siconos
bullet3_16-9-2022.txt https://github.com/siconos/siconos/files/9591868/bullet3_16-9-2022.txt
cmake_siconos__16-9-2022.txt https://github.com/siconos/siconos/files/9591869/cmake_siconos__16-9-2022.txt
—
Reply to this email directly, view it on GitHub https://github.com/siconos/siconos/issues/462#issuecomment-1250078899, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3OYUZPDVLM3QUERWBXB23V6XGYVANCNFSM6AAAAAAQKUSSZ4.
You are receiving this because you commented.

Dear Sir,
Firstly i installed the bullet3 using make install command in the build directory.
and everything went well.
After this,
I used cmake command to build the siconos using the command as provided by you:
cmake -DUSER_OPTIONS_FILE=/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0/siconos_default.cmake /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0 -DBullet_ROOT=/home/rk/bullet3/build_cmake
after this configuration was completed and then i use make -j 16 and sudo make install commands to install the siconos.
after full installation some error was there although installation was completed (full installation file is attached as make_install_20-09-2022.txt file).
after this i closed the terminal and opened again in the Rockfall example folder.
I wrote siconos rockfall_from_dem.py on the terminal to run the example but got some error (attached rockfall_from_dem_run_20-09-2022.txt file).
Kindly review the error so that i can proceed with my work specifically related to rockfall modeling.
I have one major doubt that before making cmake command today i just deleted the all files of build folder for siconos, however i don't know how to reverse the previous make command of siconos installation. even after this whole siconos is installed again. My question is can this disturb my recent  installation where i get some error in the end of make install command (check attached make_install_20-09-2022.txt file).
Regards,
Raj
rockfall_from_dem_run_20-09-2022.txt
make_install_20-09-2022.txt

Hi,
considering the cmake part in make_install_20-09-2022.txt https://github.com/siconos/siconos/files/9606707/make_install_20-09-2022.txt :

it seems that fclib is now installed properly
it writes :  - Found Bullet: /usr/local/lib/libBulletDynamics.so
so you don’t need to specify -DBullet_ROOT=/home/rk/bullet3/build_cmake in siconos cmake line : first it’s a bad idea to use build path (instead of install) as reference and second bullet is installed in /usr/local and has been found automatically

considering now the build part  in make_install_20-09-2022.txt https://github.com/siconos/siconos/files/9606707/make_install_20-09-2022.txt, the build process failed with many errors like
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btGImpactMeshShape::calculateLocalInertia(float, btVector3&) const' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btHeightfieldTerrainShape::btHeightfieldTerrainShape(int, int, void const*, float, float, float, int, PHY_ScalarType, bool)'
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btConeShape::btConeShape(float, float)' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btConvexHullShape::btConvexHullShape(float const*, int, int)'
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to `btHeightfieldTerrainShape::calculateLocalInertia(float, btVector3&) const'
So even if you run make install, this can not work.
Either some symbols (or libraries) are missing in your Bullet install or the linking process with Bullet in Siconos failed.
One possible explanation is the bullet version.
Can you please

check the content of  /usr/local/ and list all Bullet libraries
check the file /usr/local/lib/cmake/bullet/BulletConfig.cmake and the value in the line starting with set ( BULLET_VERSION_STRING « … » )

Le 20 sept. 2022 à 12:46, RAJ KIRAN DHIMAN @.***> a écrit :
Dear Sir,
Firstly i installed the bullet3 using make install command in the build directory.
and everything went well.
After this,
I used cmake command to build the siconos using the command as provided by you:
cmake -DUSER_OPTIONS_FILE=/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0/siconos_default.cmake /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0 -DBullet_ROOT=/home/rk/bullet3/build_cmake
after this configuration was completed and then i use make -j 16 and sudo make install commands to install the siconos.
after full installation some error was there although installation was completed (full installation file is attached as make_install_20-09-2022.txt file).
after this i closed the terminal and opened again in the Rockfall example folder.
I wrote siconos rockfall_from_dem.py on the terminal to run the example but got some error (attached rockfall_from_dem_run_20-09-2022.txt file).
Kindly review the error so that i can proceed with my work specifically related to rockfall modeling.
I have one major doubt that before making cmake command today i just deleted the all files of build folder for siconos, however i don't know how to reverse the previous make command of siconos installation. even after this whole siconos is installed again. My question is can this disturb my recent installation where i get some error in the end of make install command (check attached make_install_20-09-2022.txt file).
Regards,
Raj
rockfall_from_dem_run_20-09-2022.txt https://github.com/siconos/siconos/files/9606705/rockfall_from_dem_run_20-09-2022.txt
make_install_20-09-2022.txt https://github.com/siconos/siconos/files/9606707/make_install_20-09-2022.txt
—
Reply to this email directly, view it on GitHub https://github.com/siconos/siconos/issues/462#issuecomment-1252173193, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3OYU4XHW7TMMVR4CFXPWTV7GIZ3ANCNFSM6AAAAAAQKUSSZ4.
You are receiving this because you commented.

Dear Sir,
I checked Bullet libraries in /usr/local/lib as shown below:
rk@DESKTOP-KAJKFD6:/usr/local$ cd lib
rk@DESKTOP-KAJKFD6:/usr/local/lib$ ls
cmake                          libBulletExampleBrowserLib.so          libBulletXmlWorldImporter.so.3.25  libsiconos_externals.so.6
libBullet2FileLoader.so        libBulletExampleBrowserLib.so.3.25     libBussIK.so                       libsiconos_externals.so.6.0.0
libBullet2FileLoader.so.3.25   libBulletFileLoader.so libConvexDecomposition.so          libsiconos_io.so
libBullet3Collision.so         libBulletFileLoader.so.3.25            libConvexDecomposition.so.3.25     libsiconos_io.so.6
libBullet3Collision.so.3.25    libBulletInverseDynamics.so libGIMPACTUtils.so                 libsiconos_io.so.6.0.0
libBullet3Common.so            libBulletInverseDynamics.so.3.25       libGIMPACTUtils.so.3.25            libsiconos_kernel.so
libBullet3Common.so.3.25       libBulletInverseDynamicsUtils.so libHACD.so                         libsiconos_kernel.so.6
libBullet3Dynamics.so          libBulletInverseDynamicsUtils.so.3.25  libHACD.so.3.25                    libsiconos_kernel.so.6.0.0
libBullet3Dynamics.so.3.25     libBulletRobotics.so libLinearMath.so                   libsiconos_mechanics.so
libBullet3Geometry.so          libBulletRobotics.so.3.25              libLinearMath.so.3.25              libsiconos_mechanics.so.6
libBullet3Geometry.so.3.25     libBulletRoboticsGUI.so libOpenGLWindow.so                 libsiconos_mechanics.so.6.0.0
libBullet3OpenCL_clew.so       libBulletRoboticsGUI.so.3.25           libclsocket.a                      libsiconos_numerics.so
libBullet3OpenCL_clew.so.3.25  libBulletSoftBody.so libgwen.so                         libsiconos_numerics.so.6
libBulletCollision.so          libBulletSoftBody.so.3.25              libsiconos_control.so              libsiconos_numerics.so.6.0.0
libBulletCollision.so.3.25     libBulletWorldImporter.so              libsiconos_control.so.6            pkgconfig
libBulletDynamics.so           libBulletWorldImporter.so.3.25         libsiconos_control.so.6.0.0        python2.7
libBulletDynamics.so.3.25      libBulletXmlWorldImporter.so           libsiconos_externals.so            python3.8
version of Bullet is 3.22
I have downloaded bullet from http://github.com/bulletphysics/bullet3 this link.
What should i do next ?
Shall i build and make install siconos without the DROOT line ?
Regards,
Raj

Dear Sir,
I installed siconos without -DROOT command and everything went well without any error.
I gave path to siconos as export PATH="$/usr/local/bin:$PATH"
but getting an error which is attached as rockfall_from_dem_run_21-09-2022.txt file.
Kindly check.
Regards,
Raj
rockfall_from_dem_run_21-09-2022.txt

Hi,
well, the bullet part seems to be perfectly right.
I suspect a mess in the python install that leads to this import error.
Reading the outputs you gave me (from your cmake install), I notice that :

/usr/bin/python3.8 is used  with some packages in /usr/lib/python3/dist-packages/ (e.g. scipy or packaging)
some packages are in /home/rk/.local/lib/python3.8/site-packages (e.g. pyhull)
siconos in /usr/local/lib/python3.8/dist-packages

If everything iso alright, in the directory /usr/local/lib/python3.8/dist-packages/siconos/mechanics/collision, you must have something like :
init.py   _pybase.so    _pybullet.so  base.py bullet.py native.py
pycache   _pybodies.so  _pynative.so  bodies.py convexhull.py tools.py
with both the py and so files.
I think that so or py files should be missing in your case. Can you check that ?
They are probably in  /usr/local/lib/python3.8/site-packages or /home/rk/.local/lib/python3.8/site-packages ?
And lastly, can you run :

updated (maybe you need to install locate package, apt install locate)
locate _pybodies.so
locate bodies.py

Le 21 sept. 2022 à 15:32, RAJ KIRAN DHIMAN @.***> a écrit :
Dear Sir,
I installed siconos without -DROOT command and everything went well without any error.
I gave path to siconos as export PATH="$/usr/local/bin:$PATH"
but getting an error which is attached as rockfall_from_dem_run_21-09-2022.txt file.
Kindly check.
Regards,
Raj
rockfall_from_dem_run_21-09-2022.txt https://github.com/siconos/siconos/files/9617000/rockfall_from_dem_run_21-09-2022.txt
—
Reply to this email directly, view it on GitHub https://github.com/siconos/siconos/issues/462#issuecomment-1253717102, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3OYU7H5UVXXQHOO6IPNZ3V7ME5BANCNFSM6AAAAAAQKUSSZ4.
You are receiving this because you commented.

Dear Sir,
In the directory /usr/local/lib/python3.8/dist-packages/siconos/mechanics/collision I did not found these .so files:
_pybase.so _pybullet.so _pybodies.so _pynative.so
all other packages as mentioned by you were present.
I have checked in the /usr/local/lib/python3.8/site-packages
and i could not find these missing packages,i found pybullet.so and  pybullet.so.3.25 packages only.
I have checked in the /home/rk/.local/lib/python3.8/site-packages
and could not find these missing packages. But i found pyhull there as you noticed.
What should i do ?
Regards,
Raj K

and if you  run
locate _pybodies.so
do you get something ?

Le 23 sept. 2022 à 11:48, RAJ KIRAN DHIMAN @.***> a écrit :
Dear Sir,
In the directory /usr/local/lib/python3.8/dist-packages/siconos/mechanics/collision I did not found these .so files:
_pybase.so _pybullet.so _pybodies.so _pynative.so
all other packages as mentioned by you were present.
I have checked in the /usr/local/lib/python3.8/site-packages
and i could not find these missing packages,i found pybullet.so and pybullet.so.3.25 packages only.
I have checked in the /home/rk/.local/lib/python3.8/site-packages
and could not find these missing packages. But i found pyhull there as you noticed.
What should i do ?
Regards,
Raj K
—
Reply to this email directly, view it on GitHub https://github.com/siconos/siconos/issues/462#issuecomment-1256006161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3OYU3S5MG7WCJ7S2NA6DDV7V4GRANCNFSM6AAAAAAQKUSSZ4.
You are receiving this because you commented.

Sir, I installed locate package and then run locate _pybodies.so and did not find anything
check:
rk@DESKTOP-KAJKFD6:~$ sudo apt-get update
[sudo] password for rk:
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2113 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1740 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [292 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [375 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [11.1 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [16.0 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1200 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [170 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [728 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1288 kB]
Get:15 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [134 kB]
Get:16 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [15.1 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [182 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [955 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [219 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [21.6 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.4 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [23.9 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [860 B]
Fetched 9845 kB in 11s (932 kB/s)
Reading package lists... Done
rk@DESKTOP-KAJKFD6:~$ sudo apt install locate
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
dvisvgm fonts-lmodern gsfonts icu-devtools imagemagick-6-common libann0 libapache-pom-java libauthen-sasl-perl libboost-atomic-dev
libboost-atomic1.71-dev libboost-atomic1.71.0 libboost-chrono-dev libboost-chrono1.71-dev libboost-chrono1.71.0 libboost-container-dev
libboost-container1.71-dev libboost-container1.71.0 libboost-context-dev libboost-context1.71-dev libboost-context1.71.0
libboost-coroutine-dev libboost-coroutine1.71-dev libboost-coroutine1.71.0 libboost-date-time-dev libboost-date-time1.71-dev
libboost-date-time1.71.0 libboost-dev libboost-exception-dev libboost-exception1.71-dev libboost-fiber-dev libboost-fiber1.71-dev
libboost-fiber1.71.0 libboost-filesystem-dev libboost-filesystem1.71-dev libboost-filesystem1.71.0 libboost-graph-dev libboost-graph1.71-dev
libboost-graph1.71.0 libboost-iostreams-dev libboost-iostreams1.71-dev libboost-iostreams1.71.0 libboost-locale-dev libboost-locale1.71-dev
libboost-locale1.71.0 libboost-log-dev libboost-log1.71-dev libboost-log1.71.0 libboost-math-dev libboost-math1.71-dev libboost-math1.71.0
libboost-numpy-dev libboost-numpy1.71-dev libboost-numpy1.71.0 libboost-program-options-dev libboost-program-options1.71-dev
libboost-program-options1.71.0 libboost-python-dev libboost-python1.71-dev libboost-python1.71.0 libboost-random-dev libboost-random1.71-dev
libboost-random1.71.0 libboost-regex-dev libboost-regex1.71-dev libboost-regex1.71.0 libboost-serialization-dev libboost-serialization1.71-dev
libboost-serialization1.71.0 libboost-stacktrace-dev libboost-stacktrace1.71-dev libboost-stacktrace1.71.0 libboost-system-dev
libboost-system1.71-dev libboost-system1.71.0 libboost-test-dev libboost-test1.71-dev libboost-test1.71.0 libboost-thread-dev
libboost-thread1.71-dev libboost-timer-dev libboost-timer1.71-dev libboost-timer1.71.0 libboost-tools-dev libboost-type-erasure-dev
libboost-type-erasure1.71-dev libboost-type-erasure1.71.0 libboost-wave-dev libboost-wave1.71-dev libboost-wave1.71.0 libboost1.71-dev
libboost1.71-tools-dev libcdt5 libcgraph6 libcommons-logging-java libcommons-parent-java libdata-dump-perl libdjvulibre-text libdjvulibre21
libencode-locale-perl libfftw3-double3 libfile-basedir-perl libfile-desktopentry-perl libfile-listing-perl libfile-mimeinfo-perl
libfont-afm-perl libfontbox-java libfwupdplugin1 libgts-0.7-5 libgts-bin libgvpr2 libhtml-form-perl libhtml-format-perl libhtml-parser-perl
libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl
libicu-dev libilmbase24 libio-html-perl libio-socket-ssl-perl libio-stringy-perl libipc-system-simple-perl libkpathsea6 liblab-gamut1
liblqr-1-0 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libnet-dbus-perl libnet-http-perl libnet-smtp-ssl-perl
libnet-ssleay-perl libnetpbm10 libopenexr24 libpathplan4 libpdfbox-java libptexenc1 libsynctex2 libteckit0 libtexlua53 libtexluajit2
libtie-ixhash-perl libtimedate-perl libtry-tiny-perl liburi-perl libwww-perl libwww-robotrules-perl libx11-protocol-perl libxml-parser-perl
libxml-twig-perl libxml-xpathengine-perl libzzip-0-13 lmodern netpbm perl-openssl-defaults preview-latex-style t1utils tex-common tex-gyre
xbitmaps xdg-utils
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
locate
0 upgraded, 1 newly installed, 0 to remove and 35 not upgraded.
Need to get 85.3 kB of archives.
After this operation, 265 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 locate amd64 4.7.0-1ubuntu1 [85.3 kB]
Fetched 85.3 kB in 1s (58.6 kB/s)
Selecting previously unselected package locate.
(Reading database ... 113981 files and directories currently installed.)
Preparing to unpack .../locate_4.7.0-1ubuntu1_amd64.deb ...
Unpacking locate (4.7.0-1ubuntu1) ...
Setting up locate (4.7.0-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
rk@DESKTOP-KAJKFD6:~$ locate _pybodies.so
rk@DESKTOP-KAJKFD6:~$ locate bodies.py
rk@DESKTOP-KAJKFD6:~$

Le 23 sept. 2022 à 13:09, RAJ KIRAN DHIMAN @.***> a écrit :
Sir, I installed locate package and then run locate _pybodies.so and did not find anything

ok, it means that the installation failed, but I can not understand why.
We can try to start again all the process …

run make uninstall in your build directory
remove completely your build directory
try to remove all siconos files (try for example ‘locate siconos’ and remove all files but the siconos source repository)
be sure to download and use the siconos_default.cmake joined to this mail
run
cmake -DUSER_OPTIONS_FILE=PATH-TO/siconos_default.cmake  PATH-TO-siconos-repository
make -j ..

sudo make install
Check each steps for some errors messages.

check:
@.:$ sudo apt-get update
[sudo] password for rk:
Hit:1 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:3 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2113 kB]
Get:6 http://security.ubuntu.com/ubuntu http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1740 kB]
Get:7 http://security.ubuntu.com/ubuntu http://security.ubuntu.com/ubuntu focal-security/main Translation-en [292 kB]
Get:8 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [375 kB]
Get:9 http://security.ubuntu.com/ubuntu http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [11.1 kB]
Get:10 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [16.0 kB]
Get:11 http://security.ubuntu.com/ubuntu http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1200 kB]
Get:12 http://security.ubuntu.com/ubuntu http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [170 kB]
Get:13 http://security.ubuntu.com/ubuntu http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [728 kB]
Get:14 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1288 kB]
Get:15 http://security.ubuntu.com/ubuntu http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [134 kB]
Get:16 http://security.ubuntu.com/ubuntu http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [15.1 kB]
Get:17 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [182 kB]
Get:18 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [955 kB]
Get:19 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [219 kB]
Get:20 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [21.6 kB]
Get:21 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.4 kB]
Get:22 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [23.9 kB]
Get:23 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [860 B]
Fetched 9845 kB in 11s (932 kB/s)
Reading package lists... Done
@.:$ sudo apt install locate
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
dvisvgm fonts-lmodern gsfonts icu-devtools imagemagick-6-common libann0 libapache-pom-java libauthen-sasl-perl libboost-atomic-dev
libboost-atomic1.71-dev libboost-atomic1.71.0 libboost-chrono-dev libboost-chrono1.71-dev libboost-chrono1.71.0 libboost-container-dev
libboost-container1.71-dev libboost-container1.71.0 libboost-context-dev libboost-context1.71-dev libboost-context1.71.0
libboost-coroutine-dev libboost-coroutine1.71-dev libboost-coroutine1.71.0 libboost-date-time-dev libboost-date-time1.71-dev
libboost-date-time1.71.0 libboost-dev libboost-exception-dev libboost-exception1.71-dev libboost-fiber-dev libboost-fiber1.71-dev
libboost-fiber1.71.0 libboost-filesystem-dev libboost-filesystem1.71-dev libboost-filesystem1.71.0 libboost-graph-dev libboost-graph1.71-dev
libboost-graph1.71.0 libboost-iostreams-dev libboost-iostreams1.71-dev libboost-iostreams1.71.0 libboost-locale-dev libboost-locale1.71-dev
libboost-locale1.71.0 libboost-log-dev libboost-log1.71-dev libboost-log1.71.0 libboost-math-dev libboost-math1.71-dev libboost-math1.71.0
libboost-numpy-dev libboost-numpy1.71-dev libboost-numpy1.71.0 libboost-program-options-dev libboost-program-options1.71-dev
libboost-program-options1.71.0 libboost-python-dev libboost-python1.71-dev libboost-python1.71.0 libboost-random-dev libboost-random1.71-dev
libboost-random1.71.0 libboost-regex-dev libboost-regex1.71-dev libboost-regex1.71.0 libboost-serialization-dev libboost-serialization1.71-dev
libboost-serialization1.71.0 libboost-stacktrace-dev libboost-stacktrace1.71-dev libboost-stacktrace1.71.0 libboost-system-dev
libboost-system1.71-dev libboost-system1.71.0 libboost-test-dev libboost-test1.71-dev libboost-test1.71.0 libboost-thread-dev
libboost-thread1.71-dev libboost-timer-dev libboost-timer1.71-dev libboost-timer1.71.0 libboost-tools-dev libboost-type-erasure-dev
libboost-type-erasure1.71-dev libboost-type-erasure1.71.0 libboost-wave-dev libboost-wave1.71-dev libboost-wave1.71.0 libboost1.71-dev
libboost1.71-tools-dev libcdt5 libcgraph6 libcommons-logging-java libcommons-parent-java libdata-dump-perl libdjvulibre-text libdjvulibre21
libencode-locale-perl libfftw3-double3 libfile-basedir-perl libfile-desktopentry-perl libfile-listing-perl libfile-mimeinfo-perl
libfont-afm-perl libfontbox-java libfwupdplugin1 libgts-0.7-5 libgts-bin libgvpr2 libhtml-form-perl libhtml-format-perl libhtml-parser-perl
libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl
libicu-dev libilmbase24 libio-html-perl libio-socket-ssl-perl libio-stringy-perl libipc-system-simple-perl libkpathsea6 liblab-gamut1
liblqr-1-0 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libnet-dbus-perl libnet-http-perl libnet-smtp-ssl-perl
libnet-ssleay-perl libnetpbm10 libopenexr24 libpathplan4 libpdfbox-java libptexenc1 libsynctex2 libteckit0 libtexlua53 libtexluajit2
libtie-ixhash-perl libtimedate-perl libtry-tiny-perl liburi-perl libwww-perl libwww-robotrules-perl libx11-protocol-perl libxml-parser-perl
libxml-twig-perl libxml-xpathengine-perl libzzip-0-13 lmodern netpbm perl-openssl-defaults preview-latex-style t1utils tex-common tex-gyre
xbitmaps xdg-utils
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
locate
0 upgraded, 1 newly installed, 0 to remove and 35 not upgraded.
Need to get 85.3 kB of archives.
After this operation, 265 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu http://archive.ubuntu.com/ubuntu focal/universe amd64 locate amd64 4.7.0-1ubuntu1 [85.3 kB]
Fetched 85.3 kB in 1s (58.6 kB/s)
Selecting previously unselected package locate.
(Reading database ... 113981 files and directories currently installed.)
Preparing to unpack .../locate_4.7.0-1ubuntu1_amd64.deb ...
Unpacking locate (4.7.0-1ubuntu1) ...
Setting up locate (4.7.0-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
@.:$ locate _pybodies.so
@.:$ locate bodies.py
@.***:~$
—
Reply to this email directly, view it on GitHub https://github.com/siconos/siconos/issues/462#issuecomment-1256079438, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3OYU3ZHVYFQNFJ5XMKTKLV7WFYNANCNFSM6AAAAAAQKUSSZ4.
You are receiving this because you commented.

Dear Sir,
You mentioned siconos_default.cmake file is attached to this mail. But there is no such file attached to the mail !!
Or you were asking to use the siconos_default.cmake file already present in the siconos repository files folder ?

Dear Sir,
As suggested by you,
i run make uninstall command in build directory and everything went well.
i completely removed build directory and made new build folder.
i also searched locate siconos and nothing was there.
in the build directory i applied this command,
rk@DESKTOP-KAJKFD6:/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/build$ cmake -DUSER_OPTIONS_FILE=/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0/siconos_default.cmake /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0 -DWITH_BULLET=ON
in the end some error was there attached as make_install_24-09-2022 and make_install_24-09-2022_2
Kindly check.
Regards,
RK
make_install_24-09-2022.txt
make_install_24-09-2022_2.txt

Dear Sir,
I uninstalled ubuntu completely from the system and installed new ubuntu in my windows 10.
after this i installed all dependencies one by one for siconos installation in the home directory. When no error was found during cmake command, i finally run this cmake command as :
rk@DESKTOP-KAJKFD6:/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/build$ cmake -DUSER_OPTIONS_FILE=/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0/siconos_default.cmake /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0 -DWITH_BULLET=ON
everything went well and i run make -j 16 and sudo make install command
I am again getting this error in the end:
[100%] Linking CXX executable src/collision/native/test/MultiBodyTest
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btGImpactMeshShape::calculateLocalInertia(float, btVector3&) const' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btHeightfieldTerrainShape::btHeightfieldTerrainShape(int, int, void const*, float, float, float, int, PHY_ScalarType, bool)'
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btConeShape::btConeShape(float, float)' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btConvexHullShape::btConvexHullShape(float const*, int, int)'
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btHeightfieldTerrainShape::calculateLocalInertia(float, btVector3&) const' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btCollisionShape::getBoundingSphere(btVector3&, float&) const'
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btCapsuleShape::btCapsuleShape(float, float)' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btTriangleIndexVertexArray::btTriangleIndexVertexArray(int, int*, int, int, float*, int)'
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btCollisionShape::getContactBreakingThreshold(float) const' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btConvexHullComputer::compute(void const*, bool, int, int, float, float)'
collect2: error: ld returned 1 exit status
I have attached this file also as make_install_26-09-2022.txt file.
Kindly guide me on this.
Regards,
RK
make_install_26-09-2022.txt

@rajkirandhiman can you also attach CMakeCache.txt and the log of running make VERBOSE=1

Hi,
here is the siconos_default.cmake
please use this one and the following cmake command
cmake -DUSER_OPTIONS_FILE=PATH_TO/siconos_default.cmake  PATH-TO-siconos-repository
And by the way, just to be sure, which version of siconos did you downloaded ? The master branch on GitHub ?

Le 26 sept. 2022 à 10:06, RAJ KIRAN DHIMAN @.***> a écrit :
Dear Sir,
I uninstalled ubuntu completely from the system and installed new ubuntu in my windows 10.
after this i installed all dependencies one by one for siconos installation in the home directory. When no error was found during cmake command, i finally run this cmake command as :
@.***:/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/build$ cmake -DUSER_OPTIONS_FILE=/mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0/siconos_default.cmake /mnt/f/H/RK/Project_Rockfall/tools/siconos-4.4.0/siconos-4.4.0 -DWITH_BULLET=ON
everything went well and i run make -j 16 and sudo make install command
I am again getting this error in the end:
[100%] Linking CXX executable src/collision/native/test/MultiBodyTest
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btGImpactMeshShape::calculateLocalInertia(float, btVector3&) const' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btHeightfieldTerrainShape::btHeightfieldTerrainShape(int, int, void const*, float, float, float, int, PHY_ScalarType, bool)'
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btConeShape::btConeShape(float, float)' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btConvexHullShape::btConvexHullShape(float const*, int, int)'
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btHeightfieldTerrainShape::calculateLocalInertia(float, btVector3&) const' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btCollisionShape::getBoundingSphere(btVector3&, float&) const'
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btCapsuleShape::btCapsuleShape(float, float)' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btTriangleIndexVertexArray::btTriangleIndexVertexArray(int, int*, int, int, float*, int)'
/usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btCollisionShape::getContactBreakingThreshold(float) const' /usr/bin/ld: libsiconos_mechanics.so.6.0.0: undefined reference to btConvexHullComputer::compute(void const*, bool, int, int, float, float)'
collect2: error: ld returned 1 exit status
I have attached this file also as make_install_26-09-2022.txt file.
Kindly guide me on this.
Regards,
RK
make_install_26-09-2022.txt https://github.com/siconos/siconos/files/9644215/make_install_26-09-2022.txt
—
Reply to this email directly, view it on GitHub https://github.com/siconos/siconos/issues/462#issuecomment-1257652632, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3OYU3NKEIB4PD72A6CUM3WAFKOZANCNFSM6AAAAAAQKUSSZ4.
You are receiving this because you commented.

@radarsat1  Dear Sir, Please find attached CMakeCache.txt file. As i could not find log of running make VERBOSE=1 file. However i have also attached the cmake command file as make_install_26-09-2022.txt

@fperignon Dear Sir, I could not see siconos_default.cmake file attached to this mail. Can you directly email me at<EMAIL_ADDRESS>Regards,
RK

@fperignon Sir, I am using siconos-4.4.0 version downloaded from git hub link: https://github.com/siconos/siconos/releases/tag/4.4.0

I took a look briefly at your txt file, but the problem is that it doesn't give all the flags of compilation, which you get if you log with VERBOSE=1.  We have to understand why it seems not to be linking the Bullet library.
can you try
make VERBOSE=1 >make_verbose_log.txt 2>&1

This should create a file called make_verbose_log.txt which you could attach here.
Meanwhile the CMakeCache.txt should also reveal something, unfortunately I don't see it attached.

@radarsat1 Dear Sir, Please find attached CMakeCache.txt file.
CMakeCache.txt

@radarsat1 Sir, Also find attached make_verbose_log.txt file.
make_verbose_log.txt

It looks like the bullet library is correctly identified in CMakeCache.txt, so that's good.  It finds these paths under /usr/local/lib, can you verify that these exist on your system?  What is the output of:
ls /usr/local/lib/libBullet*

As for make_vebose_log.txt, unfortunately the output seems truncated.  Can you try,
make clean

and then run again,
make VERBOSE=1 >make_verbose_log.txt 2>&1

@radarsat1 Output of ls /usr/local/lib/libBullet* is:
rk@DESKTOP-KAJKFD6:~$ ls /usr/local/lib/libBullet*
/usr/local/lib/libBullet2FileLoader.so       /usr/local/lib/libBullet3Geometry.so.3.22          /usr/local/lib/libBulletFileLoader.so                 /usr/local/lib/libBulletRoboticsGUI.so.3.22
/usr/local/lib/libBullet2FileLoader.so.3.22  /usr/local/lib/libBullet3OpenCL_clew.so            /usr/local/lib/libBulletFileLoader.so.3.22            /usr/local/lib/libBulletSoftBody.so
/usr/local/lib/libBullet3Collision.so        /usr/local/lib/libBullet3OpenCL_clew.so.3.22       /usr/local/lib/libBulletInverseDynamics.so            /usr/local/lib/libBulletSoftBody.so.3.22
/usr/local/lib/libBullet3Collision.so.3.22   /usr/local/lib/libBulletCollision.so               /usr/local/lib/libBulletInverseDynamics.so.3.22       /usr/local/lib/libBulletWorldImporter.so
/usr/local/lib/libBullet3Common.so           /usr/local/lib/libBulletCollision.so.3.22          /usr/local/lib/libBulletInverseDynamicsUtils.so       /usr/local/lib/libBulletWorldImporter.so.3.22
/usr/local/lib/libBullet3Common.so.3.22      /usr/local/lib/libBulletDynamics.so                /usr/local/lib/libBulletInverseDynamicsUtils.so.3.22  /usr/local/lib/libBulletXmlWorldImporter.so
/usr/local/lib/libBullet3Dynamics.so         /usr/local/lib/libBulletDynamics.so.3.22           /usr/local/lib/libBulletRobotics.so                   /usr/local/lib/libBulletXmlWorldImporter.so.3.22
/usr/local/lib/libBullet3Dynamics.so.3.22    /usr/local/lib/libBulletExampleBrowserLib.so       /usr/local/lib/libBulletRobotics.so.3.22
/usr/local/lib/libBullet3Geometry.so         /usr/local/lib/libBulletExampleBrowserLib.so.3.22  /usr/local/lib/libBulletRoboticsGUI.so

@radarsat1 Dear Sir,
System is creating make_verbose_log file. It is taking time. Once created i will share with you.

Dear @radarsat1 @fperignon  Thank you for your continuous support I was able to install siconos 5.5.0 and run the rockfall_from_dem.py file properly.
I downloaded siconos master package from https://github.com/siconos/siconos.git
and used it as a source to build the siconos using cmake user options command:
cmake -DUSER_OPTIONS_FILE=/mnt/f/H/RK/Project_Rockfall/tools/siconos-master/siconos-master/siconos_default.cmake /mnt/f/H/RK/Project_Rockfall/tools/siconos-master/siconos-master
i used siconos_default.cmake which was provided by @fperignon
after this evrything went well and i did make - j 16
followed by sudo make install
siconos was installed properly
make install file is attached as make_install-26-09-2022.txt
after running the rockfall_from_dem.py file i could see the results of velocities, positions and orientations online but i used
siconos_vview rockfall_from_dem.hdf5 command to visualize the results but got some error as:
rk@DESKTOP-KAJKFD6:/mnt/f/H/RK/Project_Rockfall/tools/siconos-master/siconos-master/siconos-tutorials-master/siconos-tutorials-master/examples/mechanics/RockFall$ siconos_vview rockfall_from_dem.hdf5
ERROR: In /build/vtk7-yd0MKW/vtk7-7.1.1+dfsg2/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 300
vtkXOpenGLRenderWindow (0x201e5e0): bad X server connection. DISPLAY=[DESKTOP-KAJKFD6:10459] *** Process received signal ***
[DESKTOP-KAJKFD6:10459] Signal: Aborted (6)
[DESKTOP-KAJKFD6:10459] Signal code:  (-6)
[DESKTOP-KAJKFD6:10459] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7f318407d090]
[DESKTOP-KAJKFD6:10459] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f318407d00b]
[DESKTOP-KAJKFD6:10459] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f318405c859]
[DESKTOP-KAJKFD6:10459] [ 3] /lib/x86_64-linux-gnu/libvtkRenderingOpenGL2-7.1.so.7.1p(+0x98bdf)[0x7f317e280bdf]
[DESKTOP-KAJKFD6:10459] [ 4] /lib/x86_64-linux-gnu/libvtkRenderingOpenGL2-7.1.so.7.1p(_ZN22vtkXOpenGLRenderWindow15GetDesiredDepthEv+0x12)[0x7f317e475f02]
[DESKTOP-KAJKFD6:10459] [ 5] /lib/x86_64-linux-gnu/libvtkRenderingOpenGL2-7.1.so.7.1p(_ZN26vtkXRenderWindowInteractor10InitializeEv+0x22d)[0x7f317e46904d]
[DESKTOP-KAJKFD6:10459] [ 6] /lib/x86_64-linux-gnu/libvtkRenderingCore-7.1.so.7.1p(_ZN25vtkRenderWindowInteractor5StartEv+0x34)[0x7f317f9e3584]
[DESKTOP-KAJKFD6:10459] [ 7] /lib/x86_64-linux-gnu/libvtkRenderingCorePython38D-7.1.so.7.1p(+0x22333d)[0x7f317fd0e33d]
[DESKTOP-KAJKFD6:10459] [ 8] /usr/bin/python3.8(PyCFunction_Call+0xfa)[0x5f69ca]
[DESKTOP-KAJKFD6:10459] [ 9] /usr/bin/python3.8(_PyObject_MakeTpCall+0x296)[0x5f74f6]
[DESKTOP-KAJKFD6:10459] [10] /usr/bin/python3.8(_PyEval_EvalFrameDefault+0x5dc4)[0x571164]
[DESKTOP-KAJKFD6:10459] [11] /usr/bin/python3.8(_PyFunction_Vectorcall+0x1b6)[0x5f6cd6]
[DESKTOP-KAJKFD6:10459] [12] /usr/bin/python3.8(_PyEval_EvalFrameDefault+0x85a)[0x56bbfa]
[DESKTOP-KAJKFD6:10459] [13] /usr/bin/python3.8(_PyEval_EvalCodeWithName+0x26a)[0x569dba]
[DESKTOP-KAJKFD6:10459] [14] /usr/bin/python3.8(PyEval_EvalCode+0x27)[0x6902a7]
[DESKTOP-KAJKFD6:10459] [15] /usr/bin/python3.8[0x67f951]
[DESKTOP-KAJKFD6:10459] [16] /usr/bin/python3.8[0x67f9cf]
[DESKTOP-KAJKFD6:10459] [17] /usr/bin/python3.8[0x67fa71]
[DESKTOP-KAJKFD6:10459] [18] /usr/bin/python3.8(PyRun_SimpleFileExFlags+0x197)[0x681b97]
[DESKTOP-KAJKFD6:10459] [19] /usr/bin/python3.8(Py_RunMain+0x212)[0x6b9d32]
[DESKTOP-KAJKFD6:10459] [20] /usr/bin/python3.8(Py_BytesMain+0x2d)[0x6ba0bd]
[DESKTOP-KAJKFD6:10459] [21] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f318405e083]
[DESKTOP-KAJKFD6:10459] [22] /usr/bin/python3.8(_start+0x2e)[0x5fc5fe]
[DESKTOP-KAJKFD6:10459] *** End of error message ***
Aborted
Kindly review,
Regards,
RK
make_install-26-09-2022.txt

oh no, seems to be some problem with using X applications from WSL.  Are you able to run other X applications?  (like xterm for example, or "glxgears" from the mesa-utils package)
Looking up "VTK WSL" there are a few hits.  For example, here it suggests to do,
export GL_ALWAYS_INDIRECT=0

I don't know much about WSL, but if it's not possible to run VTK from WSL, possibly you need to run it on the Windows side, which will require a Python and VTK installation on Windows outside of WSL.
It may also be possible to export the data to a different format that can be views with ParaView, using siconos_vexport.
At least I am happy that you got it compiled and running!

Dear @radarsat1 Thank you for your suggestion to use paraview. It is working properly.
I would like to extend my thanks to @radarsat1 @fperignon @vacary for your continuous support to install siconos and compile it properly.
Best Regards,
Raj Kiran

great to hear!


stale versions when running with setuptools

Zooko and I noticed (at Pycon, while versioneer-ifying pycryptopp) that the following sequence:

setup.py build
make some changes
setup.py install

resulted in installed code that had the right version string, but the copy in build/ was stale (I vaguely remember the code in build/ being updated but the version string remaining unmodified). I don't know exactly what was happening, but I remember it making me question my previous assumption that setup.py install would always execute setup.py build (and the associated versioneer hook) first.

This hit me again today when using setup.py install or develop on a top-level package (in this case, magic-wormhole) which depended upon a versioneer-enabled second package (spake2). With versioneer-0.12, the second package got a version of "unknown". With the current versioneer (0.14+, b28e729) it's worse: it gets the same version as the top-level package, which is really really broken.
It turns out that dependencies are handled by running setup.py bdist_egg on their unpacked tarballs, in a python process where the imports table has been hacked up to replace distutils with setuptools. So, as noted before, either the upcalls are going to the wrong place, or our overridden functions aren't getting called at all.

I think this should work now: a combination of deriving sdist from the right place (df3eb3e) and overriding build_py instead of build (28e8376). The new 0.15 release includes both. Please re-open if you see any problems.


is otter model architecture the same as openflamingo?

hi to the team! in the codebase i found that flamingo architecture and otter architecture are separated into /flamingo and /otter folder, both in huggingface interfaces.
however, after reading otter paper i found that otter seems has no difference in architecture with openflamingo. is this can be confirmed?(otherwise i sincerely aplogoize for my misunderstanding).
if so, if i want to continue training flamingo, should i use modeling_flamingo.py or modeling_otter.py? or they are both ok? heartfully thanks for your kind help.

Basically, it is ok to do so in the current version.
We have these two files because we want a more flexible configuration for Otter and Flamingo, in case we might design specific code for these two model. (It do happen in the process we are developing).
In your case, we recommend use "modeling_flamingo.py"

Hi, if you want to tuning flamingo for the conversation usage, we recommend to use Otter model. Some codes of Otter are actually different from flamingo, e.g. https://github.com/Luodian/Otter/blob/f7095f0935a4c119ebe448fc6626e58c04a328ce/otter/modeling_otter.py#L749


feature(improve-indy-testnet-docker): auto-start server on container startup #1308

Modified Dockerfile so that validator program is automatically run from supervisord.
Also:

fixed a problem found during this implementation: sandbox directory for indy_pool was not included in current version. Now startup script automatically initializes itself when it cannot find necessary files.
lessened dependency to indy-sdk (some files are copied from indy-sdk to indy-testnet directory) by copying some files from indy-sdk to this directory.
Note: as of now, a container for testing server containers still depends on indy-sdk source tree. This needs to be fixed in future PR.

This PR corresponds to Issue #1308
Signed-off-by: Izuru Sato<EMAIL_ADDRESS>

Codecov Report

Merging #1309 (5dc7ee3) into main (5bff222) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1309   +/-   ##
=======================================
  Coverage   71.49%   71.49%
=======================================
  Files         298      298
  Lines       10743    10743
  Branches     1321     1321
=======================================
  Hits         7681     7681
  Misses       2364     2364
  Partials      698      698

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5bff222...5dc7ee3. Read the comment docs.

@izuru0 Same recommendation here regarding the scope part of the issue title/commit message as in the other issue.
https://www.conventionalcommits.org/en/v1.0.0/


Domain Mapping Versioning

Support Question
What are we doing
DB is using Legend Studio to model payment mappings to various fraud/sanction/business control services. We use these modelled mappings and the Legend service generation to create a JAR that we can consume in another service.
Our service creates an API endpoint which different departments of the bank can call with some JSON payload and get the mapped data they wanted at the response.
How we are doing it
The JAR generated from Legend produces a service class for each mapping we have modelled. We then call this service class in Java by instantiating it and calling the execute method with the input data.
Our REST API then serves the mapped data on an endpoint which can be consumed by other departments and services within DB.
What we want
We require a dynamic solution where we can call the various classes depending on some fields, for instance certain models will evolve through time, and we need to support back compatibility, so should the request require an older version of the model, the API must have a way to differentiate which class to use.
Here is an example:
Let's say these 2 models were created:
DomainMappingV1
DomainMappingV2
It would be useful if we could call the .execute method of the class DomainMapping and have a way to identify which version would the model to use.
We want this dynamic behaviour so that any new payment mappings/new versions need only updating in Legend Studio and nowhere else. (Currently, the mapping would be modelled, the JAR generated then a developer must then add in code for this new mapping/version). This increases the risk of errors and duplicated code. We want to use Legend as our single source of truth.
Potential solution
All the classes we use will have an execute method associated with them.
Our current solution uses reflection to find the class and instantiate it . This solution does give us some problems, mainly being too slow to use reflection at each mapping call. We have looked into a solution using interfaces but the Legend service class that we call extends an abstract service plan executor and so we cannot use interfaces to fix our problem. From looking at the generated service classes they all follow a pattern of implementing the same methods, which would fit an interface perfectly.
Is there a way to generate an Interface service plan executor that we can use to inherit.
Currently this behaviour is doing using switch statements, but we wish to avoid using this in the future so that we only need to update the model in Legend and need not to touch the codebase.

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.


Reading support for specific ExtraDataRecords

Hello @srikanth-lingala, I wanted to ask if you would (or maybe already did) consider support for reading data from specific "extensible data fields".
To clearify: I know I can access the ExtraDataRecords of a FileHeader with fileHeader.getExtraDataRecords() and then get the header ID and the actual byte[] data from the instances. But I did not find a way in zip4j to parse the byte[] data into the actual informations encoded in there.
I've implemented the parsing for the "NTFS Extra Field (0x000a)" and the "Info-ZIP Unicode Path Extra Field (0x7075)" myself in two small classes which are adjusted to my use case. But I wonder how zip4j could handle this for the user and if so how it would be integrated (below are some thoughts).
Or maybe this whole extra fields parsing is out of scope of zip4j anyway, but even then I would be interested in you opinion regarding the design.
I've gone with 6. and 8. for now but before I continue with more field types and maybe code in the wrong direction I wanted to coordinate with you in case this is something integratable.

Separate classes for each type of extra field versus a utility class?
Parsing integrated into ExtraDataRecord?
A separate subclass of ExtraDataRecord for each field type?
Common interface with ExtraDataRecord?
Wrapper around ExtraDataRecord instances?
Not related to ExtraDataRecord at all but working on byte[] only?
Mutable/immutable?
Lazy loaded (parsing when accessing getters) to avoid computations, instantiations and memory allocations as well as potential errors in case of invalid data for users never using the extra fields?
Automatic parsing when creating FileHeaders or leaving the parsing to the user for the reasons stated in 8.?
Separate getters for each supported extra field type on FileHeader to avoid casting for the user?
FileHeader providing a Map<Integer,List<ExtraDataRecord>> with the integer being the header ID?
…

This is actually a good idea. My first impression is to have some parser utility that you can use which returns a list of parsed extra data records. The default behaviour still stays the same, i.e, zip4j returns a list of unparsed extra data records. But you can pass this list to the parser utility which will return you a list of parsed records. There are 37 extra data records that I know of. 2 of which are Zip64 and AES extra data records. These two are already implemented, so we need to implement another 35 of them. This feature will take some time to implement though.

I totally missed the Zip64 and AES extra data records until now. Please have a look at 575dc52 and the comments in there if it is anything like you envisioned.

This is a list of most useful ExtraRecords:

0x9901 - AE-x encryption structure
0x0017 - Algorithm ID for strong encryption
0x0001 - Zip64 extended information extra field
0x5455 - extended timestamp
0x7875 - Info-ZIP UNIX (new)
0x5855 - Info-ZIP UNIX (original, also OS/2, NT, etc)
0x000A - NTFS timestamp
0x000A - NTFS timestamp

@oleg-cherednik You can find a comprehensive list of extra data records here

@joorei I started with implementing this feature, but the more I get into it, the more complicated it gets. Especially with understanding all extra data record types and the way they have to be parsed. Some of them have complicated logic. And the list of possible extra data records is quite big (see the link in the post above for the list). It will be quite a big task to get this implemented.

@srikanth-lingala yes, I have seen it. But it faced only with given fields. I have not seen most of them in real zip files from different platforms.

I am short on free time to implement this feature myself. It is hard for me to catch up with other issues mentioned here and as this feature is a nice–to–have, I will be closing this one. I would be glad to get a pull request for this though.


Update client3:circe, client3:core, ... to 3.3.6

Updates

com.softwaremill.sttp.client3:circe
com.softwaremill.sttp.client3:core
com.softwaremill.sttp.client3:json4s
com.softwaremill.sttp.client3:slf4j-backend
com.softwaremill.sttp.client3:spray-json

from 3.3.5 to 3.3.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client3" } ]

labels: library-update, semver-patch

Superseded by #75.


⚠ Bofrost.at has degraded performance

In ce54da7, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1069 ms

Resolved: Bofrost.at performance has improved in 003dd2b after 9 minutes.


[fix][seatunnel 2.1.0]: ⬆ elasticsearch-spark.version 6.8.3 -> 7.0.0

Purpose of this pull request

When using seatunnel 2.1.0, es>7. x cannot be used normally. Upgrade elastic search park without changing the code Version version dependency
Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

Hi, 2.1.0 already release long time. We will not update the code for branch 2.1.0. But, thanks for your contribute.


Could not find 'sass-convert'. The program may not be installed.

Could not find 'sass-convert'. The program may not be installed.
Hide Stack Trace
Error: Could not find 'sass-convert'. The program may not be installed.
at SassConvert.module.exports.Beautifier.commandNotFoundError (file:///C:/Users/aleksashin/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee:231:14)
at file:///C:/Users/aleksashin/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee:331:22
at tryCatcher (C:\Users\aleksashin.atom\packages\atom-beautify\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\aleksashin.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (C:\Users\aleksashin.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (C:\Users\aleksashin.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (C:\Users\aleksashin.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:689:18)
at Async._drainQueue (C:\Users\aleksashin.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:133:16)
at Async._drainQueues (C:\Users\aleksashin.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:143:10)
at Async.drainQueues (C:\Users\aleksashin.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:17:14)
at process._tickCallback (internal/process/next_tick.js:103:7)

If you look at the README under Beautifiers you'll see SassConvert requires installing a third-party beautifier manually, as it is not pre-installed.
The instructions say to go to http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax . I see there:
gem install sass

Have you installed sass as instructed?

Hi. i'm not installed? but it's first time when i catch this error. Thanks for your answer

I really want to focus on improving the installation experience for users. I have created a new Issue, #1687, to target this problem. Please provide your feedback! Thanks in advance.


Use Nodeset with query result?

Nodeset provides useful filtering functions. Would it be possible to use Nodeset with a list of nodes (Neomodel nodes) obtained with, say, a cypher query?
It would be useful to document how a Nodeset is created.

There is some documentation for nodeset but not on actually creating
instances. It was kind of designed as something the neomodel api produces
for you.
Having said that i can see use cases for starting from a bunch of nodes
retrieved directly through cypher then producing a nodeset to query further.
Could you perhaps give me example of how you see it working or what you are
trying to achieve.
On 5 Feb 2017 4:46 p.m., "mjmare"<EMAIL_ADDRESS>wrote:

Nodeset provides useful filtering functions. Would it be possible to use
Nodeset with a list of nodes (Neomodel nodes) obtained with, say, a cypher
query?
It would be useful to document how a Nodeset is created.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/robinedwards/neomodel/issues/232, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ0YQLj-zoBJ-yqPaYpx9sEXGzmr77qks5rZe7ugaJpZM4L3h-9
.

My usecase today was a situation where I had a cypher query that returned a list of nodes. Subsequently I'd like to do some adhoc filtering and sorting (since the data has s displayed in a table), for which a Nodeset seemed like just the thing.

Cool i will try and come up with something.
On 5 Feb 2017 23:10, "mjmare"<EMAIL_ADDRESS>wrote:

My usecase today was a situation where I had a cypher query that returned
a list of nodes. Subsequently I'd like to do some adhoc filtering and
sorting (since the data has s displayed in a table), for which a Nodeset
seemed like just the thing.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robinedwards/neomodel/issues/232#issuecomment-277553977,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ0YdzWupyiR4ZvL6THuM1pQ45nKARLks5rZkjdgaJpZM4L3h-9
.

similarily i'd like to Model.nodes.all().order_by('some_property').


Replace MockProcessManager with FakeProcessManager in process_test where possible

Swapped out the low-hanging fruit. Punting on the canRun, flaky process manager, and runSync process exception tests.

Also use FakeStdio instead of MockStdio.

Actually I reverted this, if it's going to be used elsewhere it should be moved out of ../runner/flutter_command_runner_test.dart

Also use FakeStdio instead of MockStdio.

Actually I reverted this, if it's going to be used elsewhere it should be moved out of ../runner/flutter_command_runner_test.dart


Update boost pin

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

A new package isn't going to be build unless you also increment the build.
We had to bump to boost==1.66 on the 1.11 branch (https://github.com/conda-forge/django-feedstock/pull/42/commits/7e1a0ac053d57cf99d5e0599a2f1d229d10d0994) but was hoping this would be fixed upstream eventually. Are you hitting issues using Django right now and need this bump to boost?

No need to publish a new binary as this is only used in testing: it does not change the resulting package.
No issue here, I just updated a few recipes to maintain consistency across packages in conda-forge.

@conda-forge-admin, please rerender


Where to find the annotation

This is not actually an issue related to the code, but I think it's a good place for this question. Where can I find the annotation of this T2T assembly?

You can download the latest genome and annotation versions using this link

Thank you.


[WIP]: Migrate Agenta to use Beanie ODM

Features Tested & Working:
What's left:

[x] Merge evaluation-in-backend branch into migrate-to-beanie to branch to stay in sync
[x] Refactor backend testcases to make use of beanie
[x] Ensure backend testcases are passing
[x] Added testcase to check the number of evaluation scenarios in an evaluation
[x] Fix the aggregation logic for single model test human evaluation

@devgenix please refrain from making any new changes to this PR as I am close to completing everything. I just need to test human evaluations (which I am already doing and fixing the bugs) and to refactor the test cases and add new ones that @aakrem suggested.
So, please - let me handle this issue. Thank you.

@devgenix please refrain from making any new changes to this PR as I am close to completing everything. I just need to test human evaluations (which I am already doing and fixing the bugs) and to refactor the test cases and add new ones that @aakrem suggested.
So, please - let me handle this issue. Thank you.

Oh shoot, I thought you didn't take it up anymore so I continued working on it this night.

Thank you @aybruhm and @devgenix for the great work.
I tested this branch

Evaluations scenarios are saved but not fetched
the naming of the db collections is different from what we had before
We used to name them like this
app_db app_variants bases configs deployments docker_images environments organizations templates testsets users
Now we name them like this
AppDB AppEnvironmentDB AppVariantDB ConfigDB DeploymentDB EvaluationDB EvaluationScenarioDB EvaluatorConfigDB HumanEvaluationDB HumanEvaluationScenarioDB ImageDB OrganizationDB TestSetDB UserDB VariantBaseDB templates
Check mongo express to check it out.
initial app startup is waay taking longer than before

INFO:     Started server process [8]
INFO:     Waiting for application startup.

Thank you for the review. I'll begin working on the requested changes.

As per @aakrem's instructions, I will merge this branch into evaluations-in-backend since issues 1 and 2 have been resolved.


🎄 2017 Winter Holidays update

This PR contain merges, fixes and minor changes for the following PRs:

#413
#418
#454
#470
#471
#472
#474
#477
#478
#479
#481
#483
#484

Holy Maccaroni!! This is incredible! 😍

Just a heads up. I needed to change this line https://github.com/Akryum/vue-devtools/blob/master/shells/chrome/webpack.config.js#L6 to this to get it to build properly.
target: { chrome: 52, firefox: 48 },


Simplify handling of ModuleItems named "in"

There is no need to tack on a new method to the ModuleItem itself.

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.07 :tada:

Comparison is base (33d562c) 89.89% compared to head (da10e52) 89.96%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #186      +/-   ##
==========================================
+ Coverage   89.89%   89.96%   +0.07%
==========================================
  Files          44       44
  Lines        4184     4155      -29
==========================================
- Hits         3761     3738      -23
+ Misses        423      417       -6

Impacted Files
Coverage Δ

tests/widgets/test_result_runner.py
100.00% <ø> (+14.03%)
:arrow_up:

src/napari_imagej/java.py
81.92% <100.00%> (-0.30%)
:arrow_down:

src/napari_imagej/utilities/_module_utils.py
83.73% <100.00%> (+0.13%)
:arrow_up:

tests/utils.py
95.75% <100.00%> (ø)

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


refactor: remove conditional type checking

Resolves #15

Are you guys sure we should do this? We've had a lot of problems in the past with both the structlog dependency and circular imports with EntryArchive. I would like to really test this thoroughly in different developing environments and with all our plugins before merging this. Also, shouldn't this then be addressed in the nomad-lab source code first? https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/blob/develop/nomad/datamodel/metainfo/basesections.py?ref_type=heads#L238

@markus1978 do you remember why we settled on using the string imports and the type checking if statement? I'll try to dig up the issue but might take some time...

why we settled on using the string imports and the type checking if statement?

Based on that MR, probably because structlog was installed as an extra in parsing but the MR removes installing with parsing, so the import will cause a run time error without conditional type checking.

Are you guys sure we should do this?

I don't feel strongly about this. What we have in main is the safer choice, but the change in the PR will simplify the code a bit. @lauri-codes what do you think?

With the tests I did, I could not see any issues with imports, but probably my tests did not cover everything. Do you @hampusnasstrom think you can create a breaking example...?
Let's keep this MR open until we have some certainty. But essentially the TYPE_CHECKING is an escape hatch for cyclical dependencies, an issue that we hope to be gone with the new plugin system.


Database CRUD polish

#144  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @acco and the rest of your teammates on  Graphite


Rework modeling of referral program

Note: This issue is reserved for the OS Hackathon on Saturday, February 4 in Portland, OR. You are welcome to join in person or remotely!

RailsDevs has a very basic referral program. Folks refer businesses to the site and 10% of any generated revenue is shared with the referrer. This includes monthly fees and hiring fees.
Currently, I manually create a 6 character referral code for each person. Then they can apply that to URLs to get credit for a referral, e.g. https://railsdevs.com?ref=ABCDEF.
As it stands we can't associate a Referral record with a user. Which will make #728 a bit more difficult.
Let's rework some of the modeling to better match this diagram.

In text, this means that a Referral is still created when someone signs up with a ref URL param present. The code is still stored on the Referral model.
But while creating this record we should also check to see if the code matches any existing ReferralCode records. If so, associate them together.
ReferralCode records belong to a User and have a code string as well. This string cannot be changed. For now we can create the code manually in the database (e.g. no UI).
Note that a referral can occur without a ReferralCode or associated referrer. This means the relationship from Referral to ReferralCode is optional.
When creating a new ReferralCode we might also want to see if any existing Referral objects need to be associated with it. But let's skip this for now – I can handle it manually as the program gets going. And I'd rather not have that code exist after it needs to.

Claiming this issue as it needs to be completed before #729

Thanks! All yours.


[To Evaluate] Failures in test_indexing_xpu

🐛 Describe the bug
We added this unit test for XPU device as below code, but the test TestIndexingXPU will raise a core dump
torch-xpu-ops/src/aten/sycl/Indexing.h:615: operator(): global id: [19,0,0], local id: [19,0,0] Assertion "index >= -sizes_[i] && index < sizes_[i] && "index out of bounds"" failed..

# Owner(s): ["module: intel"]

from torch.testing._internal.common_device_type import instantiate_device_type_tests
from torch.testing._internal.common_utils import run_tests

try:
    from xpu_test_utils import XPUPatchForImport
except Exception as e:
    from .xpu_test_utils import XPUPatchForImport

with XPUPatchForImport(False):
    from test_indexing import NumpyTests,TestIndexing

instantiate_device_type_tests(NumpyTests, globals(), except_for="meta", only_for=("xpu"))

instantiate_device_type_tests(TestIndexing, globals(), except_for="meta",only_for=("xpu"))
if __name__ == "__main__":
    run_tests()

Versions
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.3 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: 14.0.0-1ubuntu1.1
CMake version: version 3.22.1
Libc version: glibc-2.35
Python version: 3.9.19 (main, Mar 21 2024, 17:11:28)  [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.15.0-106-generic-x86_64-with-glibc2.35
Is CUDA available: N/A
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A
CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      52 bits physical, 57 bits virtual
Byte Order:                         Little Endian
CPU(s):                             224
On-line CPU(s) list:                0-223
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Xeon(R) Platinum 8480+
CPU family:                         6
Model:                              143
Thread(s) per core:                 2
Core(s) per socket:                 56
Socket(s):                          2
Stepping:                           8
CPU max MHz:                        3800.0000
CPU min MHz:                        800.0000
BogoMIPS:                           4000.00
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 invpcid_single intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities
Virtualization:                     VT-x
L1d cache:                          5.3 MiB (112 instances)
L1i cache:                          3.5 MiB (112 instances)
L2 cache:                           224 MiB (112 instances)
L3 cache:                           210 MiB (2 instances)
NUMA node(s):                       2
NUMA node0 CPU(s):                  0-55,112-167
NUMA node1 CPU(s):                  56-111,168-223
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Enhanced IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected
Versions of relevant libraries:
[pip3] intel-extension-for-pytorch==2.1.30+git9e27c62
[pip3] numpy==1.26.4
[pip3] torch==2.4.0a0+gitff98731
[conda] intel-extension-for-pytorch 2.1.30+git9e27c62           dev_0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] torch                     2.4.0a0+gitff98731          pypi_0    pypi

Please give a PR link. Will add it as 2.4 requirement.

https://github.com/intel/torch-xpu-ops/pull/265

There is also a failed in it.
FAILED test_indexing_xpu.py::NumpyTestsXPU::test_trivial_fancy_out_of_bounds_xpu - AssertionError: IndexError not raised by __getitem__

Three issues in test_index,

Process abort due to kernel assertion. Kernel assertion is expected. These failed cases are designed for CPU backend, where it is a host exception, if passing an invalid index. We are same as CUDA. CUDA skips these kernels.
CUDA bias case. Need CUDA built.
Lack of meta process in index_put deterministic implementation. The meta process is new added in stock PyTorch. We missed the rebase during porting. Fixed.

We still need keep the issue open. Need to enhance test cases, since they are skipped by CUDA hard-coded. Assign to @daisyden .
# CPU bias cases
# It is kernel assert on XPU implementation not exception on host.
# We are same as CUDA implementation. And CUDA skips these cases.
"test_trivial_fancy_out_of_bounds_xpu",
"test_advancedindex",


Fix grammar in MultiMesh documentation.

Thanks! And congrats for your first merged Godot contribution :tada:

Cherry-picked for 3.4.

Cherry-picked for 3.3.3.


Wallet sync no history

Since a few days ago, litewallet on ios cannot sync successfully (no history after full sync). Delete & reinstall app doesn’t help. Internet connection is good.(created from Zendesk ticket #3183) gz#3183

Agent comment from Jim Flanagan in Zendesk ticket #3183:Our Devs have found the issue and are working on it. Please be patient and thank you for bringing this issue to our attention. We appreciate your support and always know that your Litecoin is safe on the blockchain and why it is so important to keep your seed phrases in a safe place as your coins are not on the actual wallet or any wallet for that matter but safe and sound on the blockchain.
Jim Flanagan
Litewallet Support
°°°

Resolved and action ongoing: 🕵🏽♀[Post Mortem] Critical: Switchover masked bigger issues 46


Access to fetch has been blocked by CORS policy

Sometimes timing couldn't be more perfect, I'm so thrilled to be able to tap into the brainpower at WorkOS with AuthKit. I'm sure this problem is me. I've been following along the docs and the nextjs example, tried both the AuthKit version and Jason's, thank you for the awesome post btw!

WorkOS dashboard set up done
All steps completed in the tutorial
I can see the token in my application tab
However, after I authenticate with Google, I get this https://rizv.io/i/JhAnbC, there is no redirect to the home page and I cannot see the logged in/auth view
Not sure if relevant, but I can see these errors in browser console:

Access to fetch at 'https://api.workos.com/user_management/authorize?client_id=client_01HGG60KYN9F25CHGM3TYV56WB&provider=authkit&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcallback&response_type=code' (redirected from 'http://localhost:3000/account?_rsc=acgkz') from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Any help or guidance would be appreciated as I'm in the process of working on this. Thanks!

Hey @srizvi, it looks like it could be related to that message. Do you have more info about what your environment is? (Software versions, Browser version, etc)

Thanks for getting back to me @benoitgrelard. I'm sorry I didn't share more details originally:

macOS Sonoma 14.1

Chrome Version 119.0.6045.199 (Official Build) (x86_64)

node v18.18.2

with pnpm 8.10.0 and also tried npm 9.8.1

IDE: Cursor Version: 0.17.0 using VSCode Version: 1.84.2

project installed from gh repo clone jlengstorf/next-authkit-example -- -b start

also the same result from https://github.com/workos/next-authkit-example

in browser the url stops at http://localhost:3000/callback?code=01HGK04230T5JNZH6VP4Q8DQK9 no redirect to / and I get this, in addition to the console message I shared earlier.

{"status":400,"error":"invalid_grant","errorDescription":"The code '01HGK04230T5JNZH6VP4Q8DQK9' has expired or is invalid.","rawData":{"error":"invalid_grant","error_description":"The code '01HGK04230T5JNZH6VP4Q8DQK9' has expired or is invalid."},"name":"OauthException","message":"Error: invalid_grant\nError Description: The code '01HGK04230T5JNZH6VP4Q8DQK9' has expired or is invalid."}

Thanks and appreciate you pointing out what I must be doing wrong at your convenience.

@srizvi Thanks for the report. What version of Next are you running here?

Hey @pmarsceill! The version from the two example repos. Authkit's and Jason's, from his website. Tried both, his is a fork of Authkit. Didn't change anything else. So "next": "14.0.1",
Hope this helps and thanks!

Hey @srizvi, thanks for the details.
Are you using any client side fetch calls in your code?
Just to triple check, if you freshly clone https://github.com/workos/next-authkit-example and provide your credentials, do you still encounter this issue?

👋🏽 @andy-hook, followed the docs first, got the error. Tried the example repo from Authkit, same. Tried with Jason's version, following along from his post on his start branch, same. I don't believe there are any client calls in the example repos. The buttons, if I recall correct were calling their respective project endpoints which called authkit's. Thanks for your help, eager to get onboard.

Ah, that sounds frustrating. Would you be able to share your project code, or a reduced example that displays the same issue? I'll take a look and try my best to help from there.

Hey @andy-hook thanks for the offer, much appreciated. I'm sure it's me, so grateful!
I think the easiest way to create a minimal reproduction would be to use either of these, which is what I did. I tried both with pnpm first, then npm too, just in case pnpm hoist issues.

https://github.com/workos/next-authkit-example
https://www.learnwithjason.dev/blog/authkit-next (start branch)

I got the same issue on both. Thanks for the help!

Just noticed this additional error in your follow up:
{
  "status": 400,
  "error": "invalid_grant",
  "errorDescription": "The code '01HGK04230T5JNZH6VP4Q8DQK9' has expired or is invalid.",
  "rawData": {
    "error": "invalid_grant",
    "error_description": "The code '01HGK04230T5JNZH6VP4Q8DQK9' has expired or is invalid."
  },
  "name": "OauthException",
  "message": "Error: invalid_grant\nError Description: The code '01HGK04230T5JNZH6VP4Q8DQK9' has expired or is invalid."
}

This is returned by WorkOS and typically means the authorization code was already used.
Is there anything in your project that is referencing this code directly? or any reason this might be being used more than once?
The code is only valid for a single use, so navigating directly to:
http://localhost:3000/callback?code=01HGK04230T5JNZH6VP4Q8DQK9
after the initial authentication request will return this error.

Can you update your callback route handler like so:
https://github.com/workos/next-authkit-example/blob/adjust-error-handling/src/app/callback/route.ts#L46-L48
And let me know what error messaging you see when you try moving through the authentication flow?
Could you also check that you have set your JWT_SECRET_KEY correctly within your env variables file, this must have a value, even if it's simply a test string for now.

Hey Andy, sorry for the late reply. Thanks for getting back to me. Sure, I'll give that a shot and let you know. I do have the JWT environment variable set.

Closing this for now as it's been inactive for a while. Please don't hesitate to reach out again if this is still an issue.

Hello, i have the same problem on my symfony application. IDK in php guide - https://github.com/workos/workos-php, u dont use any JWT keys, and my code looks like
#[Route('/callback', name: 'app_callback')]
public function callback(Request $request): Response
{
$code = $request->query->get('code');
$sso = new SSO();
$profile = $sso->getProfileAndToken($code);
}
    but in the way with sign in with AuthKIT form i got an error like not correct redirect url ( but my url http://<IP_ADDRESS>:8000/callback)

    Could u help me with it ?

Hi, could anybody answer me please? gmail<EMAIL_ADDRESS>

Hi @adss332, please don't re-open issues if your problem is different to the original issue.
In your case it's likely because you are using AuthKit with the SSO API rather than UserManagement. Try generating the redirect URL with:
WorkOS\WorkOS::setApiKey("sk_test_123");
WorkOS\WorkOS::setClientId("client_123");

$userManagement = new WorkOS\UserManagement();

$authorizationUrl = $userManagement->getAuthorizationUrl(
    redirectUri: "http://localhost:8000/callback",
    provider: 'authkit',
);

Then get the user profile later with:
$user = $userManagement->authenticateWithCode(
    clientId: "client_123",
    code: $code,
);

@PaulAsjes Hello, thanks for answer, where i can continue discussion if i get another errors ?

Since this isn't an issue with AuthKit but rather your integration, I'd reach out to support via<EMAIL_ADDRESS>


Calls with braces in interpolation for Style/MethodCallWithArgsParentheses

If we are calling methods in string interpolation with the omit_parentheses
style for the Style/MethodCallWithArgsParentheses cop, they are
currently forced to be without parentheses:
"#{part 1}, #{part 2}, #{part 3}"

My coworkers at Dext want to be able to put spaces while calling methods
in interpolation, and I don't blame them. Having spaces reduces the
noise of following a method call in a string, especially if the string
happens to have multiple interpolations in it.
I want to add the AllowParenthesesInStringInterpolation cop configuration
that allows the use of parentheses in string interpolation calls.
"#{part(1)}, #{part(2)}, #{part(3)}"

I have moved the changelog and rewrote the documentation examples.


Github workflow to Gitlab pipeline

Changes
Description of changes...

delete branch

Changelog entry

Added Junit package to support unit test reports in GitLab
Added Github workflow file
Added ReadMe for workflow guidance

Latest commits has the updated changes from the code review


Fix uts on 3.2

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #13090 (6053a1a) into 3.2 (7a660fa) will increase coverage by 0.83%.
Report is 1 commits behind head on 3.2.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #13090      +/-   ##
============================================
+ Coverage     68.60%   69.43%   +0.83%
+ Complexity       22        2      -20
============================================
  Files          3507     1649    -1858
  Lines        157414    68576   -88838
  Branches      24440    10002   -14438
============================================
- Hits         107992    47615   -60377
+ Misses        39483    16375   -23108
+ Partials       9939     4586    -5353

see 1886 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add connection/stream count selections to the benchmarks/dashboard

I thinking a bit more about the YARP results compared to NGINX, in chatting with @sebastienros, crank is controlling the incomming rate based on a fixed number of connections, and then streams within those connections.
We get different results according to the number of connections that are thrown at us. Based on http/1.1 with a 1024 byte payload we get the following results:

Description
application.benchmarks/cpu
application.benchmarks/working-set
load.http/requests
load.http/latency/50
load.http/latency/75
load.http/latency/90
load.http/latency/95
load.http/rps/mean
load.http/rps/max

connections_64
82
100
3262614
0.244
0.301
0.434
0.618
217,558
267,052

connections_128
85
106
3863221
0.364
0.566
0.923
1.146
257,689
374,230

connections_256
90
126
4282911
0.649
1.049
1.775
2.15
285,578
433,629

connections_512
88
223
4563602
1.263
2.322
3.184
3.754
305,524
417,300

connections_1024
90
1400
4639562
2.442
4.106
6.471
9.321
311,574
407,613

You can feed more requests at YARP at once, and get a better mean RPS, at the cost of request latency and working set. We should try some different values for each combination and see what effect that has on the RPS, latency and working set. This should apply to the other proxies as well as they may perform better/worse based on the load.

Where can I see your test code?
BTW, it's good to see that the focus on high cpu usage issues has increased recently.
This shows that there are some high-traffic services that are starting to use yarp.
I have reported this issue in #2427  and hope to raise this priority.

The tested YARP code in question is here: https://github.com/microsoft/reverse-proxy/tree/main/testassets/BenchmarkApp
With the crank configuration here: https://github.com/aspnet/Benchmarks/blob/main/scenarios/proxy.benchmarks.yml


[Feat]: A services marketplace

Description
A marketplace (maybe a repo) for one click services.
Users can deploy or upload a new services from a website (e.g. market.coolify.io ) or from the same coolify ui.
Users can up vote and down vote new services.
Users can upload services by a web interface that ask for docker file and a docker compose file, and an environment variables, etc.
I know that's a lot of work, but it will be awesome.
Minimal Reproduction (if possible, example repository)
A feature request
Exception or Error
No response
Version
v4.0.0-beta.293

hey @ZilloweZ, I think the current solution is cool and easier to manage.
all things in one centralized place, easy to deploy too.
making a market place for people to upload stuff will be a lot of work, and we are devs, so i think github is a better place to handle those.

Yeah, I'm planning this for the future, maybe when v4 releases


[BUG] Generics OnSerialize not being called

Information

Version: 7.9.0
Packages:

Hooks are not being executed when serializing a generic model.  In the provided example repo in the rest/HelloWorldController there are 2 routes. One that behaves as expected and one that doesn't.  If the class that is being serialized contains a generic, the OnSerialize decorator function is never being called. The /good route correctly returns the name property transformed, while the /bad route does not. This makes it difficult to reliably re-use response models throughout an application.
Example
https://github.com/ecalvert/tsed-repro
Acceptance criteria

[ ] Alter hooks should be executed for generic models the same way they are for non-generic models.

Additional Context
We don't use Mongoose or any other ORM.  We generally take the raw results from an executed mongo query and are relying on TSED to do the serialization to the client for us.

Hello @ecalvert
thanks for the repo example.
I see an error on your example:

 @Get("/bad")
  @Returns(200, PagedModel<PeopleResponse>)
  get() {
    return {
      data: [{
        id: 'foo',
        name: 'bar'
      }]
    }
  }

The Returns decorator is wrongly declarated. The documentation is pretty clear and give an example to implement the Returns decorator with a generic model:  https://tsed.io/docs/model.html#generics

 @Get("/bad")
  @Returns(200, PagedModel).Of(PeopleResponse)
  get() {
    return {
      data: [{
        id: 'foo',
        name: 'bar'
      }]
    }
  }

Please fix your example ;)
See you
Romain

@Romakita Thank you for the quick response.  I updated the decorator and the @OnSerialize function is still not being executed.
Hitting http://localhost:8083/rest/hello-world/bad is still returning:
{
  "data": [
    {
      "id": "foo",
      "name": "bar"
    }
  ]
}

when we would expect it to return:
{
  "data": [
    {
      "id": "foo",
      "name": "BAR"
    }
  ]
}

After doing some digging it looks like there is some special checks that happen when deserializing a generic here: https://github.com/tsedio/tsed/blob/production/packages/specs/json-mapper/src/utils/serialize.ts
But there is no generic check when serializing in https://github.com/tsedio/tsed/blob/production/packages/specs/json-mapper/src/utils/serialize.ts
Could this be part of the issue?

In your exemple you don’t return a real instance of PagedModel. It could explain the issue.


Move to Minigo C++

SWG Notes:
This is slated for discussion in special topics.

SWG Notes:
The C++ code for v0.6 has been finalized. Pending decision from SWG to determine how we want incorporate the code for v0.6.
The proposal and current target resolution is C++ only for v0.6 unless objection is raised next SWG.
AI(Intel) -- Feedback on this issue.

SWG Notes:
We will accept submissions for C++ minigo for v0.6 using the new reference implementation (in C++).
We require people to use the "engine" (the non-deep NN parts of the RL algorithm) with minimal compatibility patching.
The above is to be finalized next week pending objection.

This is handled for v0.7


IndexError: list index out of range when trying to build

$ dephell project build --from pyproject.toml --traceback
WARNING cannot find tool.dephell section in the config (path=pyproject.toml)
INFO dumping... (format=setuppy)
INFO dumping... (format=egginfo)
INFO dumping... (format=sdist)
ERROR IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/dephell/cli.py", line 115, in main
    result = task()
  File "/usr/local/lib/python3.7/dist-packages/dephell/commands/project_build.py", line 63, in __call__
    project=resolver.graph.metainfo,
  File "/usr/local/lib/python3.7/dist-packages/dephell/converters/sdist.py", line 127, in dump
    self._write_additional_files(tar=tar, project=project, subdir=subdir)
  File "/usr/local/lib/python3.7/dist-packages/dephell/converters/sdist.py", line 179, in _write_additional_files
    package_size = get_path_size(path=project.package.packages[0].path)
IndexError: list index out of range

experienced this with 3 of 3 projects that I manage with poetry

Add steps to reproduce, please. Is it open source project? Can you show the files tree?

This issue occurs, when only the tests folder could be found but no packages. There is no check if a package could be found after the check for the tests folder succeeded.
This issue comes from the dephell project and not from dephell_discover.
I will check the issues there and update / create a one for that.