Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./noc import-osm-data -f /mnt/tmp/mapnik/UA.osm -a "My Area"
- /opt/noc/contrib/lib/pycrypto-2.5-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack.
- _warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
- Importing OSM data from file '/mnt/tmp/mapnik/UA.osm'
- osm2pgsql SVN version 0.80.0 (32bit id space)
- Password:
- Using projection SRS 900913 (Spherical Mercator)
- Setting up table: gis_osm_point
- NOTICE: table "gis_osm_point" does not exist, skipping
- NOTICE: table "gis_osm_point_tmp" does not exist, skipping
- CREATE TABLE gis_osm_point ( osm_id int4,"access" text,"addr:housename" text,"addr:housenumber" text,"addr:interpolation" text,"admin_level" text,"aerialway" text,"aeroway" text,"amenity" )
- failed: ERROR: type "hstore" does not exist
- LINE 1: ...d" text,"width" text,"wood" text,"z_order" int4,tags hstore)
- ^
- Error occurred, cleaning up
- Traceback (most recent call last):
- File "manage.py", line 41, in <module>
- execute_manager(settings)
- File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 438, in execute_manager
- utility.execute()
- File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 379, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/opt/noc/contrib/lib/django/core/management/base.py", line 191, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/opt/noc/contrib/lib/django/core/management/base.py", line 220, in execute
- output = self.handle(*args, **options)
- File "/opt/noc/gis/management/commands/import-osm-data.py", line 64, in handle
- rbbox = self.process_file(options["file"], **options)
- File "/opt/noc/gis/management/commands/import-osm-data.py", line 135, in process_file
- subprocess.check_call(args)
- File "/usr/lib/python2.6/subprocess.py", line 488, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '['/usr/local/bin/osm2pgsql', '-m', '-k', '-p', 'gis_osm', '-G', '-S', 'share/osm2pgsql/default.style', '-d', 'noc', '-U', 'noc', '-W', '/mnt/tmp/map1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement