Comments (8)
How do you invoke the script?
Be sure that you are inside the build
directory:
fredj@kirishima:~ $ cd public_html/openlayers/build/
fredj@kirishima:~/public_html/openlayers/build $ ./build.py
erging libraries.
Importing: OpenLayers/Map.js
Importing: OpenLayers/Layer/WMS.js
Resolution pass 1...
Importing: OpenLayers/BaseTypes/Class.js
Importing: OpenLayers/Util.js
Importing: OpenLayers/Events.js
[...]
from ol2.
I try both , inside and outside the build directory, its end the same way...
resa@resa-desktop:$ /home/resa/openlayers/build/build.py$ cd /home/resa/openlayers/build/
: No such file or directory
resa@resa-desktop:
resa@resa-desktop:/openlayers/build$ ./build.py/openlayers/build$
: No such file or directory
resa@resa-desktop:
from ol2.
What's the output of python --version
?
from ol2.
resa@resa-desktop:/openlayers/build$ python --version/openlayers/build$
Python 2.6.5
resa@resa-desktop:
from ol2.
I've the same python version.
Can you try to run: python build.py
and python build.py lite
(inside build
)
from ol2.
Ok, here is the output for this two commands :
resa@resa-desktop:/openlayers/build$ python build.py/openlayers/build$ python build.py lite
Traceback (most recent call last):
File "build.py", line 6, in
import mergejs
ImportError: No module named mergejs
resa@resa-desktop:
Traceback (most recent call last):
File "build.py", line 6, in
import mergejs
ImportError: No module named mergejs
resa@resa-desktop:~/openlayers/build$
maybe something is missing in my python install...
from ol2.
mergejs comes from the ../tools directory and is imported by build.py
(line 5). Is this directory present on you environment ? (same level as build)
from ol2.
Yes this directory and mergejs.py file are present on my environment. Anyway, I completely remove my python install and reinstall it and no problems appears anymore ... I don't know what exactly the problem was but thanks you a lot for your help !
from ol2.
Related Issues (20)
- Maps do not pan in Chrome 55 or Microsoft Edge HOT 2
- implement openlayers with bing offline server
- Featureclick eventListeners randomly not work on chrome 51 HOT 1
- Get OpenLayers from packagist
- Clojure Compiler Link is dead
- Scroll bar does not show in Popup.FramedCloud in mobile devices (OL 2.13.1) HOT 3
- Need to add set style feature to Google Layer HOT 1
- OpenStreetMap newly redirecting tile URLs. Problem on safari HOT 1
- Incorrect Web Mercator transforms with newest versions of proj4js
- Map extent is increased after setting base layer
- How to Convert Circle Polygon Geometry to Line in openlayers 2 HOT 1
- Snapping another layer point with Create Circle Polygon in Openlayers 2
- how to show a arrow feature by some longitude
- Ping (ICMP) send during Layer/Map request
- Image getting stretched in Image layer
- How to Change style of point feature to polygon?
- Open source License obligations of openlayers-2.13.1 HOT 3
- Responsible disclosure policy
- Dev.openlayers.org is gone HOT 10
- Google Map Layers not rendering anymore HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ol2.