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

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

Open
liuzhengzhe opened this issue Jul 14, 2020 · 0 comments
Open

Comments

@liuzhengzhe
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant