[otrs] YAML::XS::Load Error

224 views
Skip to first unread message

Marco Vannini

unread,
Feb 12, 2013, 4:14:21 AM2/12/13
to User questions and discussions about OTRS.
Hi all,

My upgrade works very well and everyone are sodisfied about the new OTRS version (thank you once again) but ... :D My cronned GenericAgent send me mail of this kind:

ERROR: OTRS-otrs.GenericAgent.pl-10 Perl: 5.10.1 OS: linux Time: Mon Feb 11 12:50: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 (3911):

   Module: Kernel::System::YAML::Load (v1.5) Line: 130

   Module: Kernel::System::DynamicField::DynamicFieldGet (v1.66) Line: 308

   Module: Kernel::System::DynamicField::DynamicFieldListGet (v1.66) Line: 951

   Module: Kernel::System::GenericAgent::new (v1.86) Line: 117

   Module: /opt/otrs/bin/otrs.GenericAgent.pl (v1.12) Line: 91

 

ERROR: OTRS-otrs.GenericAgent.pl-10 Perl: 5.10.1 OS: linux Time: Mon Feb 11 12:50:02 2013

 

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

 [...]


There is something that I could do to silence it a part sending cron job output to /dev/null ? I've checked modules version requirements and they seems ok.



Thank you in advance.

Marco Vannini

Adrià García-Alzórriz

unread,
Feb 12, 2013, 4:33:27 AM2/12/13
to ot...@otrs.org
El dia Tue, 12 Feb 2013 10:14:21 +0100, en/na Marco Vannini va escriure:

> There is something that I could do to silence it a part sending cron job
> output to /dev/null ? I've checked modules version requirements and they
> seems ok.

Something like this:
0 1 5 10 * /path/to/script.sh >/dev/null 2>&1
signature.asc

Marco Vannini

unread,
Feb 12, 2013, 6:14:08 AM2/12/13
to User questions and discussions about OTRS.
Thank you Adria,
 
This is something I know how to do, my real/blind question is if someone has the same problem and/or it's a bug/there is a solution :D

BR

MV


---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Gerald Young

unread,
Feb 12, 2013, 7:23:04 AM2/12/13
to User questions and discussions about OTRS.

Ticket free text fields didn't convert well.

Marco Vannini

unread,
Feb 12, 2013, 8:48:21 AM2/12/13
to User questions and discussions about OTRS.
Do you think that I can try to reexecute some script/s or it's better to live them as they are.

Gerald Young

unread,
Feb 12, 2013, 9:35:09 AM2/12/13
to User questions and discussions about OTRS.
I don't know/can't answer definitively. In general, if you can disable converted ticketfreetext fields and rebuild them as Dynamic Fields, this is likely to prevent the error from recurring. If you need to apply values, you might be able to do so with Generic Agent. If you're using any of the converted ticket free text fields for reporting purposes, consider the impact of this suggestion to your reporting results, but realize you'll have a "before" and "after" period and (hopefully) soon enough you'll be further along that the relevance of the old data fields' data are less important.

Marco Vannini

unread,
Feb 12, 2013, 9:54:57 AM2/12/13
to User questions and discussions about OTRS.
Thank you very much Gerald,

I'll try to do something during this week using your hint. 

BR

Reply all
Reply to author
Forward
0 new messages