opencobra / cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
https://opencobra.github.io/cobratoolbox
Other
252 stars 317 forks source link

COBRA update initialisations error updateCobraToolbox #831

Closed smsinks closed 7 years ago

smsinks commented 7 years ago

Please include a short description of problem here

What does the error below mean? I have tried all I can, check online... No explanation. Thanks

updateCobraToolbox > Checking for available updates ... fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git command [...] -- [...]' > The SHA1 of the last commit could not be retrieved.HEAD fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git command [...] -- [...]' Warning: The name of the current feature (branch) could not be retrieved. > In updateCobraToolbox>getCurrentBranchName (line 171) In updateCobraToolbox (line 29) I hereby confirm that I have:

(Note: You may replace [] with [X] to check the box)

laurentheirendt commented 7 years ago

@smsinks, may you submit the output here of:

>> generateSystemConfigReport

as well as the output of

$ cd cobratoolbox
$ git status

Please note that you can only update your version of the COBRA Toolbox when you don't have any local changes.

laurentheirendt commented 7 years ago

Closing, as error cannot be reproduced. The reported error is most likely related to local changes that have been made.

@smsinks, if you encounter further issues, please use our forum. Thanks 👍