Error using initCobraToolbox (line 181)

280 views
Skip to first unread message

Bhushan Dhamale

unread,
Oct 16, 2017, 6:44:04 AM10/16/17
to COBRA Toolbox
In the /usr/local/MATLAB/R2017b/toolbox/matlab directory, I did sudo git clone https://github.com/opencobra/cobratoolbox.git.
I then opened MATLAB 2017b by sudo /usr/local/MATLAB/R2017b/bin/matlab, and navigated to /usr/local/MATLAB/R2017b/bin/matlab/cobratoolbox in the 'Current Folder' window.
Upon entering initCobraToolbox in the 'Command Window', I get the following output:

Trial>> initCobraToolbox


      _____   _____   _____   _____     _____     |
     /  ___| /  _  \ |  _  \ |  _  \   / ___ \    |   COnstraint-Based Reconstruction and Analysis
     | |     | | | | | |_| | | |_| |  | |___| |   |   The COBRA Toolbox - 2017
     | |     | | | | |  _  { |  _  /  |  ___  |   |
     | |___  | |_| | | |_| | | | \ \  | |   | |   |   Documentation:
     \_____| \_____/ |_____/ |_|  \_\ |_|   |_|   |   http://opencobra.github.io/cobratoolbox
                                                  |

 > Checking if git is installed ...  Done.
 > Checking if the repository is tracked using git ...  Done.
 > Checking if curl is installed ...  Done.
 > Checking if remote can be reached ...  Done.
 > Initializing and updating submodules (this may take a while)...Cloning into 'binary'...
fatal: unable to access 'https://github.com/opencobra/COBRA.binary.git/': error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
Clone of 'https://github.com/opencobra/COBRA.binary.git' into submodule path 'binary' failed
Error using initCobraToolbox (line 181)
The submodules could not be initialized.


Please suggest me a fix to this issue.

Ronan M.T. Fleming

unread,
Oct 18, 2017, 7:10:29 AM10/18/17
to COBRA Toolbox
We dont support 201*a versions because we dont get a matlab pre-release and instead focus on 201*b support, to date, 2016b. 

--

---
You received this message because you are subscribed to the Google Groups "COBRA Toolbox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbox+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
--
--
Mr. Ronan MT Fleming B.V.M.S. Dip. Math. Ph.D.
----------------------------------------------------------------------------
Senior research associate (EN) == Chercheur (FR),
Principal investigator,
Systems Biochemistry Group,
wwwen.uni.lu/lcsb/research/systems_biochemistry
Luxembourg Centre for Systems Biomedicine,
University of Luxembourg,
Campus Belval,
6, avenue du Swing,
L-4367 Belvaux.
&
National Centre of Excellence in Research on Parkinson’s disease
www.parkinson.lu
&
Adjunct Assistant Professor,
Division of Analytical Biosciences,
Leiden Academic Centre for Drug Research,
Faculty of Science,
University of Leiden.
http://analyticalbiosciences.leidenuniv.nl
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Mobile:  +352 621 175 112
Office: +352 466 644 5528
Skype: ronan.fleming
----------------------------------------------------------------------------
(This message is confidential and may contain privileged information. It is intended for the named recipient only. If you receive it in error please notify me and permanently delete the original message and any copies.)

Laurent Heirendt

unread,
Oct 24, 2017, 2:57:43 AM10/24/17
to COBRA Toolbox
Hi Bhushan,

May you clone the cobratoolbox into a personal directory, i.e. your home (~/) without sudo?

This error is most likely linked to the fact that you cloned into a system folder using super user (sudo) rights, which are not set when running initCobraToolbox.

Best,

Laurent

Bhushan Dhamale

unread,
Nov 2, 2017, 5:37:58 AM11/2/17
to COBRA Toolbox
Disabling SSL certificate verification using git config --global http.sslVerify "false" fixed the issue.
Thank you for your support Laurent.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbo...@googlegroups.com.

Laurent Heirendt

unread,
Nov 6, 2017, 3:56:11 AM11/6/17
to COBRA Toolbox
Hi Bhushan,

This is now set by default.

Best,

Laurent
Reply all
Reply to author
Forward
0 new messages