Giter Club home page Giter Club logo

Comments (4)

iherman avatar iherman commented on July 23, 2024

Can you give me a file where you hit this issue? Or does it occur with any RDFa content? I am afraid it is an RDFLib issue...

from pyrdfa3.

iherman avatar iherman commented on July 23, 2024

Also, do you know what version of RDFLib is used underneath? You can do the following from a terminal:

14:19 wd> python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 12:39:47)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdflib
INFO:rdflib:RDFLib Version: 4.2.1
>>>

from pyrdfa3.

jneubert avatar jneubert commented on July 23, 2024

The file is generated and a bit lengthy, so I copied it to http://zbw.eu/beta/tmp/jel.html. A check with the markup validation service reveales that I introduced a typo into the template (missing " in a href attribute) with this version. The problem does not occur any more with http://zbw.eu/beta/tmp/jel_fixed.html (or a few other files I've checked).

Sorry for not having validated the output before (felt too save, it's the fifth or so version of this vocabulary).

So it is correct, that an error is thrown, and perhaps also having another error that the initial one could not be logged appropriately. However, it would be nice to have that on stderr instead of stdout, or have a dependency on the logging library during installation.

To answer your second question:

Python 2.7.5 (default, Nov  6 2016, 00:28:07)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdflib
>>> print rdflib.__version__
4.1.2
>>>

Prior versions of the JEL vocabulary have been converted in a much older environment (Python 2.4.3 with rdflib 2.4.2), where I don't remember similar effects.

from pyrdfa3.

iherman avatar iherman commented on July 23, 2024

@jneubert you should download a new version of the localRdfa script; it will either output the error message to the standard error, or you can use the (new) "-w" option to specify a file where the error should be stored.

from pyrdfa3.

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.