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

RDF/xml rendering broken #40

Open
bertvannuffelen opened this issue Apr 6, 2023 · 5 comments
Open

RDF/xml rendering broken #40

bertvannuffelen opened this issue Apr 6, 2023 · 5 comments

Comments

@bertvannuffelen
Copy link

I get the following error when coverting a jsonld to RDF/xml.

(__TEMPLATE__):7:in `__tilt_454360': undefined method `haml_tag' for #

I use the docker image: cimg/ruby:3.0.2 and perform gem install linkeddata .

What is the solution?

This issue has appeared just recently.

@gkellogg
Copy link
Member

gkellogg commented Apr 6, 2023

This was addressed in the recently updated version 3.2.1 of rdf-rdfxml. rdf-rdfa now allows Haml version > 6, while rdf-rdfxml is still dependent on Haml 5, due to support for haml_tag.

@bertvannuffelen
Copy link
Author

@gkellogg

thank for the feedback that this is a known issue.

To clearly understand your feedback:

  • the rdf-rdfxml has still to be updated?
  • if already fixed, does it then automatically propagate to the linkeddata gem?

@gkellogg
Copy link
Member

gkellogg commented Apr 7, 2023

If you gem install rdf-rdfxml, or do a bundle update, you should get the latest version. At some point, the linkeddata gem will be updated with the latest gem versions. There are other changes I’d likely want to make before doing that, though.

@wu-lee
Copy link

wu-lee commented May 5, 2023

In my case, I needed to explicitly install rdf-rdfxml v3.2.1 as a Gemfile dependency before I got version 3.2.1. A bundle update of my application (which depends on a gem which depends on linkeddata) still got version 3.2.0.

wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue May 5, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue May 5, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue May 5, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40
@gkellogg
Copy link
Member

gkellogg commented May 5, 2023

The issue with haml_tag has not been fixed yet, so rdf-rdfxml continues to depend on Nokogiri 1.13.

The linkeddata gem is not updated automatically when other gems are updated, it must be done manually, which typically happens when there is a consistent state to be updated. A gem update, or bundle update, should get you the latest versions of related gems. After updating linkeddata, a gem install linkeddata would have the affect of updating to the latest versions of dependent gems.

wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue May 7, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue May 31, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue May 31, 2023
….2.1+

As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40

Also bump se_open_data to 1.1.3
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue May 31, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40

Also bump se_open_data to 1.1.3
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue Jun 1, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40

Also bump se_open_data to 2.1.10
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue Jun 2, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40

Also bump se_open_data to 2.1.10
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue Jun 3, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue Jun 15, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40

Also bump se_open_data to 2.1.10
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue Jun 15, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40

Also bump se_open_data to 2.1.10
wu-lee pushed a commit to DigitalCommons/open-data that referenced this issue Oct 26, 2023
As linkeddata gem doesn't yet require this, we need to. This version
includes a fix for a bug which crashes the `seod generate` step
otherwise.

See ruby-rdf/rdf-rdfxml#40

Also bump se_open_data to 2.1.10
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

3 participants