Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In a standard installation urdf_to_graphiz fails as dot command is not installed #18

Open
1 task done
traversaro opened this issue Nov 5, 2021 · 2 comments
Open
1 task done

Comments

@traversaro
Copy link
Contributor

Issue:

If one just installs the urdfdom package, the urdf_to_graphiz command fails as the dot command is not installed:

(urdfdebug) C:\src\idyntree\src\tests\data>urdf_to_graphiz frame.urdf
Created file frame.gv
'dot' is not recognized as an internal or external command,
operable program or batch file.
Created file frame.pdf

If one install the graphviz package, everything works fine. I am not sure if we should add a run dependency on graphviz (that would increase a lot the overall dependencies of the package), or just document this somewhere.


Environment (conda list):
(urdfdom) C:\Users\STraversaro>conda list
# packages in environment at C:\Users\STraversaro\AppData\Local\mambaforge\envs\urdfdom:
#
# Name                    Version                   Build  Channel
console_bridge            1.0.1                h5362a0b_0    conda-forge
tinyxml                   2.6.2                h2d74725_2    conda-forge
ucrt                      10.0.20348.0         h57928b3_0    conda-forge
urdfdom                   2.3.5                h2d74725_0    conda-forge
urdfdom_headers           1.0.5                h5362a0b_2    conda-forge
vc                        14.2                 hb210afc_5    conda-forge
vs2015_runtime            14.29.30037          h902a5da_5    conda-forge

Details about conda and system ( conda info ):
(urdfdom) C:\Users\STraversaro>conda info

     active environment : urdfdom
    active env location : C:\Users\STraversaro\AppData\Local\mambaforge\envs\urdfdom
            shell level : 1
       user config file : C:\Users\STraversaro\.condarc
 populated config files : C:\Users\STraversaro\AppData\Local\mambaforge\.condarc
                          C:\Users\STraversaro\.condarc
          conda version : 4.10.3
    conda-build version : not installed
         python version : 3.9.7.final.0
       virtual packages : __cuda=11.2=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Users\STraversaro\AppData\Local\mambaforge  (writable)
      conda av data dir : C:\Users\STraversaro\AppData\Local\mambaforge\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : C:\Users\STraversaro\AppData\Local\mambaforge\pkgs
                          C:\Users\STraversaro\.conda\pkgs
                          C:\Users\STraversaro\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\STraversaro\AppData\Local\mambaforge\envs
                          C:\Users\STraversaro\.conda\envs
                          C:\Users\STraversaro\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.10.3 requests/2.26.0 CPython/3.9.7 Windows/10 Windows/10.0.19043
          administrator : False
             netrc file : None
           offline mode : False
@wolfv
Copy link
Member

wolfv commented Nov 5, 2021

hm, that's unfortunate. I think graphviz is a pretty heavy dependency, I would probably be in favor of not adding it.

@traversaro
Copy link
Contributor Author

traversaro commented Nov 5, 2021

hm, that's unfortunate. I think graphviz is a pretty heavy dependency, I would probably be in favor of not adding it.

Yes, I think we just need to document this somewhere, probably in the README of the feedstock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants