Skip to content

lack of editor.selectize.css and editor.selectize.js in datatables #17

@liuzhengzhe

Description

@liuzhengzhe

I follow the following steps:

git clone https://github.com/smartscenes/sstk/
cd sstk
git checkout dev

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
source ~/.bashrc
nvm install v10.13.0
npm install
./build.sh
cd client
npm install
./build.sh
cp -r $path_to_datatables.editor$ js/vendor/
cd ../
./getexamples.sh
cd server
./run.sh
navigate to: http://localhost:8010/scans/nyuv2

click the image: the interface works fine.

However,

when I click “Anns(0)”: in the page:

http://localhost:8010/scans/segment-annotations/list?itemId=nyuv2.bedroom_0114

There is an error that
"The resource from “http://localhost:8010/client/js/vendor/datatables.editor/css/editor.selectize.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff)."
and
The resource from “http://localhost:8010/client/js/vendor/datatables.editor/js/editor.selectize.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

However, there is no editor.selectize.css and editor.selectize.js in datatables package. I use datatables version 1.9.4

Besides, I think datatables package and the above 2 files are necessary to export the semantic segmentation annotations, because I found that the export code needs the information of the above link where the error occurs (in nyuv2.json file). Is that correct?

Thanks

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