JuliaRobotics / RigidBodySim.jl

Simulation and visualization of articulated rigid body systems in Julia
Other
71 stars 22 forks source link

Compatibility issue with Atom.jl #115

Closed tkoolen closed 5 years ago

tkoolen commented 5 years ago

I'm not entirely sure what MeshCat.jl is, but it's giving me install issues:

(v1.1) pkg> dev RigidBodySim
[ Info: Path `C:\Users\accou\.julia\dev\RigidBodySim` exists and looks like the correct package, using existing path
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package WebIO [0f1e0344]:
 WebIO [0f1e0344] log:
 ├─possible versions are: [0.1.0-0.1.10, 0.1.12, 0.2.0-0.2.8, 0.3.0-0.3.4, 0.4.0-0.4.2, 0.6.0-0.6.2, 0.7.0, 0.8.0-0.8.1, 0.8.3-0.8.9, 0.8.11] or uninstalled
 ├─restricted to versions 0.2.6-* by RigidBodySim [e61f16d8], leaving only versions [0.2.6-0.2.8, 0.3.0-0.3.4, 0.4.0-0.4.2, 0.6.0-0.6.2, 0.7.0, 0.8.0-0.8.1, 0.8.3-0.8.9, 0.8.11]
 │ └─RigidBodySim [e61f16d8] log:
 │   ├─possible versions are: 1.3.0 or uninstalled
 │   └─RigidBodySim [e61f16d8] is fixed to version 1.3.0
 ├─restricted by compatibility requirements with Atom [c52e3926] to versions: [0.8.1, 0.8.3-0.8.9, 0.8.11]
 │ └─Atom [c52e3926] log:
 │   ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.1, 0.3.0, 0.4.0-0.4.6, 0.5.0-0.5.10, 0.6.0-0.6.17, 0.7.0-0.7.15, 
0.8.0-0.8.8, 0.9.0-0.9.1, 0.10.0-0.10.1] or uninstalled
 │   └─restricted to versions 0.10.1 by an explicit requirement, leaving only versions 0.10.1
 └─restricted by compatibility requirements with MeshCat [283c5d60] to versions: [0.1.8-0.1.10, 0.1.12, 0.2.0-0.2.8, 0.3.0-0.3.4, 0.4.0-0.4.2, 0.7.0] — no versions left
   └─MeshCat [283c5d60] log:
     ├─possible versions are: [0.0.1-0.0.3, 0.1.0-0.1.2, 0.2.0-0.2.3, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0] or uninstalled     ├─restricted to versions * by RigidBodySim [e61f16d8], leaving only versions [0.0.1-0.0.3, 0.1.0-0.1.2, 0.2.0-0.2.3, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0]
     │ └─RigidBodySim [e61f16d8] log: see above
     └─restricted by compatibility requirements with MeshCatMechanisms [6ad125db] to versions: [0.2.1-0.2.3, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0]
       └─MeshCatMechanisms [6ad125db] log:
         ├─possible versions are: [0.0.1-0.0.6, 0.1.0-0.1.1, 0.2.0-0.2.1, 0.3.0, 0.4.0, 0.5.0] or uninstalled
         └─restricted to versions 0.1.1-* by RigidBodySim [e61f16d8], leaving only versions [0.1.1, 0.2.0-0.2.1, 0.3.0, 0.4.0, 0.5.0]
           └─RigidBodySim [e61f16d8] log: see above

Originally posted by @ChrisRackauckas in https://github.com/JuliaRobotics/RigidBodySim.jl/issues/113#issuecomment-533836175

tkoolen commented 5 years ago

CC: @sn3akyLynx

tkoolen commented 5 years ago

So it appears that if I start with an empty environment, then ] add Atom, then ] add MeshCat, you get the unsatisfiable requirements error. But if you switch the order, it works. Similarly, starting from an empty environment, ] add RigidBodySim followed by ] add Atom works. So this is really an issue with Pkg's resolver. A workaround is thus to temporarily remove the Atom package from your environment, then add RigidBodySim, then add Atom again.

Closing since there are no actionable items in this package. Feel free to reopen if the workaround didn't work for you.