cnr-ibf-pa / hbp-bsp-issues

Ticketing system for developers/testers and power users of the Brain Simulation Platform of the Human Brain Project
4 stars 0 forks source link

hbp-service-client "'Client' object has no attribute 'download_file'" #422

Closed SteMasoli closed 5 years ago

SteMasoli commented 5 years ago

Expected behavior

To download files from the BSP collaboratory storage with hbp-service-client 1.0.0 and 1.1.1

Actual Behavior (please include screenshot if possible)

clients.storage.download_file('/BSP/OnlineUseCases/SingleCellModeling/Cerebellum_Opt/GrC_mono_collab/GrCmorphmono.mod', 'GrCmorphmono.asc');

AttributeErrorTraceback (most recent call last)

in () ----> 1 clients.storage.download_file('/BSP/OnlineUseCases/SingleCellModeling/Cerebellum_Opt/GrC_mono_collab/GrCmorphmono.asc', 'GrCmorphmono.asc'); ### Steps to reproduce the problem Clone in a new collab the cerebellar mono compartmental granule cell and run it. ### Optional infrastructural data (user, platform, browser, environment, ...)
clupascu commented 5 years ago

Try with hbp-service-client 1.1.0. I am using this one and I can download files successfully.

SteMasoli commented 5 years ago

With 1.0.0 now it works. This issue is still generated when the image, with all the modules, is upgraded or changed. I think that a warning, to restart the kernel after an image upgrade and a series of new pip installs, could be a good idea.