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

Application Error: The specified procedure could not be found. #8

Open
mohsentaleb opened this issue Jun 30, 2015 · 5 comments
Open

Comments

@mohsentaleb
Copy link

tl copy exits with the following error message:

Error: The specified procedure could not be found.
C:\Users\Mohsen\AppData\Roaming\npm\node_modules\tilelive-vector\node_modules\mapnik\lib\binding\node-v14-win32-x64\mapnik.node
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (C:\Users\Mohsen\AppData\Roaming\npm\node_modules\tilelive-vector\node_modules\mapnik\lib\mapnik.js:26:15)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
C:\Users\Mohsen\AppData\Roaming\npm\node_modules\tl\lib\commands\copy.js:71
          throw err;
                ^
Error: Invalid tilesource protocol: tmsource:

my npm list --depth=0 -g output:

\AppData\Roaming\npm
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
@springmeyer
Copy link

Hi @mohsentaleb - This problem is due to a broken node-mapnik installation. Have you tried re-installing fresh? See https://github.com/mapnik/node-mapnik/wiki/Troubleshooting#the-specified-procedure-could-not-be-found for details on this specific error. After reading and following that can you share with us the error you see from using ctypes.CDLL...?

@wilhelmberg
Copy link

@mohsentaleb the broken mapnik install might be due to the fact that, at the moment, we are stuck at compiling mapnik with VS2014 CTP4.
Hope that these problems will be gone in a few weeks, as VS2015 is about to be released soon and we plan to move to it as soon as possible.

If you have installed a newer (than VS2014 CTP4) vcredist or Visual Studio itself, it will render the installed CTP4, and thus mapnik, unusable.

Two possible solutions come to my mind:

Unistall everything newer than 2014 CTP4: vcredists and VS.
Reinstall CTP4 redist as outlined here:
https://github.com/mapnik/node-mapnik/#windows-specific

The final release of VS2015 is scheduled by Microsoft in about two weeks.
After that we we will need about two weeks to move all our build systems to 2015.
I hope, that then these problems won't occur anymore.

@mohsentaleb
Copy link
Author

@BergWerkGIS Thanks! will give it try after this.
BTW do you also have hints for running this on a CentOS x64 machine?

I get this error:

node: symbol lookup error: /node-v0.12.6-linux-x64/lib/node_modules/tilelive-vector/node_modules/mapnik/lib/binding/node-v14-linux-x64/mapnik.node: undefined symbol: _ZNK6mapnik9image_any7getSizeEv

my npm list:

@wilhelmberg
Copy link

@mohsentaleb sorry, I don't have any experience with CentOS,

@mohsentaleb
Copy link
Author

@BergWerkGIS I mean, not specifically CentOS, but Linux version of mapnik in general.

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

3 participants