Code Monkey home page Code Monkey logo

Comments (16)

lovasoa avatar lovasoa commented on June 9, 2024 1

Well, then let's open it again

from dezoomify.

lovasoa avatar lovasoa commented on June 9, 2024

Hi,
I looked at the site, they use openlayers, which is not supported by dezoomify. I may add support for this later, but I currently don't have the time.

For the commandline, tool, I added a video to the documentation. If it's still not clear, don't hesitate to ask questions.

from dezoomify.

Eagle1911 avatar Eagle1911 commented on June 9, 2024

Oke, I understand.

Now I still got problems with dezoomify via cmd on Win10. I keep gettings error when installing dependies.

`Microsoft Windows Version 10.0.10240 2015 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>cd c:/

c:>node --version
v6.2.0

c:>cd C:\dezoomify-master\node-app

C:\dezoomify-master\node-app>npm install

[email protected] install C:\dezoomify-master\node-app\node_modules\canvas
node-gyp rebuild

C:\dezoomify-master\node-app\node_modules\canvas>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:401:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:356:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:117:15)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\dezoomify-master\node-app\node_modules\canvas
gyp ERR! node -v v6.2.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
[email protected] C:\dezoomify-master\node-app
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | -- [email protected] | |-- [email protected]
| | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | |-- [email protected]
| -- [email protected] -- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
| -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] |-- [email protected]
+-- [email protected]
+-- [email protected]
| -- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] |-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | -- [email protected] | | +-- [email protected] | |-- [email protected]
| +-- [email protected]
| | -- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | |-- [email protected]
| | +-- [email protected]
| | -- [email protected] |-- [email protected]
| -- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] |-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | -- [email protected] |-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | -- [email protected] | +-- [email protected] | +-- [email protected] | |-- [email protected]
| +-- [email protected]
| +-- [email protected]
| -- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] |-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]

npm WARN [email protected] license should be a valid SPDX license expression
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp 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 canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs canvas
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls canvas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\dezoomify-master\node-app\npm-debug.log

C:\dezoomify-master\node-app>`

Thanks

from dezoomify.

lovasoa avatar lovasoa commented on June 9, 2024

Installing node-canvas on windows isn't straightforward, but they provide a HOWTO: https://github.com/Automattic/node-canvas/wiki/Installation---Windows

Or you could just install a linux virtual machine...

from dezoomify.

Eagle1911 avatar Eagle1911 commented on June 9, 2024

Tried Ubuntu in Vmware with no luck. Getting similar errors with canvas this.. cairo that..
I give up.

Thanks anways!

from dezoomify.

lovasoa avatar lovasoa commented on June 9, 2024

Please, just try this on your VM before giving up:

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install nodejs libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
git clone https://github.com/lovasoa/dezoomify.git
cd dezoomify/node-app
npm install
node dezoomify-node.js "http://www.hyper-photo.com/hyperpano/babel17/" "babel17.jpg"

Just enter your password when asked to do so.

from dezoomify.

Eagle1911 avatar Eagle1911 commented on June 9, 2024

That works! Thanks! However, it takes me several re-tries to load all tiles completely. Big files seem to hang around 90% when loading those tiles. Raising VM ram and increasing CPU cores don't help.

Do u have any tips?

from dezoomify.

lovasoa avatar lovasoa commented on June 9, 2024

You should open another issue about that. I'll investigate this when I'll have time. I suspect it's because we load the first tiles too fast, making the server's latency increase.

19 мая 2016 г. 11:56:30 GMT+03:00, Eagle1911 [email protected] пишет:

That works! Thanks! However, it takes me several re-tries to load all
tiles completely. Big files seem to hang around 90% when loading those
tiles. Raising VM ram and increasing CPU cores don't help.

Do u have any tips?


You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
#47 (comment)

from dezoomify.

Eagle1911 avatar Eagle1911 commented on June 9, 2024

Sorry for getting offtopic. But now u have mentioned server latency, I tried to decrease VMware's bandwidth from Unlimited to 10 Mbps and voila, no issues anymore. This also fixed the ''Request failed, retrying'' messages I was getting quit often when loading the tiles.

Thanks!

from dezoomify.

lovasoa avatar lovasoa commented on June 9, 2024

That's a clever idea! I still have to patch dezoomify itself in order for the issue not to be here in the first place, though.

19 мая 2016 г. 12:59:03 GMT+03:00, Eagle1911 [email protected] пишет:

Sorry for getting offtopic. But now u have mentioned server latency, I
tried to decrease VMware's bandwidth from Unlimited to 10 Mbps and
voila, no issues anymore. This also fixed the ''Request failed,
retrying'' messages I was getting quit often when loading the tiles.

Thanks!


You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
#47 (comment)

from dezoomify.

gregg128 avatar gregg128 commented on June 9, 2024
e-rara (Schweizer Bibliotheken)
    Beispielseite: http://www.e-rara.ch/zut/content/pageview/102788 (Bildnummer: 102788)
    Sonderlink Höchstauflösung: http://www.e-rara.ch/download/webcache/0/102788

from dezoomify.

lovasoa avatar lovasoa commented on June 9, 2024

Ok, thank you. I'm closing this issue, then.

from dezoomify.

gregg128 avatar gregg128 commented on June 9, 2024

Yep it seems to work: http://www.e-rara.ch/download/webcache/0/2748118

from dezoomify.

Eagle1911 avatar Eagle1911 commented on June 9, 2024

The webcache file is NOT the highest quality available from them. You will see why as soon as you press the zoom icon. This will generate far superior quality.

But sadly 'Generic dezoomer' does not work well with e-rara.ch. It just keeps loading the tiles.

from dezoomify.

1-Byte avatar 1-Byte commented on June 9, 2024

e-rara.ch as well as e-manuscripta.ch are supported by the VLS dezoomer now

from dezoomify.

lovasoa avatar lovasoa commented on June 9, 2024

It now works thanks to the work of @1-Byte . So I'm closing this issue.

from dezoomify.

Related Issues (20)

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.