You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS:
Debian 12, Linux h8-debian-4gb-fsn1-2 6.1.0-10-arm64
Description of the bug:
Installation fails. https://github.com/maputnik/editor/wiki/Maputnik-CLI says "The Maputnik CLI is a Golang based cross platform executable.".
However, after downloading
$ ./maputnik
-bash: ./maputnik: cannot execute binary file: Exec format error
"file ./maputnik" says "./maputnik: ELF 64-bit LSB executable, x86-64" so this is not surprising.
that fails with
npm ERR! code 1
npm ERR! path /home/ajtown/src/maputnik/editor-1.7.0/node_modules/fibers
npm ERR! command failed
npm ERR! command sh -c node build.js || nodejs build.js
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@18.13.0 | linux | arm64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
(Python 3.11.2 is installed; no Python 2 version is installed)
if I do this:
export PYTHON=/usr/bin/python3
npm install
that fails with
npm ERR! code 1
npm ERR! path /home/ajtown/src/maputnik/editor-1.7.0/node_modules/fibers
npm ERR! command failed
npm ERR! command sh -c node build.js || nodejs build.js
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@18.13.0 | linux | arm64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python3 -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack File "", line 1
npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:419:12)
Steps to reproduce the behavior:
(see above)
Style file or style URL:
n/a
Screenshots:
n/a
The text was updated successfully, but these errors were encountered:
Maputnik version:
n/a; I'm not getting that far. I'm starting by trying to follow https://github.com/maputnik/editor/wiki/Maputnik-CLI#install .
Browser:
n/a; I'm not getting that far.
OS:
Debian 12, Linux h8-debian-4gb-fsn1-2 6.1.0-10-arm64
Description of the bug:
Installation fails.
https://github.com/maputnik/editor/wiki/Maputnik-CLI says "The Maputnik CLI is a Golang based cross platform executable.".
However, after downloading
$ ./maputnik
-bash: ./maputnik: cannot execute binary file: Exec format error
"file ./maputnik" says "./maputnik: ELF 64-bit LSB executable, x86-64" so this is not surprising.
Build from source fails.
I'm guessing here because the nearest thing to build instructions is the section at https://github.com/maputnik/editor/blob/master/README.md#develop that merely says "npm install..."
If I download and unzip https://github.com/maputnik/editor/archive/refs/tags/v1.7.0.zip, and then:
sudo apt install npm
npm install
that fails with
npm ERR! code 1
npm ERR! path /home/ajtown/src/maputnik/editor-1.7.0/node_modules/fibers
npm ERR! command failed
npm ERR! command sh -c node build.js || nodejs build.js
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@18.13.0 | linux | arm64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
(Python 3.11.2 is installed; no Python 2 version is installed)
if I do this:
export PYTHON=/usr/bin/python3
npm install
that fails with
npm ERR! code 1
npm ERR! path /home/ajtown/src/maputnik/editor-1.7.0/node_modules/fibers
npm ERR! command failed
npm ERR! command sh -c node build.js || nodejs build.js
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@18.13.0 | linux | arm64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python3 -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack File "", line 1
npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:419:12)
Steps to reproduce the behavior:
(see above)
Style file or style URL:
n/a
Screenshots:
n/a
The text was updated successfully, but these errors were encountered: