New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with the next_meetup tag #15

Closed
wikimatze opened this Issue Sep 15, 2013 · 3 comments

Comments

Projects
None yet
3 participants
@wikimatze
Member

wikimatze commented Sep 15, 2013

I was going to build the latest version and got the following error message:

jekyll build
Configuration file: /home/wikimatze/Dropbox/git-repositories/vimberlin.de/_config.yml
            Source: /home/wikimatze/Dropbox/git-repositories/vimberlin.de
       Destination: /home/wikimatze/Dropbox/git-repositories/vimberlin.de/_site
      Generating...   Liquid Exception: undefined method `data' for nil:NilClass in _posts/2012-01-27-2012-01-meetup.md

The problem was in the next_event_tag.rb file. I removed the following line:

...
 .select  do |page| Time.parse(page.data['when']) >= Time.now end
...

and it worked again. Can somebody fix this?

Cheers

Matthias

wikimatze pushed a commit that referenced this issue Sep 15, 2013

@wikimatze wikimatze closed this Sep 15, 2013

@blueyed

This comment has been minimized.

Show comment
Hide comment
@blueyed

blueyed Sep 15, 2013

Is this fixed, or just worked around?

Also, you removed another line in the commit:

.select  do |page| page.data['layout'] == 'event' end

In both cases there is page.data, and page appears to be nil?

blueyed commented Sep 15, 2013

Is this fixed, or just worked around?

Also, you removed another line in the commit:

.select  do |page| page.data['layout'] == 'event' end

In both cases there is page.data, and page appears to be nil?

@wikimatze

This comment has been minimized.

Show comment
Hide comment
@wikimatze

wikimatze Sep 16, 2013

Member

Yeah, I played with it and removed the line you've mentioned. It working fine now and the deployment, so for me it is fixed but there are plenty of TO-DOs inside the plugins that can be fixed.

Member

wikimatze commented Sep 16, 2013

Yeah, I played with it and removed the line you've mentioned. It working fine now and the deployment, so for me it is fixed but there are plenty of TO-DOs inside the plugins that can be fixed.

nougad added a commit to nougad/vimberlin.de that referenced this issue Sep 20, 2013

@nougad

This comment has been minimized.

Show comment
Hide comment
@nougad

nougad Sep 20, 2013

Contributor

Sorry, I haven't seen the issue until now. The removed line is fine but I don't check the case if there is no next event.

Contributor

nougad commented Sep 20, 2013

Sorry, I haven't seen the issue until now. The removed line is fine but I don't check the case if there is no next event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment