Optimizer Yaml Error

Michael Webster's Avatar

Michael Webster

24 Apr, 2012 06:20 PM

With MT 5.12 I am getting a parsing error for Optimizer's yaml.

  1. Support Staff 1 Posted by Jay Allen on 24 Apr, 2012 06:23 PM

    Jay Allen's Avatar

    We've tested none of our plugins with MT 5.x although that doesn't mean they shouldn't work. However, that's very very little to go on. At very least, we would need the exact error message and precise, detailed steps to reproduce the problem in order to resolve the issue.

  2. 2 Posted by michael webster on 24 Apr, 2012 07:01 PM

    michael webster's Avatar

    Here is the error:

    cgi-bin/mt/plugins/Optimizer/config.yaml: Syck parser (line 25, column -1): syntax error

  3. Support Staff 3 Posted by Jay Allen on 24 Apr, 2012 07:13 PM

    Jay Allen's Avatar

    And precise, detailed steps to reproduce the problem ?

  4. 4 Posted by michael webster on 24 Apr, 2012 07:15 PM

    michael webster's Avatar

    Go to:

    http://www.franchise-info.ca/cgi-bin/mt/mt.cgi and you should get the error.

  5. Support Staff 5 Posted by Jay Allen on 24 Apr, 2012 08:00 PM

    Jay Allen's Avatar

    And when you take the plugin out of your plugins directory, everything
    works fine? That's an odd issue for a number of reasons. First, it seems
    as though you're using YAML::Syck as opposed to YAML::Tiny. Perhaps that's
    a new feature of MT5. Secondly, and much more important, NO plugin error
    should ever stop MT from working with such a direct request to mt.cgi. MT
    bootstraps the load of all plugins and catches all errors so what you may
    be seeing is additionally a bug in MT 5.

    I'll see what I can do to reproduce the issue but in the meantime, I advise
    you to remove Optimizer from your plugins directory until I can look into
    it.

  6. 6 Posted by michael webster on 24 Apr, 2012 08:06 PM

    michael webster's Avatar

    Thanks, let me know. And I can take your information to the MT 5 folks.

  7. 7 Posted by ttodua on 27 Apr, 2015 06:41 AM

    ttodua's Avatar

    it occurs when the Perl module "YAML :: Syck" has been installed on the server.

    To check, you can open mt-config.cgi and place YAMLModule YAML::Tiny instead of YAML :: Syck
    and problems may go away.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac