http://cgit.drupalcode.org/photo/tree/photo.info.yml?h=8.x-1.x is tripping up localize.drupal.org's cron:

WD php: Symfony\Component\Yaml\Exception\ParseException: Unable to       [error]
parse at line 1 (near "name = Photo"). in
Symfony\Component\Yaml\Parser->parse() (line 243 of
/var/www/localize.drupal.org/htdocs/sites/all/modules/potx/vendor/Symfony/Component/Yaml/Parser.php).

Comments

drumm’s picture

Title: Gracefully handle Yaml parse failiures » Gracefully handle Yaml parse failures
SebCorbin’s picture

Status: Active » Needs review
StatusFileSize
new1.01 KB

Would that do?

drumm’s picture

I think so. I saw couple calls to Yaml::parse, and I don't have the backtrace, or familiarity with the codebase, to know which one exactly was the problem.

gábor hojtsy’s picture

Looks good to me too.

SebCorbin’s picture

Status: Needs review » Fixed

  • SebCorbin committed 3b426d1 on 6.x-3.x authored by drumm
    Issue #2447551 by SebCorbin, drumm: Gracefully handle Yaml parse...
gábor hojtsy’s picture

Amazing, thanks @sebcorbin for the patch and the rollout!

drumm’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Fixed » Patch (to be ported)
drumm’s picture

Issue tags: +Localize D7 port

  • herom committed 3aa0d90 on 7.x-3.x authored by SebCorbin
    Issue #2447551 by SebCorbin, drumm: Gracefully handle Yaml parse...
herom’s picture

Status: Patch (to be ported) » Fixed

Committed directly to 7.x branch. The 7.x-3.x and 6.x-3.x branches are still closely following each other.

Thanks.

gábor hojtsy’s picture

Yay, thanks all!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.