Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Unable to run demo on local BACKSTAGE #36

@sanchezw

Description

@sanchezw

Hi,

I have install exhivi3 as described in [1]. The installation was successful. The I have uploaded demo data (from backstage/demos/sweden-europeana/europeana-swe.json) using the instruction from [2]. I am able to browse the imported data using [3]. The Then I have updated the index.html with the following information:

<link href="http://localhost:8181/backstage/data/disk/55ab6c5a" rel="exhibit/data" /> 

<script src="http://localhost:8181/backstage/exhibit/api/exhibit-api.js?autoCreate=false&postLoad=true&js=http://localhost:8181/backstage/api/backstage-api.js"></script> 

I have the following error in the browser:

$ is not a function
$(document).one("scriptsLoaded.exhibit", loadMe); - Line 150 of backstage-api.js

and:
Operation is not supported

I have also set up DATABASE_DIR with absolute path to /home/myusername/dev/e3src/butterfly/databases.

I have the same error with and without this database variable.

I appreciate any help to solve this issue.

William

[1] https://github.com/zepheira/backstage/wiki/Building-backstage
[2] curl -i -H "Content-Type: application/json" -X POST -T europeana-swe.json http://localhost:8181/backstage/data/disk
[3] http://localhost:8181/backstage/data/disk/55ab6c5a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions