狐の王国


2007年04月06日(金) [過去の今日]

#2 Debian sid で Catalyst::Helper::Model::DBIC::Schemaが動かない

なんか

No tables found in database, nothing to load at /usr/share/perl5/DBIx/Class/Schema/Loader/Base.pm line 452, <DATA> line 855.

とか出るのでおかしいなと思ったら、Debian sidで入るlibdbd-mysql-perlとlibdbix-class-schema-loader-perlのバージョンの問題だったらしい。

Catalyst::Helper::Model::DBIC::Schema. No tables found in database. というMLのアーカイブによれば、

Recent versions of DBD::mysql (4.002+) changed the behavior of the method that the DBIx::Class::Schema::Loader uses to find the list of tables to load, which causes this problem. Upgrade DBIx::Class::Schema::Loader to 0.03010 to get the fix.

とのことで、DBD::MySQLの4.002移行はDBIx::Class::Schema::Loaderは0.03010以降じゃないと使えないのだそうで。今手元のsidは、

ii  libdbd-mysql-p 4.004-1
ii  libdbix-class- 0.03009-1

なので、そりゃ動かないわな、と。

めんどくせえ、開発環境はetchにするべきか。

(@965)

BTSにもあがってら:

この記事のURI

最近の記事

以上、1 日分

タイトル一覧


カテゴリ分類
Powered by hns-2.19.8, HyperNikkiSystem Project

過去にこの日記が置いてあったcgi.misao.gr.jpは廃止されました。それによって記事へのURIが変わってしまっています。cgi.misao.gr.jpをwww.misao.gr.jpと置き換えるだけで同じ記事にアクセスできるはずです。

Sugano "狐志庵" Yoshihisa(E) @ 美紗緒ネットワーク <koshian@misao.gr.jp>
日記管理ページ