Hello!
I installed otrs 3.2.6 from source on debian distro. Everything works fine, but in Admin->System log and syslog i have a lot of errors:
Apr 26 13:21:39 dark OTRS-CGI-10[22032]: [Error][Kernel::System::YAML::Load][Line:127]: Loading the YAML string failed: Syck parser (line 1, column 21): syntax error at /usr/lib/perl5/YAML/Syck.pm line 76.
Apr 26 13:21:39 dark OTRS-CGI-10[22032]: [Error][Kernel::System::YAML::Load][Line:131]: YAML data was: "---^MDefaultValue: ''^M"
and so on...
I've looked into mysql tables, also i have checked Syck.pm but i couldn't find a solution how to fix it....
Thanks
YAML error
Moderator: crythias
Re: YAML error
Same here... but a bit with different errors:
Out of "etc/syslog"
I Installed the versions 3.1.7 and 3.1.6 on ubuntu LTS 12.04 ( precise ).
Thanks for any advice in advance!
Yours Uwe
Out of "etc/syslog"
Code: Select all
CRON[17976]: (otrs) CMD ($HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null)
CRON[17977]: (otrs) CMD ($HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null)
CRON[17978]: (otrs) CMD ($HOME/bin/otrs.GenericAgent.pl >> /dev/null)
OTRS-otrs.GenericAgent.pl-99[17979]: [Error][Kernel::System::YAML::Load][Line:127]: Loading the YAML string failed: Syck parser (line 1, column 21): syntax error at /opt/otrs/Kernel/cpan-lib/YAML/Any.pm line 81.
OTRS-otrs.GenericAgent.pl-99[17979]: [Error][Kernel::System::YAML::Load][Line:131]: YAML data was: "---#015DefaultValue: ''#015"
OTRS-otrs.GenericAgent.pl-99[17981]: [Error][Kernel::System::YAML::Load][Line:127]: Loading the YAML string failed: Syck parser (line 1, column 21): syntax error at /opt/otrs/Kernel/cpan-lib/YAML/Any.pm line 81.
OTRS-otrs.GenericAgent.pl-99[17981]: [Error][Kernel::System::YAML::Load][Line:131]: YAML data was: "---#015DefaultValue: ''#015"
The error must be "Syck parser", because I recognize that on several tests with fresh installations, the error is available everytime with this specific cronjob - but like the thread-starter, I didn't find any solution to correct this.eMail log about this error featured by watchdog wrote:
Traceback (17981):
Module: Kernel::System::YAML::Load (OTRS 3.2.7) Line: 127
Module: Kernel::System::DynamicField::DynamicFieldGet (OTRS 3.2.7) Line: 303
Module: Kernel::System::DynamicField::DynamicFieldListGet (OTRS 3.2.7) Line: 946
Module: Kernel::System::GenericAgent::new (OTRS 3.2.7) Line: 112
Module: /opt/otrs//bin/otrs.GenericAgent.pl (unknown version) Line: 88
ERROR: OTRS-otrs.GenericAgent.pl-99 Perl: 5.14.2 OS: linux
Message: YAML data was: "---DefaultValue: ''"
I Installed the versions 3.1.7 and 3.1.6 on ubuntu LTS 12.04 ( precise ).
Thanks for any advice in advance!

Yours Uwe
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: YAML error
It means a DynamicField that you're processing has an incorrect listing. Usually this is specific to a poorly upgraded TicketFreeText field, but can also be related to bad data in the field that you've created.
Check your dynamic fields, especially ones that contain lists of information and determine if you're going to rebuild the list, disable the field, or rebuild the field.
Check your dynamic fields, especially ones that contain lists of information and determine if you're going to rebuild the list, disable the field, or rebuild the field.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: YAML error
After your hint to the "DynamicField" I de-/ and re-installed all libs containing YAML and... suprise... surprise... my error is gone. ^^
Thx for the advice crythias!
Thx for the advice crythias!

-
- Znuny newbie
- Posts: 1
- Joined: 11 Oct 2013, 10:58
- Znuny Version: 3.2.x
- Real Name: Javier Marta
Re: YAML error
Hi, I've got the same error! I'm a novice in OTRS/perl! Would you mind telling me how did you de-/ and re-install all the YAML libraries to solve the problem?
Thanks in advance!
Thanks in advance!