Git Product home page Git Product logo

Comments (19)

rjzupkoii avatar rjzupkoii commented on June 20, 2024 3

There error appears to be due to the excerpt being undefined YAML in Markdown in pages under the _pages/*.md path. I was able to fix my build by removing the lines in the relevant pages (see example commit).

That's interesting. I wonder what's causing that and if there's a proper fix rather than just deleting the excerpt from all pages and posts... I'm reluctant to do that as the excerpts are important to how things are presented in my archive pages.

I'm not sure, I'd have to dig a bit more into the code base, which I didn't really have time for when working on getting my website updated. However, since the project is using a lot of older versions of various gems it might be due to something else that broke. I've reached out to @staeiou via email about the issue and will try to prepare a proper patch that I can open a pull request for in the next couple days.

from academicpages.github.io.

alirk avatar alirk commented on June 20, 2024 2

@alirk I didn't remove anything in the _config.yml file, but rather the exerpt line from the *.md files themselves. This commit in my fork of academic pages is an example of the edit and you may need to make the change to multiple pages.

Thanks! It worked for me too. I had to remove lines including 'excerpt' in two files: 404.md and about.md both in _pages/ now it works :)

from academicpages.github.io.

rjzupkoii avatar rjzupkoii commented on June 20, 2024 1

Since it's been over a week now and I haven't seen any commenting on the issue still being a problem, I'm going to go ahead and close this issue.

from academicpages.github.io.

linyongver avatar linyongver commented on June 20, 2024

I have the same error

from academicpages.github.io.

gerardjoreilly avatar gerardjoreilly commented on June 20, 2024

Yes, I have the same error as well

from academicpages.github.io.

mmdt01 avatar mmdt01 commented on June 20, 2024

I am facing the same problem too.
Started building my page on Saturday (10/02/2024) which was working fine, but now I get build failure errors which are really confusing me :'(
Would appreciate any info if people find what the issue is! @staeiou

from academicpages.github.io.

rjzupkoii avatar rjzupkoii commented on June 20, 2024

There error appears to be due to the excerpt being undefined YAML in Markdown in pages under the _pages/*.md path. I was able to fix my build by removing the lines in the relevant pages (see example commit).

from academicpages.github.io.

alirk avatar alirk commented on June 20, 2024

I am facing the same issue. Another error message "Liquid Exception: undefined method `yaml_file?' for #<Jekyll::Page @name="404.md"> in /_layouts/single.html"

from academicpages.github.io.

ShayJordan avatar ShayJordan commented on June 20, 2024

There error appears to be due to the excerpt being undefined YAML in Markdown in pages under the _pages/*.md path. I was able to fix my build by removing the lines in the relevant pages (see example commit).

That's interesting. I wonder what's causing that and if there's a proper fix rather than just deleting the excerpt from all pages and posts... I'm reluctant to do that as the excerpts are important to how things are presented in my archive pages.

from academicpages.github.io.

alirk avatar alirk commented on June 20, 2024

There error appears to be due to the excerpt being undefined YAML in Markdown in pages under the _pages/*.md path. I was able to fix my build by removing the lines in the relevant pages (see example commit).

That's interesting. I wonder what's causing that and if there's a proper fix rather than just deleting the excerpt from all pages and posts... I'm reluctant to do that as the excerpts are important to how things are presented in my archive pages.

I'm not sure, I'd have to dig a bit more into the code base, which I didn't really have time for when working on getting my website updated. However, since the project is using a lot of older versions of various gems it might be due to something else that broke. I've reached out to @staeiou via email about the issue and will try to prepare a proper patch that I can open a pull request for in the next couple days.

It will be great if this is fixed in a few days. I tried to remove 'excerpt_separator' in _config.yml but that did not work. Then following the message above, I searched 'excerpt' in the entire repo it is used everywhere for example:

_includes/archive-single-cv.html: {% if post.venue%}

{{ post.citation }}

{% endif %}
_includes/archive-single-talk-cv.html: {% if post.venue%}

{{post.type}} at {{ post.venue }}, {{post.location}}

{% endif %}
_includes/archive-single-talk.html: {% if post.venue %}

{{post.type}}, {{ post.venue }}, {{post.location}} {% endif %}
_includes/archive-single-talk.html: {% if post.excerpt %}

{{ post.excerpt | markdownify }}

{% endif %}
_includes/archive-single.html: {% if post.excerpt and site.read_more != 'enabled' %}
_includes/archive-single.html:

{{ post.excerpt | markdownify }}


_includes/archive-single.html: {% elsif post.excerpt and site.read_more == 'enabled' %}
_includes/archive-single.html:

{{ post.excerpt | markdownify | remove: '

' | remove: '

' }} Read more

Not sure how to fix this run error by searching only over _pages/*.md?

from academicpages.github.io.

rjzupkoii avatar rjzupkoii commented on June 20, 2024

@alirk I didn't remove anything in the _config.yml file, but rather the exerpt line from the *.md files themselves. This commit in my fork of academic pages is an example of the edit and you may need to make the change to multiple pages.

from academicpages.github.io.

gerardjoreilly avatar gerardjoreilly commented on June 20, 2024

@alirk I didn't remove anything in the _config.yml file, but rather the exerpt line from the *.md files themselves. This commit in my fork of academic pages is an example of the edit and you may need to make the change to multiple pages.

Thanks! It worked for me too. I had to remove lines including 'excerpt' in two files: 404.md and about.md both in _pages/ now it works :)

Thanks! I did this also and it builds without any issues now.

from academicpages.github.io.

ZiqiGuo98 avatar ZiqiGuo98 commented on June 20, 2024

Having the same issue... But I am using "excerpt" everywhere in the *.md file and it can be hard to remove all of them...

from academicpages.github.io.

rjzupkoii avatar rjzupkoii commented on June 20, 2024

Having the same issue... But I am using "excerpt" everywhere in the *.md file and it can be hard to remove all of them...

@ZiqiGuo98 I'm keeping an eye on the bug report in jekyll/jekyll#9544, but it appears that a change to how the pages are built and deployed will be need for a robust fix. In the meantime, I'm removing the excerpt tag so that people can get back up and running.

from academicpages.github.io.

BUAAZFK avatar BUAAZFK commented on June 20, 2024

I can not deploy the page now, errors occured in the step of 'deploy' which is 'Deploy to GitHub Pages'. Is this a problem of Github server? because I did not change anything, the first two tries succeed, and then never.

from academicpages.github.io.

griffinjmbur avatar griffinjmbur commented on June 20, 2024

Hi, all. I have happened upon this as a very new user. Funny thing is that I can't even find a line with "excerpt" in it, possibly because I cloned the repo after this post was written -->

Having the same issue... But I am using "excerpt" everywhere in the *.md file and it can be hard to remove all of them...

@ZiqiGuo98 I'm keeping an eye on the bug report in jekyll/jekyll#9544, but it appears that a change to how the pages are built and deployed will be need for a robust fix. In the meantime, I'm removing the excerpt tag so that people can get back up and running.

... but I am having the same issue (the error message is that "The github-pages gem can't satisfy your Gemfile's dependencies.") My blog actually will publish, but the formatting is very strange. The local preview created with serve looks just fine, though.

from academicpages.github.io.

rjzupkoii avatar rjzupkoii commented on June 20, 2024

@griffinjmbur If you cloned after this issue was created then you should have that fix in place - I'm actually going to be closing this issue soon - however, the second problem sounds like it might be new and worth opening a new issue about. I'd need to see what the output you are getting looks like since this repository is deploying fine over github-pages.

from academicpages.github.io.

griffinjmbur avatar griffinjmbur commented on June 20, 2024

OK, thanks @rjzupkoii. I will try to write a very precise post since I am not a deft programmer outside minimal stuff in html or Stata/Python for stats. I could be missing something obvious, although I've troubleshot a lot of this process before successfully. Will post soon.

from academicpages.github.io.

griffinjmbur avatar griffinjmbur commented on June 20, 2024

@rjzupkoii yep, this fully fixed the issue for me, per my comment in the other thread. Thanks a million dude!!

from academicpages.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.