[Pdx-pm] DBIC "Can't find source" error
Joshua Keroes
joshua at keroes.com
Wed Apr 21 18:04:35 PDT 2010
More silliness; these two commands should be the same (--upgrade and -u are
synonyms). They're returning different results.
jkeroes at jkeroes ~/svn/modules/Integra-UBI-Schema [1233]
% dbicadmin --schema=Integra::UBI::Schema
--connect='["dbi:mysql:ubi:water.integra.engr","ubi","pass"]' -u -q .
Performig action update...
DBIx::Class::Admin::update(): resultset() expects a source name at
/opt/local/bin/dbicadmin line 72
jkeroes at jkeroes ~/svn/modules/Integra-UBI-Schema [1234:255]
% dbicadmin --schema=Integra::UBI::Schema
--connect='["dbi:mysql:ubi:water.integra.engr","ubi","pass"]' --upgrade -q .
Performig action upgrade...
DBIx::Class::Admin::upgrade(): Upgrade not necessary
On Wed, Apr 21, 2010 at 5:19 PM, Joshua Keroes <joshua at keroes.com> wrote:
> On Wed, Apr 21, 2010 at 5:11 PM, Robert Buels <rmb32 at cornell.edu> wrote:
>
>> I don't get that error using that code.
>>
>> Are all your modules in different files? load_namespaces is actually
>> based on .pm files on disk, not just package names.
>>
>
> Separate files:
>
> jkeroes at water:~/svn/modules/Integra-UBI-Schema
> [Thu Apr 22, 00:18:21 | 526] $ tree
> .
> ├── lib/
> │ └── Integra/
> │ └── UBI/
> │ ├── Schema/
> │ │ └── Result/
> │ │ ├── ECCKT.pm
> │ │ └── Interface.pm
> │ └── Schema.pm
> ├── t/
> │ ├── 00-load.t
> │ ├── boilerplate.t
> │ ├── pod-coverage.t
> │ └── pod.t
> ├── .cvsignore
> ├── Changes
> ├── MANIFEST
> ├── Makefile.PL
> └── README
>
> 6 directories, 12 files
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/pdx-pm-list/attachments/20100421/6e8e08d1/attachment-0001.html>
More information about the Pdx-pm-list
mailing list