Comments (4)
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.
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.
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.
@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)
- Whitespace-insertion missing for structured data that spans multiple block elements HOT 6
- pydfa3 Adaption HOT 3
- How to handle timeout exception? HOT 2
- html5lib bug resolved? HOT 3
- Language markup (`lang="en") gets injected into strings with `rdf:HTML` datatype HOT 7
- Error simple rdfa HOT 2
- how hard would it be to extend pyRdfa3 to lxml.etree? HOT 2
- DeprecationWarning: the imp module is deprecated in favour of importlib HOT 1
- Distiller does not handle IRIs nor UTF-8 characters well when using direct input HOT 4
- missing documentation HOT 4
- html5lib seems to have python3 version now HOT 1
- Please consider formally issuing a new code release HOT 2
- Looking for a new maintainer HOT 5
- prytteXMLserializer_3_2.py: inconsistent use of tabs and spaces HOT 4
- Python 3 import error in pyRdfaExtras/__init__.py HOT 3
- Only ASCII support in rdf:HTML datatype HOT 6
- Error installing pyRdfaExtras due to tuple unpacking using Python 3.3 HOT 6
- pyRdfa fails on case-sensitive systems HOT 5
- pyrdfa3 repository vs. rdflib's copy of pyrdfa3 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrdfa3.