Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Delete all indexes in Elasticsearch related to Arches
- delete: all
- deleting index by path: maplayers
- Traceback (most recent call last):
- File "manage.py", line 32, in <module>
- execute_manager(settings)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
- utility.execute()
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", line 220, in execute
- output = self.handle(*args, **options)
- File "/home/ashish/arches/build/management/commands/index.py", line 60, in handle
- self.delete_index('maplayers')
- File "/home/ashish/arches/build/management/commands/index.py", line 490, in delete_index
- se.delete(index=index, force=True)
- File "/home/ashish/arches/Arches/Search/search.py", line 46, in delete
- return self.conn.delete(path)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/rawes/elastic.py", line 63, in delete
- return self.request('delete', path, **kwargs)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/rawes/elastic.py", line 82, in request
- return self.connection.request(method, new_path, **kwargs)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/rawes/http_connection.py", line 42, in request
- return self._decode(response)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/rawes/http_connection.py", line 48, in _decode
- decoded = json.loads(response.text)
- File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
- return _default_decoder.decode(s)
- File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
- raise ValueError("No JSON object could be decoded")
- ValueError: No JSON object could be decoded
- Index all the concepts into Elasticsearch
- index: concept
- Traceback (most recent call last):
- File "manage.py", line 32, in <module>
- execute_manager(settings)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
- utility.execute()
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", line 220, in execute
- output = self.handle(*args, **options)
- File "/home/ashish/arches/build/management/commands/index.py", line 90, in handle
- self.index_concepts_for_search()
- File "/home/ashish/arches/build/management/commands/index.py", line 173, in index_concepts_for_search
- se.create_mapping('concept', 'all', 'conceptid', 'string', 'not_analyzed')
- File "/home/ashish/arches/Arches/Search/search.py", line 145, in create_mapping
- self.index_data(index=index)
- File "/home/ashish/arches/Arches/Search/search.py", line 182, in index_data
- 'refresh': 'true'
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/rawes/elastic.py", line 60, in post
- return self.request('post', path, **kwargs)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/rawes/elastic.py", line 82, in request
- return self.connection.request(method, new_path, **kwargs)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/rawes/http_connection.py", line 42, in request
- return self._decode(response)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/rawes/http_connection.py", line 48, in _decode
- decoded = json.loads(response.text)
- File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
- return _default_decoder.decode(s)
- File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
- raise ValueError("No JSON object could be decoded")
- ValueError: No JSON object could be decoded
- Load all the buisiness data
- operation: load_from_csv
- time to parse csv = 4.4459939003
- Traceback (most recent call last):
- File "manage.py", line 32, in <module>
- execute_manager(settings)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
- utility.execute()
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", line 220, in execute
- output = self.handle(*args, **options)
- File "/home/ashish/arches/build/management/commands/build.py", line 77, in handle
- self.load_from_csv(rootpath)
- File "/home/ashish/arches/build/management/commands/build.py", line 271, in load_from_csv
- return loader.parsecsv(filepath)
- File "/home/ashish/arches/db/ETL/loadfromcsv.py", line 88, in parsecsv
- return resourceListToEntities(resourceList)
- File "/home/ashish/arches/db/ETL/loadfromcsv.py", line 141, in resourceListToEntities
- entity.create_from_mapping(row.resourcetype, schema[row.attributename]['steps'], row.attributename, row.attributevalue)
- KeyError: 'COMPILER.E82'
- Populate the db with the maplayers based on the buisiness data
- load: maplayers
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- UPDATE 0
- Compiles all the static files
- operation: build
- current file is: /home/ashish/arches/Arches/P4/data.py
- Traceback (most recent call last):
- File "manage.py", line 32, in <module>
- execute_manager(settings)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
- utility.execute()
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", line 220, in execute
- output = self.handle(*args, **options)
- File "/home/ashish/arches/build/management/commands/build.py", line 70, in handle
- self.compilePythonFilesByPath([os.path.join('Arches','P4')], rootpath)
- File "/home/ashish/arches/build/management/commands/build.py", line 114, in compilePythonFilesByPath
- themod = __import__(os.path.normpath(os.path.join(path,f)).replace(os.path.sep, ".").replace(".py", ""))
- File "/home/ashish/arches/Arches/P4/data.py", line 486, in <module>
- init()
- File "/home/ashish/arches/Arches/P4/data.py", line 74, in init
- write_app_config(cur, sb, os.path.join(util.PATH,'Arches','Media','js','debug', 'config', 'app.js'))
- File "/home/ashish/arches/Arches/P4/data.py", line 367, in write_app_config
- entitytype = archesmodels.EntityTypes.objects.get(pk = settings.PRIMARY_DISPLAY_NAME_LOOKUPS['entity_type'])
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/db/models/manager.py", line 132, in get
- return self.get_query_set().get(*args, **kwargs)
- File "/home/ashish/arches/virtualenv/ENV/local/lib/python2.7/site-packages/django/db/models/query.py", line 349, in get
- % self.model._meta.object_name)
- Arches.Models.models.DoesNotExist: EntityTypes matching query does not exist.
Advertisement
Add Comment
Please, Sign In to add comment