romi / plant-3d-vision

Reconstruct a 3D digital twin of the plant from pictures (RGB images) and quantify its phyllotaxis.
https://docs.romi-project.eu/plant_imager/
GNU Lesser General Public License v3.0
5 stars 1 forks source link

Add a first version of a Github action workflow for testing #73

Closed naittaleb closed 4 years ago

naittaleb commented 4 years ago

close #10

jlegrand62 commented 4 years ago

Problem during docker-build step:

  Failed building wheel for ipykernel
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-i5os5_ae/ipykernel/setup.py", line 117, in <module>
      from ipykernel.kernelspec import write_kernel_spec, make_ipkernel_cmd, KERNEL_NAME
    File "/tmp/pip-build-i5os5_ae/ipykernel/ipykernel/__init__.py", line 2, in <module>
      from .connect import *
    File "/tmp/pip-build-i5os5_ae/ipykernel/ipykernel/connect.py", line 13, in <module>
      from IPython.core.profiledir import ProfileDir
  ModuleNotFoundError: No module named 'IPython'

  ----------------------------------------

Problems during feature-tests step:

Error with romicgal import:

ERROR    [luigi-interface] [pid 12] Worker Worker(salt=865229279, workers=1, host=4fa1c100a885, username=githubrunner, pid=12) failed    TriangleMesh(output_file_id=out, scan_id=, upstream_task=PointCloud) from fileConfig
Traceback (most recent call last):
  File "/home/githubrunner/.local/lib/python3.7/site-packages/luigi/worker.py", line 191, in run
    new_deps = self._run_get_new_deps()
  File "/home/githubrunner/.local/lib/python3.7/site-packages/luigi/worker.py", line 133, in _run_get_new_deps
    task_gen = self.task.run()
  File "/home/githubrunner/.local/lib/python3.7/site-packages/romiscan/tasks/proc3d.py", line 218, in run
    out = proc3d.pcd2mesh(point_cloud)
  File "/home/githubrunner/.local/lib/python3.7/site-packages/romiscan/proc3d.py", line 99, in pcd2mesh
    points, triangles = cgal.poisson_mesh(np.asarray(pcd.points),
NameError: name 'cgal' is not defined

Error with Clean task ? :

CRITICAL [romiscanner] Confirm? [y/N] from fileConfig
ERROR    [luigi-interface] [pid 873] Worker Worker(salt=066346225, workers=1, host=4fa1c100a885, username=githubrunner, pid=873) failed    Clean(output_file_id=out, scan_id=, no_confirm=False) from fileConfig
Traceback (most recent call last):
  File "/home/githubrunner/.local/lib/python3.7/site-packages/luigi/worker.py", line 191, in run
    new_deps = self._run_get_new_deps()
  File "/home/githubrunner/.local/lib/python3.7/site-packages/luigi/worker.py", line 133, in _run_get_new_deps
    task_gen = self.task.run()
  File "/home/githubrunner/romiscan/romidata/romidata/task.py", line 419, in run
    choice = self.confirm(input().lower())
EOFError: EOF when reading a line