Skip to content

Dockerfile/pangraph not building #31

@schorlton

Description

@schorlton
wget  https://github.com/neherlab/pangraph/archive/refs/tags/0.5.0.tar.gz
tar xzvf 0.5.0.tar.gz
cd pangraph-0.5.0
docker build . -t pangraph/pangraph
# All requested packages already installed.

ERROR: InitError: PyError (PyImport_ImportModule) <class 'NameError'>
NameError("name 'ListType' is not defined")
  File "/root/.julia/conda/3/lib/python3.9/site-packages/ete3/__init__.py", line 61, in <module>
    from .clustering.clustertree import *
  File "/root/.julia/conda/3/lib/python3.9/site-packages/ete3/clustering/__init__.py", line 40, in <module>
    from .clustertree import *
  File "/root/.julia/conda/3/lib/python3.9/site-packages/ete3/clustering/clustertree.py", line 43, in <module>
    from . import clustvalidation
  File "/root/.julia/conda/3/lib/python3.9/site-packages/ete3/clustering/clustvalidation.py", line 199, in <module>
    from . import stats
  File "/root/.julia/conda/3/lib/python3.9/site-packages/ete3/clustering/stats.py", line 1933, in <module>
    geometricmean = Dispatch ( (lgeometricmean, (ListType, TupleType)), )

Stacktrace:
 [1] pyimport(name::String)
   @ PyCall ~/.julia/packages/PyCall/3fwVL/src/PyCall.jl:550
 [2] pyimport_conda(modulename::String, condapkg::String, channel::String)
   @ PyCall ~/.julia/packages/PyCall/3fwVL/src/PyCall.jl:714
 [3] __init__()
   @ PanGraph.PanX.Phylo /build_dir/src/panX.jl:21
 [4] _include_from_serialized(path::String, depmods::Vector{Any})
   @ Base ./loading.jl:768
 [5] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
   @ Base ./loading.jl:854
 [6] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1097
 [7] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1013
 [8] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:997
during initialization of module Phylo

caused by: PyError (PyImport_ImportModule) <class 'NameError'>
NameError("name 'ListType' is not defined")
  File "/root/.julia/conda/3/lib/python3.9/site-packages/ete3/__init__.py", line 61, in <module>
    from .clustering.clustertree import *
  File "/root/.julia/conda/3/lib/python3.9/site-packages/ete3/clustering/__init__.py", line 40, in <module>
    from .clustertree import *
  File "/root/.julia/conda/3/lib/python3.9/site-packages/ete3/clustering/clustertree.py", line 43, in <module>
    from . import clustvalidation
  File "/root/.julia/conda/3/lib/python3.9/site-packages/ete3/clustering/clustvalidation.py", line 199, in <module>
    from . import stats
  File "/root/.julia/conda/3/lib/python3.9/site-packages/ete3/clustering/stats.py", line 1933, in <module>
    geometricmean = Dispatch ( (lgeometricmean, (ListType, TupleType)), )

Stacktrace:
 [1] pyimport(name::String)
   @ PyCall ~/.julia/packages/PyCall/3fwVL/src/PyCall.jl:550
 [2] pyimport_conda(modulename::String, condapkg::String, channel::String)
   @ PyCall ~/.julia/packages/PyCall/3fwVL/src/PyCall.jl:708
 [3] __init__()
   @ PanGraph.PanX.Phylo /build_dir/src/panX.jl:21
 [4] _include_from_serialized(path::String, depmods::Vector{Any})
   @ Base ./loading.jl:768
 [5] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
   @ Base ./loading.jl:854
 [6] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1097
 [7] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1013
 [8] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:997
make: *** [Makefile:34: data/synthetic/test.fa] Error 1
The command 'bash -c set -euxo pipefail && cd /build_dir && make' returned a non-zero code: 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions