You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a github action set up to run pyLODE on the ttl in my github repo. Last week it worked; when I did a push today I got an error on the action. looking at the logs, the difference seems to be this:
/usr/local/lib/python3.8/dist-packages/pylode/profiles/ontdoc.py:763: UserWarning: Code: domainIncludes is not defined in namespace SDO
for o in self.G.objects(subject=s, predicate=SDO.domainIncludes):
/usr/local/lib/python3.8/dist-packages/pylode/profiles/ontdoc.py:819: UserWarning: Code: rangeIncludes is not defined in namespace SDO
for o in self.G.objects(subject=s, predicate=SDO.rangeIncludes):
.... stack trace omitted...
File "/usr/local/lib/python3.8/dist-packages/pylode/profiles/base.py", line 467, in _make_schemaorg_metadata
return g.serialize(format="json-ld").decode("utf-8")
AttributeError: 'str' object has no attribute 'decode'
Error: Process completed with exit code 1.
any ideas?
The text was updated successfully, but these errors were encountered:
Fix AttributeError of serialize(). With backwards compatibility for
rdflib==5.0.0, as its the last python 2 release and as long as pyLODE
might still support rdflib 5.0.0
I have a github action set up to run pyLODE on the ttl in my github repo. Last week it worked; when I did a push today I got an error on the action. looking at the logs, the difference seems to be this:
works (last week):
...
...
... starts generating html files
Doesn't work (today)
...
...
then:
.... stack trace omitted...
any ideas?
The text was updated successfully, but these errors were encountered: