Dear Archeslist,
we have extended the ARCHAEOLOGICAL HERITAGE (SITE).E27 Resource Type and
defined our own vocabularies in the according Authority Files.
(After running install_arches_db.sh and build.sh), install_packages.sh
loads all Authority Files. However the function
create_link_to_entity_types() in authority_files.py aborts with the
following error:
Traceback (most recent call last):
File "../manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File
"/arches-web/archesproject/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 399, in execute_from_command_line
utility.execute()
File
"/arches-web/archesproject/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/arches-web/archesproject/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/base.py",
line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File
"/arches-web/archesproject/virtualenv/ENV/local/lib/python2.7/site-packages/django/core/management/base.py",
line 285, in execute
output = self.handle(*args, **options)
File "/arches-web/archesproject/build/management/commands/packages.py",
line 47, in handle
self.load_package(package)
File "/arches-web/archesproject/build/management/commands/packages.py",
line 52, in load_package
install(settings.ROOT_DIR)
File "/arches-web/archesproject/packages/i3mainz/setup.py", line 60, in
install
authority_files.load_authority_files(package_settings.ROOT_DIR)
File
"/arches-web/archesproject/packages/i3mainz/install/authority_files.py",
line 24, in load_authority_files
create_link_to_entity_types(cursor, packagepath)
File
"/arches-web/archesproject/packages/i3mainz/install/authority_files.py",
line 125, in create_link_to_entity_types
entity_type = str(cursor.fetchone()[0])
TypeError: 'NoneType' object has no attribute '__getitem__'
Any ideas what the cause for this could be?
What does create_link_to_entity_types() / entity_type =
str(cursor.fetchone()[0]) exactly do?
Best,
Tobias
--
-- 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.