Coder Social home page Coder Social logo

mirador-desktop's People

Contributors

aeschylus avatar versae avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mnylc isabella232

mirador-desktop's Issues

Local .tiff not loading, no error

Using the mac binary download from Box, I did not have the problem that Jeff encountered in #4
But when I load a local tiff file, it is added to the list but the thumbnail is broken and the image will not load in the viewer.

Windows filepaths break the "open images" script?

Using the win32-x64 binary on Windows 10, I get an error when I try to open local images:

Uncaught SyntaxError: Unexpected token U in JSON at position 87
    at JSON.parse (<anonymous>)
    at Object.parseRecursion [as parse] (C:\Users\me\Downloads\Mirador Desktop-win32-x64\resources\app.asar\…:182)
    at EventEmitter.ipc.on (index.js:144)
    at emitMany (events.js:127)
    at EventEmitter.emit (events.js:201)

This links to VM260:3 in the debugger, which shows a problem with this line in the generated manifest:

"@id": "file:///C:\Users\me\Downloads\Mirador Desktop-win32-x64\Mirador Desktop-win32-x64\resources\app.asar/986c437c-8b67-4a6b-baa0-50ae71d30b30/manifest.json",

...which leads me to think it's because the app is concatenating forward slashes on top of Windows backslashes in the json filepath, which seems to be set at

const manifestUri = urljoin('file://', __dirname, manifestId, 'manifest.json');
. I don't know if this is really the problem though.

Image view for local images failing

After manually installing the mirador build from the mirador master branch, I got the app working.
I successfully loaded local files.

Clicking on the local file takes me to the gallery view, but then nothing seems to happen when I click on a thumbnail in the gallery view.

I can't seem to view the local image in image view.

I don't have this problem with non-local images.

"Publish" to upload to IIIFHosting.com

It would be great to be able to offer people a chance to publish the image directly into IIIFHosting.com.

We have a free plan with 5 images / 100 MBytes and commercial plans with higher storage.

Are you going to implement POST like at http://iiif.io/api/annex/rest/#post?

People would need to provide login/password - email / secure (copy and paste from https://admin.iiifhosting.com/api/) for doing that - so they would need an interface for providing these credentials (probably together with a link to create an account at IIIF Hosting).

How can we assist with making this happen?

Chrome OS / Chromebook application?

It would be amazing to have the Mirador desktop packed and published as a Chrome OS application.

https://chrome.google.com/webstore/category/apps

Everybody having Chromebook can then work with the local images as well as with remote images - it means a practical use in all classrooms.

Chromebook apps have access to authentication (they know who is logged in) so the app can be directly authenticated against a remote storage where the image data can be published too.

npm run build is failing

npm run build is failing

I'm getting the following error:

app $ npm run build

> [email protected] build /Users/jcwitt/Projects/sandbox/mirador-desktop/app
> npm run lint && npm run mirador:build && ./node_modules/.bin/electron-rebuild


> [email protected] lint /Users/jcwitt/Projects/sandbox/mirador-desktop/app
> eslint app/


> [email protected] mirador:build /Users/jcwitt/Projects/sandbox/mirador-desktop/app
> rm -rf assets/mirador && cd ../mirador && git pull && npm install && ./node_modules/.bin/grunt build && cp -r build/mirador ../app/assets/mirador; cd -

sh: line 0: cd: ../mirador: No such file or directory
sh: line 0: cd: OLDPWD not set

npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/jcwitt/.nvm/versions/node/v7.7.4/bin/node" "/Users/jcwitt/.nvm/versions/node/v7.7.4/bin/npm" "run" "mirador:build"
npm ERR! node v7.7.4
npm ERR! npm  v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] mirador:build: `rm -rf assets/mirador && cd ../mirador && git pull && npm install && ./node_modules/.bin/grunt build && cp -r build/mirador ../app/assets/mirador; cd -`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] mirador:build script 'rm -rf assets/mirador && cd ../mirador && git pull && npm install && ./node_modules/.bin/grunt build && cp -r build/mirador ../app/assets/mirador; cd -'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mirador-desktop package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     rm -rf assets/mirador && cd ../mirador && git pull && npm install && ./node_modules/.bin/grunt build && cp -r build/mirador ../app/assets/mirador; cd -
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs mirador-desktop
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls mirador-desktop
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/jcwitt/Projects/sandbox/mirador-desktop/app/npm-debug.log

npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/jcwitt/.nvm/versions/node/v7.7.4/bin/node" "/Users/jcwitt/.nvm/versions/node/v7.7.4/bin/npm" "run" "build"
npm ERR! node v7.7.4
npm ERR! npm  v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `npm run lint && npm run mirador:build && ./node_modules/.bin/electron-rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'npm run lint && npm run mirador:build && ./node_modules/.bin/electron-rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mirador-desktop package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run lint && npm run mirador:build && ./node_modules/.bin/electron-rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs mirador-desktop
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls mirador-desktop
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/jcwitt/Projects/sandbox/mirador-desktop/app/npm-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.