Skip to content

Problems with Installation #4

@zuphilip

Description

@zuphilip

I tried to install bcite but didn't succeed. The online app shows for any input

<class 'IndexError'> at /
list index out of range

and points to

idCitingRef = response[0]['id']
but I guess that the problem here is that response=[]. Any idea what could be the problem?


Then I looked into python3 script/api/test/bciteapi.py but couldn't get this working. What I faced so far with this call:

  • ImportError: No module named script.api.bciteapi --> Fixed by export PYTHONPATH="${PYTHONPATH}:/main/directory/of/the/repository" but maybe you can fix that also in the code...
  • rdflib.plugin.PluginException: No plugin registered for (json-ld,... --> Fixed by pip install rdflib-jsonld
  • Tests are now running but showing me TypeError: the JSON object must be str, not 'bytes' and AssertionError: Subject None must be an rdflib term. --> How to fix that? Are tests working for you?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions