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

RDFFramework not finding RML #27

Open
jermnelson opened this issue Dec 21, 2018 · 0 comments
Open

RDFFramework not finding RML #27

jermnelson opened this issue Dec 21, 2018 · 0 comments
Labels

Comments

@jermnelson
Copy link
Member

Trying to run python simple.py causes this error:

Traceback (most recent call last):
  File "simple.py", line 34, in <module>
    triplestore_url=app.config.get("TRIPLESTORE_URL"))
  File "/home/jpnelson/2018/rdfframework/rdfframework/rml/processor.py", line 947, in __init__
    super(SPARQLProcessor, self).__init__(rml_rules, **kwargs)
  File "/home/jpnelson/2018/rdfframework/rdfframework/rml/processor.py", line 79, in __init__
    raw_rule = RML_MGR.get_rml(rule, 'data').decode()
  File "/home/jpnelson/2018/rdfframework/rdfframework/rml/rmlmanager.py", line 206, in get_rml
    raise LookupError("rml_name '%s' is not registered" % rml_name)
LookupError: rml_name '/usr/local/lib/python3.5/site-packages/bibcat/maps/bf-to-schema_rdfw.ttl' is not registered```

Fixed by hard coding path to `bf-to-schema_rdfw.ttl`
@jermnelson jermnelson added the bug label Dec 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant