Open vanstyn opened 9 years ago
More from mst ... this may end up being a rapidapp.pl specific issue after all, and here is where to look:
<mst> well, now you know how to break it
<mst> the question is why it doesn't dynaload right later
<mst> maybe something's eating %ENV
<mst> oh, yeah, that'll be it, something in your code is eating %ENV before it gets
to loading DBD::mysql
When bootstrapping a new app with
rapidapp.pl
and theRapidDbic
helper, if the DBD driver being used is broken (such asDBD::mysql
), the associated exception doesn't make it through to the console, and instead dies with something like:This came up in
#rapidapp
and the real error was eventually tracked down by calling rapidapp.pl with:This is really probably also an issue in the vanilla Catalyst DBIC schema helper, but it would be nice to be able to catch this automatically, because this particular case did consume a lot of troubleshooting time...
The first step in addressing this, in my mind, is to break the DBD driver on a test box (by removing the c lib files) and see if the above can be reproduced, and go from there...
Issue as of RapidApp v1.0204