YAML problem after upgrade - RESOLVED

Moderator: crythias

Locked
shaitand
Znuny newbie
Posts: 35
Joined: 09 Sep 2011, 23:17
Znuny Version: 3.0.10

YAML problem after upgrade - RESOLVED

Post by shaitand »

After upgrading from 3.1.16 to 3.2.11 we get these messages. I did see YAML::XS was a new required module on upgrade and install it.

No idea what this stuff refers to...

ERROR: OTRS-otrs.GenericAgent.pl-10 Perl: 5.8.8 OS: linux Time: Sun Oct 13 22:00:02 2013

Message: Loading the YAML string failed: YAML::XS::Load Error: The problem:

block sequence entries are not allowed in this context

was found at document: 1, line: 4, column: 7


Traceback (19313):
Module: Kernel::System::YAML::Load (OTRS 3.2.11) Line: 128
Module: Kernel::System::DynamicField::DynamicFieldGet (OTRS 3.2.11) Line: 303
Module: Kernel::System::DynamicField::DynamicFieldListGet (OTRS 3.2.11) Line: 946
Module: Kernel::System::GenericAgent::new (OTRS 3.2.11) Line: 122
Module: /opt/otrs/bin/otrs.GenericAgent.pl (unknown version) Line: 88

ERROR: OTRS-otrs.GenericAgent.pl-10 Perl: 5.8.8 OS: linux Time: Sun Oct 13 22:00:02 2013

Message: YAML data was: "---
DefaultValue: ~
PossibleValues:
'': -
' 50% Up Front; balance monthly as completed (PO)': ' 50% Up Front; balance monthly as completed (PO)'
'100% Up Front (PO) ': '100% Up Front (PO) '
100% Up Front (SOW): 100% Up Front (SOW)
50% Up Front; balance monthly as completed (SOW): 50% Up Front; balance monthly as completed (SOW)
50% Up Front; balance upon completion (PO): 50% Up Front; balance upon completion (PO)
50% Up Front; balance upon completion (SOW): 50% Up Front; balance upon completion (SOW)
50% Up Front; balance upon use of 50% of hours (PO): 50% Up Front; balance upon use of 50% of hours (PO)
50% Up Front; balance upon use of 50% of hours(SOW): 50% Up Front; balance upon use of 50% of hours(SOW)
Monthly as Completed (PO): Monthly as Completed (PO)
Monthly as Completed (SOW): Monthly as Completed (SOW) "

Traceback (19313):
Module: Kernel::System::YAML::Load (OTRS 3.2.11) Line: 132
Module: Kernel::System::DynamicField::DynamicFieldGet (OTRS 3.2.11) Line: 303
Module: Kernel::System::DynamicField::DynamicFieldListGet (OTRS 3.2.11) Line: 946
Module: Kernel::System::GenericAgent::new (OTRS 3.2.11) Line: 122
Module: /opt/otrs/bin/otrs.GenericAgent.pl (unknown version) Line: 88

ERROR: OTRS-otrs.GenericAgent.pl-10 Perl: 5.8.8 OS: linux Time: Sun Oct 13 22:00:02 2013

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!

Traceback (19313):
Module: Kernel::System::YAML::Load (OTRS 3.2.11) Line: 152
Module: Kernel::System::DynamicField::DynamicFieldGet (OTRS 3.2.11) Line: 303
Module: Kernel::System::DynamicField::DynamicFieldListGet (OTRS 3.2.11) Line: 946
Module: Kernel::System::GenericAgent::new (OTRS 3.2.11) Line: 122
Module: /opt/otrs/bin/otrs.GenericAgent.pl (unknown version) Line: 88
Last edited by shaitand on 14 Oct 2013, 01:49, edited 1 time in total.
shaitand
Znuny newbie
Posts: 35
Joined: 09 Sep 2011, 23:17
Znuny Version: 3.0.10

Re: YAML problem after upgrade

Post by shaitand »

Might have found answer here viewtopic.php?f=81&t=19169

Testing.
shaitand
Znuny newbie
Posts: 35
Joined: 09 Sep 2011, 23:17
Znuny Version: 3.0.10

Re: YAML problem after upgrade

Post by shaitand »

Seems to have worked.
acorderor
Znuny newbie
Posts: 7
Joined: 22 Mar 2013, 17:18
Znuny Version: 3.3,4.0,5.0,6.0
Real Name: Alvaro Cordero Retana
Company: Nomadic Solutions

Re: YAML problem after upgrade - RESOLVED

Post by acorderor »

We have faced this today, we migrated from 2.4 going step by step until 3.3.7. It seems like when the conversion of FreeText t Dynamic Fields ocurred, all the Labels that contained special characters like "?" those could not be applied and then Dynamic Field was created with a blank label. After seen that, I manually modified the labels missing on the DB and the issue was gone.

Regards

Alvaro
Locked