Skip to content

Installation under Ubuntu 20.04, 'Annotation sets' error #140

@pjaskulski

Description

@pjaskulski

A couple of problems:

  1. Installation under Ubuntu 20.04
  • Composer 1 is installed by default on the system, you need to manually install version 2 from https://getcomposer.org
  • install php-zip: sudo apt-get install php-zip
  • install phpunit: sudo apt install phpunit

only after that you can use the ./docker-dev-up.sh script

  1. After selecting Settings from the menu and trying to go to the 'Annotation sets' view, an error appears:
Unexpected exception: Source: Missing name
#0 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_internal_template.php(329): Smarty_Template_Source::load(Object(Smarty_Internal_Template))
#1 /home/inforex/engine/templates_c/abd33e90768b3dc8c5797ca41e985d26e0d131d0_0.file.page_corpus_settings.tpl.php(67): Smarty_Internal_Template->_subTemplateRender('', NULL, NULL, 0, 3600, Array, 0, true)
#2 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_template_resource_base.php(123): content_631d8a933c5457_70380561(Object(Smarty_Internal_Template))
#3 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#4 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#5 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)
#6 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute('/home/inforex/e...', NULL, NULL, NULL, 1)
#7 /home/inforex/engine/include/CPage.php(260): Smarty_Internal_TemplateBase->display('/home/inforex/e...')
#8 /home/inforex/engine/include/CInforexWeb.php(204): CPage->display('corpus_settings')
#9 /home/inforex/engine/include/CInforexWeb.php(269): InforexWeb->doPage('corpus_settings', Array)
#10 /home/inforex/public_html/index.php(64): InforexWeb->execute()
#11 {main}
  1. when annotating a document, setting 'Display every sentence separately' in 'View configuration' does nothing,
    the document text is displayed the same way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions