Skip to content
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

Page debugging causes unnecessary error #513

Open
tristantarrant opened this issue Feb 22, 2016 · 6 comments
Open

Page debugging causes unnecessary error #513

tristantarrant opened this issue Feb 22, 2016 · 6 comments
Milestone

Comments

@tristantarrant
Copy link
Contributor

When building our site (infinispan.github.io) with Awestruct 0.5.7 we get the following stacktrace

An error occurred: no implicit conversion of nil into String
/var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/handlers/javascript_handler.rb:28:in basename' /var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/handlers/javascript_handler.rb:28:inoutput_filename'
/var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/handlers/base_handler.rb:44:in output_path' /var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/page.rb:67:inoutput_path'
/var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/page.rb:35:in inspect' /var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/page.rb:45:ininherit_front_matter_from'

Commenting out line 45 in page.rb (which is just a debug log) everything works smoothly.

@LightGuard
Copy link
Member

How do you not have an output_filename?

@tristantarrant
Copy link
Contributor Author

How should I know ? :)

You can check out the "develop" branch from https://github.com/infinispan/infinispan.github.io and run awestruct on that :)

@LightGuard LightGuard modified the milestones: 0.5.8, 0.6.0 Feb 22, 2016
@LightGuard
Copy link
Member

I think I have this fixed, but if it creeps back up, let me know.

@jpechane
Copy link

Hi, we've been bitten by this on Debezium project too. Is there a timeplan for a release with this fix?

Thanks

@LightGuard
Copy link
Member

@jpechane It should be in the latest release of awestruct.

@zbynek
Copy link
Contributor

zbynek commented Sep 2, 2019

@jpechane is this still a problem with awestruct 0.6.0-alpha3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants