JuliaPy / Conda.jl

Conda managing Julia binary dependencies
Other
173 stars 57 forks source link

Stuck on verifying transaction adding matplotlib #117

Closed kurbkid closed 6 years ago

kurbkid commented 6 years ago

Adding the matplotlib package with Conda gets stuck at verifying transaction. I have no idea what to do. I am on Julia 1.0.0 on Linux.

julia> ENV["PYTHON"]=""
""                                                                                                                                    
julia> using Conda
julia> Conda.add("matplotlib")
[ Info: Running `conda install -y matplotlib` in root environment                                                                     
Solving environment: done                                                                                                             

## Package Plan ##

  environment location: /home/dicbro/.julia/packages/Conda/m7vem/deps/usr

  added / updated specs: 
    - matplotlib

The following NEW packages will be INSTALLED:

    cycler:           0.10.0-py36_0        
    dbus:             1.13.2-h714fa37_1    
    expat:            2.2.5-he0dffb1_0     
    fontconfig:       2.13.0-h9420a91_0    
    freetype:         2.9.1-h8a8886c_0     
    glib:             2.56.1-h000015b_0    
    gst-plugins-base: 1.14.0-hbbd80ab_1    
    gstreamer:        1.14.0-hb453b48_1    
    icu:              58.2-h9c2bf20_1      
    jpeg:             9b-h024ee3a_2        
    kiwisolver:       1.0.1-py36hf484d3e_0 
    libpng:           1.6.34-hb9fc6fc_0    
    libuuid:          1.0.3-h1bed415_2     
    libxcb:           1.13-h1bed415_1      
    libxml2:          2.9.8-h26e45fe_1     
    matplotlib:       2.2.3-py36hb69df0a_0 
    pcre:             8.42-h439df22_0      
    pyparsing:        2.2.0-py36_1         
    pyqt:             5.9.2-py36h22d08a2_0 
    python-dateutil:  2.7.3-py36_0         
    pytz:             2018.5-py36_0        
    qt:               5.9.6-h52aff34_0     
    sip:              4.19.8-py36hf484d3e_0
    tornado:          5.1-py36h14c3975_0   

Preparing transaction: done
Verifying transaction: / 

This verifying transaction lasted all night. When I Ctrl+C'ed this was the error message:

- ERROR: InterruptException:
Stacktrace:
 [1] process_events at ./libuv.jl:98 [inlined]
 [2] wait() at ./event.jl:246
 [3] wait(::Condition) at ./event.jl:46
 [4] stream_wait(::Base.Process, ::Condition) at ./stream.jl:47
 [5] wait at ./process.jl:830 [inlined]
 [6] success at ./process.jl:679 [inlined]
 [7] #run#505(::Bool, ::Function, ::Cmd) at ./process.jl:653
 [8] run at ./process.jl:651 [inlined]
 [9] macro expansion at ./logging.jl:307 [inlined]
 [10] runconda(::Cmd, ::String) at /home/dicbro/.julia/packages/Conda/m7vem/src/Conda.jl:112
 [11] add at /home/dicbro/.julia/packages/Conda/m7vem/src/Conda.jl:174 [inlined] (repeats 2 times)
 [12] top-level scope at none:0

After this one of my CPU cores remained working at 100%.

stevengj commented 6 years ago

Possibly some kind of firewall is blocking the transfer? Or you could try re-installing everything in case you had a filesystem glitch or something:

using Conda
rm(Conda.ROOTENV, recursive=true)
Conda.add("matplotlib")
stevengj commented 6 years ago

(ENV["PYTHON"]="" is not something you should need to do all the time. You can do it once when you are adding/building PyCall, and thereafter it will remember that you are using Conda.)

kurbkid commented 6 years ago

Thanks for your replies. Reinstalling everything by your instructions did not solve the problem unfortunately. I am again stuck at verifying. I'll go ask the IT department if/why/how this particular transaction could be blocked by firewall or something. Hope I can find a solution.

kurbkid commented 6 years ago

The error was due to a bug in the local network filesystem. Fortunately it got patched today! All works fine now.