gitbook icon indicating copy to clipboard operation
gitbook copied to clipboard

Error loading your book

Open KINGSABRI opened this issue 10 years ago • 11 comments

Hello guys

I'm getting the following error when I open a book

An unexpected error occurred when trying to load your book: References 'refs/remotes/origin/master' not found

OS: Ubuntu 15.10 64-bit Gitbook Editor: 5.0.5

KINGSABRI avatar Apr 18 '16 02:04 KINGSABRI

Hi,

This usually comes up for me when I have the repo opened in another editor (like Atom).

Cheers, Imre

nagim avatar Apr 18 '16 11:04 nagim

@nagim thanks

Actually, I didn't, until this error appeared, then I open it with Kwrite/Kate

Any fix for that, plz?

KINGSABRI avatar Apr 19 '16 00:04 KINGSABRI

Same error for me. It was working one day then the next day, without having changed anything, I opened Gitbook Editor and got this error. While looking around on web I found that the Gitbook errors.html file doesn't exist. That yields a 404 error. In general, I find that user documentation is really lacking and seems that nobody is responding to these comments either.

Abel-Torres avatar May 05 '16 21:05 Abel-Torres

@KINGSABRI @Abel-Torres Sorry for the late response. A few questions to help me debug the issue:

  • Does the Git repository associated to your book still has the remote origin? You can paste me the output of git remote show origin in the book's folder.
  • What is the output of git branch ?

@Abel-Torres Since a few weeks, we are working on improving our documentation, both for GitBook.com and the GitBook toolchain.

The documentation for the GitBook Toolchain lives at toolchain.gitbook.com, and its source at GitbookIO/gitbook/tree/master/docs The new documentation for GitBook.com lives at help.gitbook.com, and its source at GitbookIO/help.gitbook.com.

Feel free to collaborate on both (issues or PRs are welcome).

There are still a few dead links that we are working on fixing.

SamyPesse avatar May 06 '16 08:05 SamyPesse

@SamyPesse

Error loading your book:

An unexpected error occurred when trying to load your book: Branch "undefined" doesn't exist

I changed the name of the book in the settings & linked it to GitHub; now it won't load.

NDuma avatar Jun 02 '16 23:06 NDuma

Running into this issue as well.

It's very discouraging after having invested several hours in creating the content.

nuprin avatar Sep 13 '16 00:09 nuprin

Resolved by unlinking from the Github repository I was trying to sync to.

Here was the error message, if helpful:

github_-tech_lead_training _gitbook

nuprin avatar Sep 13 '16 00:09 nuprin

Same here, you have to unlink from Github repo, this is really strange behavior.

leondu avatar Sep 18 '16 07:09 leondu

This occurred for me when I tried to link to a Github repo that I had not yet added any content to.

To repro:

  1. Create github repo. Add no content.
  2. Create gitbook book
  3. Link gitbook with Github repo
  4. Attempt to edit through Gitbook interface

Committing to the Github repo and then repeating 4 removed the error.

Note: I expected Gitbook to commit the boiler plate pages to Github. Instead, Gitbook was wiped and contents pulled from Github.

pboyer avatar Nov 16 '16 02:11 pboyer

the same to me

Passluo avatar Jan 02 '17 11:01 Passluo

I have the same issue... Any update?

thedaviddias avatar Apr 05 '17 06:04 thedaviddias