Loading the YAML string failed

Moderator: crythias

Post Reply
spinaldf
OTRS newbie
Posts: 31
Joined: 29 Apr 2019, 16:29
OTRS Version?: 6community
Real Name: Luiz Guilherme

Loading the YAML string failed

Post by spinaldf »

Dears,
When I click in this menu "CMDB --> New - Software", Show all this errors in log: Any Suggestion?

Details:

Instaled plugins:
DynamicFieldITSMConfigItem 6.0.1 Perl-Services.de DynamicField backend to provide access to OTRS CMDB
DynamicFieldRemoteDB 6.0.3 Perl-Services.de DynamicField backend to provide access to RemoteDB f

su -c "/opt/otrs/bin/otrs.CheckModules.pl" -s /bin/bash otrs
o Apache::DBI......................ok (v1.12)
o Apache2::Reload..................ok (v0.13)
o Archive::Tar.....................ok (v1.92)
o Archive::Zip.....................ok (v1.30)
o Crypt::Eksblowfish::Bcrypt.......ok (v0.009)
o Crypt::SSLeay....................ok (v0.64)
o Date::Format.....................ok (v2.24)
o DateTime.........................ok (v1.04)
o DBI..............................ok (v1.627)
o DBD::mysql.......................ok (v4.023)
o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o DBD::Pg..........................ok (v2.19.3)
o Digest::SHA......................ok (v5.85)
o Encode::HanExtra.................ok (v0.23)
o IO::Socket::SSL..................ok (v2.066)
o JSON::XS.........................ok (v3.01)
o List::Util::XS...................ok (v1.27)
o LWP::UserAgent...................ok (v6.26)
o Mail::IMAPClient.................ok (v3.37)
o IO::Socket::SSL................ok (v2.066)
o Authen::SASL...................ok (v2.15)
o Authen::NTLM...................ok (v1.09)
o ModPerl::Util....................ok (v2.000011)
o Net::DNS.........................ok (v0.72)
o Net::LDAP........................ok (v0.56)
o Net::SMTP........................ok (v3.11)
o Template.........................ok (v2.24)
o Template::Stash::XS..............ok (undef)
o Text::CSV_XS.....................ok (v1.00)
o Time::HiRes......................ok (v1.9725)
o XML::LibXML......................ok (v2.0018)
o XML::LibXSLT.....................ok (v1.80)
o XML::Parser......................ok (v2.41)
o YAML::XS.........................ok (v0.54)


#########################################################################################################

ERROR: OTRS-CGI-56 Perl: 5.16.3 OS: linux Time: Wed Nov 27 16:59:45 2019

Message: Loading the YAML string failed:

RemoteAddress: 10.251.14.134
RequestURI: /otrs/index.pl?Action=AgentITSMConfigItemEdit;ClassID=26

Traceback (117132):
Module: Kernel::System::YAML::Load Line: 117
Module: Kernel::System::ITSMConfigItem::Definition::DefinitionGet Line: 209
Module: Kernel::Modules::AgentITSMConfigItemEdit::Run Line: 125
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1116
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32


==> /var/log/messages <==
Nov 27 13:59:45 sandero OTRS-CGI-56[117132]: [Error][Kernel::System::YAML::Load][Line:117]: Loading the YAML string failed:

==> /var/log/httpd/error_log <==
ERROR: OTRS-CGI-56 Perl: 5.16.3 OS: linux Time: Wed Nov 27 16:59:45 2019

Message: YAML data was: "---
- Key: 'Type'
Name: 'Type'
Searchable: 1
Input:
Type: 'GeneralCatalog'
Class: 'ITSM::ConfigItem::Software::Type'
Translation: 1
Required: 1

- Key: 'OutrosNomes'
Name: 'Outros nomes'
Searchable: 1
Input:
Type: 'Text'
Size: 50
MaxLength: 100

- Key: 'Description'
Name: 'Description'
Searchable: 1
Input:
Type: 'TextArea'

- Key: 'PublicoAlvo'
Name: 'Público-alvo'
Searchable: 1
Input:
Type: 'TextArea'

- Key: 'Requisitos'
Name: 'Requisitos de uso'
Searchable: 1
Input:
Type: 'TextArea'

- Key: 'FilaResponsavel'
Name: 'Fila responsável'
Searchable: 1
Input:
Type: 'QueueReference'

- Key: 'plataforma'
Name: 'Plataforma'
Searchable: 1
Input:
Type: 'Text'
Size: 50
MaxLength: 100

- Key: 'sigla'
Name: 'Sigla'
Searchable: 1
Input:
Type: 'Text'
Size: 30
MaxLength: 50

- Key: 'sigla-codigo'
Nam[...]"

RemoteAddress: 10.251.14.134
RequestURI: /otrs/index.pl?Action=AgentITSMConfigItemEdit;ClassID=26

Traceback (117132):
Module: Kernel::System::YAML::Load Line: 125
Module: Kernel::System::ITSMConfigItem::Definition::DefinitionGet Line: 209
Module: Kernel::Modules::AgentITSMConfigItemEdit::Run Line: 125
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1116
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32


==> /var/log/messages <==
Nov 27 13:59:45 sandero OTRS-CGI-56[117132]: [Error][Kernel::System::YAML::Load][Line:125]: YAML data was: "---#015#012- Key: 'Type' #015#012 Name: 'Type' #015#012 Searchable: 1 #015#012 Input: #015#012 Type: 'GeneralCatalog' #015#012 Class: 'ITSM::ConfigItem::Software::Type'#015#012 Translation: 1 #015#012 Required: 1 #015#012 #011#015#012- Key: 'OutrosNomes'#015#012 Name: 'Outros nomes'#015#012 Searchable: 1#015#012 Input:#015#012 Type: 'Text'#015#012 Size: 50#015#012 MaxLength: 100#015#012 #015#012- Key: 'Description'#015#012 Name: 'Description'#015#012 Searchable: 1#015#012 Input:#015#012 Type: 'TextArea'#015#012 #015#012- Key: 'PublicoAlvo'#015#012 Name: 'Público-alvo'#015#012 Searchable: 1#015#012 Input:#015#012 Type: 'TextArea'#015#012 #015#012- Key: 'Requisitos'#015#012 Name: 'Requisitos de uso'#015#012 Searchable: 1#015#012 Input:#015#012 Type: 'TextArea'#015#012 #015#012- Key: 'FilaResponsavel'#015#012 Name: 'Fila responsável'#015#012 Searchable: 1#015#012 Input:#015#012 Type: 'QueueReference'#015#012 #015#012- Key: 'plataforma'#015#012 Name: 'Plataforma'#015#012 Searchable: 1#015#012 Input:#015#012 Type: 'Text'#015#012 Size: 50#015#012 MaxLength: 100#015#012 #015#012- Key: 'sigla'#015#012 Name: 'Sigla'#015#012 Searchable: 1#015#012 Input:#015#012 Type: 'Text'#015#012 Size: 30#015#012 MaxLength: 50#015#012 #015#012- Key: 'sigla-codigo'#015#012 Nam[...]"

==> /var/log/httpd/error_log <==
ERROR: OTRS-CGI-56 Perl: 5.16.3 OS: linux Time: Wed Nov 27 16:59:45 2019

Message: Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!

RemoteAddress: 10.251.14.134
RequestURI: /otrs/index.pl?Action=AgentITSMConfigItemEdit;ClassID=26

Traceback (117132):
Module: Kernel::System::YAML::Load Line: 142
Module: Kernel::System::ITSMConfigItem::Definition::DefinitionGet Line: 209
Module: Kernel::Modules::AgentITSMConfigItemEdit::Run Line: 125
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1116
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32


==> /var/log/messages <==
Nov 27 13:59:45 sandero OTRS-CGI-56[117132]: [Error][Kernel::System::YAML::Load][Line:142]: Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!
Nov 27 13:59:45 sandero OTRS-CGI-56[117132]: [Error][Kernel::Output::HTML::Layout::ITSMConfigItem::_ITSMLoadLayoutBackend][Line:244]: Can't locate Kernel/Output/HTML/ITSMConfigItem/LayoutQueueReference.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs//Kernel/System/Main.pm line 84.

==> /var/log/httpd/error_log <==
ERROR: OTRS-CGI-56 Perl: 5.16.3 OS: linux Time: Wed Nov 27 16:59:45 2019

Message: Can't locate Kernel/Output/HTML/ITSMConfigItem/LayoutQueueReference.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs//Kernel/System/Main.pm line 84.


RemoteAddress: 10.251.14.134
RequestURI: /otrs/index.pl?Action=AgentITSMConfigItemEdit;ClassID=26

Traceback (117132):
Module: Kernel::Output::HTML::Layout::ITSMConfigItem::_ITSMLoadLayoutBackend Line: 244
Module: Kernel::Output::HTML::Layout::ITSMConfigItem::ITSMConfigItemInputCreate Line: 129
Module: Kernel::Modules::AgentITSMConfigItemEdit::_XMLFormOutput Line: 888
Module: Kernel::Modules::AgentITSMConfigItemEdit::Run Line: 587
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1116
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32


==> /var/log/messages <==
Nov 27 13:59:45 sandero OTRS-CGI-56[117132]: [Error][Kernel::Output::HTML::Layout::ITSMConfigItem::_ITSMLoadLayoutBackend][Line:245]: Can't load backend module QueueReference!

==> /var/log/httpd/error_log <==
ERROR: OTRS-CGI-56 Perl: 5.16.3 OS: linux Time: Wed Nov 27 16:59:45 2019

Message: Can't load backend module QueueReference!

RemoteAddress: 10.251.14.134
RequestURI: /otrs/index.pl?Action=AgentITSMConfigItemEdit;ClassID=26

Traceback (117132):
Module: Kernel::Output::HTML::Layout::ITSMConfigItem::_ITSMLoadLayoutBackend Line: 245
Module: Kernel::Output::HTML::Layout::ITSMConfigItem::ITSMConfigItemInputCreate Line: 129
Module: Kernel::Modules::AgentITSMConfigItemEdit::_XMLFormOutput Line: 888
Module: Kernel::Modules::AgentITSMConfigItemEdit::Run Line: 587
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1116
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32

Post Reply