[Doctrine_Parser_Exception] Fail-some error message!

doctrine
If your precious evening hacking time has been wasted by this useless error message:

Then look no further, this was the oddest error message which caused errors inconsistently when generating models or updating the schema files. It turned out that the error was due to

  • vim swap files
  • osx ._ files

The parser would pick up all the files even if it started with a . (dot) which then borks of-course coz it wasn’t in the format it would expect it to be in

What would have been useful would be to have more meaningful error message like full path+file name and also the parser shouldnt pickup . (dot) files in the first place, dont see why a developer would want to keep his config files starting with a . (dot) unless its a .htaccess file.

One thought on “[Doctrine_Parser_Exception] Fail-some error message!

  1. Pingback: Doctrine: Unable to parse string: Unable to parse line 0 ( « Alessandro Vermeulen

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">