some error when I run updateCobraToolbox()

56 views
Skip to first unread message

NA

unread,
Apr 10, 2018, 7:56:36 AM4/10/18
to COBRA Toolbox
 hello all,
 
         when I Run the script that “updateCobraToolbox()”,It tell me that:
         Checking for available updates ...
         > There are 5666 new commit(s) on <master> and 0 new commit(s) on <develop> [6c5e94 @ master]
         > You can update The COBRA Toolbox by running updateCobraToolbox() (from within MATLAB).
but when i run the script that updateCobraToolbox(),It tell me:
        Downloading gitBash archive (this may take a while) ... incorrectly using urlreadwrite (line 97)
        There was an error downloading the URL. Your network connection may be interrupted or the proxy settings are not configured properly.
        error urlwrite (line 38)
[f,status] = urlreadwrite(mfilename,catchErrors,url,filename,varargin{:});
error portableGitSetup (line 63)
            urlwrite(urlPortableGit, fileNamePortableGit);
error installGitBash (line 32)
            portableGitSetup(gitBashVersion, 0);
error updateGitBash (line 81)
                installGitBash();
error updateCobraToolbox (line 20)
        updateGitBash(fetchAndCheckOnly); 
I am very depressed about this problem,can I get your help?Thank you!
  
yours
liuyw

                                                                                                                                                



Laurent Heirendt

unread,
Apr 10, 2018, 8:24:19 AM4/10/18
to COBRA Toolbox
Hi,

As you have an older version, may you follow these instructions in order to remove the legacy version? https://opencobra.github.io/cobratoolbox/latest/faq.html#remove-legacy-installation

May you then install the latest version by following the installation instructions here: https://opencobra.github.io/cobratoolbox/stable/installation.html

Best regards,

Laurent
Reply all
Reply to author
Forward
0 new messages