I just re-installed arches and arches hip as a new project.  Did all the 
setup, created a database etc.  copied the files from the ENV authority 
directory into my project authority directory and  re-ran the command to 
load the authority files and I still get the same results.  No error log 
written, but I don't see where it even got past the first file.
Here is the text from the cmd window:

(ENV) c:\ArchProject\hp_prc>python manage.py packages -o 
load_concept_scheme -s
C:\ArchProject\hp_prc\hp_prc\source_data\concepts\authority_files
operation: load_concept_scheme
package: hp_prc

LOADING AUTHORITY FILES 
(C:\ArchProject\hp_prc\hp_prc\source_data\concepts\autho
rity_files)
-----------------------
ACTIVITY_TYPE_AUTHORITY_DOCUMENT.CSV
Traceback (most recent call last):
  File "manage.py", line 28, in <module>
    execute_from_command_line(sys.argv)
  File 
"c:\ArchProject\ENV\lib\site-packages\django\core\management\__init__.py"
, line 399, in execute_from_command_line
    utility.execute()
  File 
"c:\ArchProject\ENV\lib\site-packages\django\core\management\__init__.py"
, line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"c:\ArchProject\ENV\lib\site-packages\django\core\management\base.py", li
ne 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File 
"c:\ArchProject\ENV\lib\site-packages\django\core\management\base.py", li
ne 285, in execute
    output = self.handle(*args, **options)
  File 
"c:\ArchProject\ENV\lib\site-packages\arches\management\commands\packages
.py", line 97, in handle
    self.load_concept_scheme(package_name, options['source'])
  File 
"c:\ArchProject\ENV\lib\site-packages\arches\management\commands\packages
.py", line 324, in load_concept_scheme
    load(data_source)
  File "c:\ArchProject\hp_prc\hp_prc\setup.py", line 12, in 
load_authority_files

    setup.authority_files.load_authority_files(path_to_files, 
break_on_error=Tru
e)
  File 
"c:\ArchProject\ENV\lib\site-packages\arches\management\commands\package_
utils\authority_files.py", line 57, in load_authority_files
    errors = errors + load_authority_file(cursor, path, file_name, 
auth_file_to_
entity_concept_mapping)
  File 
"c:\ArchProject\ENV\lib\site-packages\arches\management\commands\package_
utils\authority_files.py", line 203, in load_authority_file
    lookups.lookup[key]['concept'].index(scheme=top_concept)
  File "c:\ArchProject\ENV\lib\site-packages\arches\app\models\concept.py", 
line
 447, in index
    value.index(scheme=scheme)
  File "c:\ArchProject\ENV\lib\site-packages\arches\app\models\concept.py", 
line
 823, in index
    se.index_term(self.value, self.id, scheme.id, {'conceptid': 
self.conceptid})

  File "c:\ArchProject\ENV\lib\site-packages\arches\app\search\search.py", 
line
129, in index_term
    raise detail
KeyError: 'found'



Thanks for any help,
Cat



On Thursday, January 14, 2016 at 4:52:28 PM UTC-7, Adam Cox wrote:
>
> Hi Cat, I just retraced all of your steps, and things worked out as 
> expected, so I'm not sure what's going on.  It sounds like all of your 
> files were loaded correctly.  I'd only recommend starting the process over 
> with a new app, perhaps?  It's good to be familiar with the install steps 
> anyway.
>
> Let us know what you find out!
> Adam
>
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to