Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread kakimoto
Hello, Dermot and Alejandro, Thanks for your help. Yes, they are very good hints :) I tried them and I learnt more about the Catalyst framework. I looked at how I executed the script and I think I figured out why. I ran myApp_create.pl within the script subdirectory. For some reason, the

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread kakimoto
Hello, Dermot, Replies are as per below. Quoting Dermot paik...@googlemail.com: myApp_create.pl model myAppDB DBIC::Schema myApp::Schema create=static dbi:Pg:dbname=myApp myAdminUser mypassword Your command says Create a schema under the directory 'myAppDB', so they should be under

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread Dermot
2009/2/18 kakim...@tpg.com.au: lib/myApp/myAppDB/ I beg to differ. The files are created within myApp/lib/myApp/Schema and myApp/lib/myApp/Schema.pm What not Schema/myAppDB? All of these question really belong on the DBIc mailing list which is here:

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread kakimoto
Reply is as per below I'm going to do something horrid and point you at the documentation: http://search.cpan.org/~ribasushi/DBIx-Class-0.08012/lib/DBIx/Class/Relationship.pm#has_many and http://search.cpan.org/~ribasushi/DBIx-Class-0.08012/lib/DBIx/Class/Schema.pm You created

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread Tomas Doran
On 18 Feb 2009, at 10:43, kakim...@tpg.com.au wrote: In short: Never ever myApp_create.pl in the scripts directory level. Don't know why it is such (which I think is silly cause we should be able to run the any damn script in the directory level which it is made in without problems).

[Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-17 Thread kakimoto
Hi, guys, Just about to shut the machine down when i realised I could give a little more info. This is the command I ran to generate the static ORM files. myApp_create.pl model myAppDB DBIC::Schema myApp::Schema create=static dbi:Pg:dbname=myApp myAdminUser mypassword - the Schema.pm

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-17 Thread Dermot
2009/2/17 on...@houseofdesign.de: On Tue, 17 Feb 2009 23:07:02 +1100, kakim...@tpg.com.au wrote: Hi, guys, Just about to shut the machine down when i realised I could give a little more info. This is the command I ran to generate the static ORM files. myApp_create.pl model myAppDB

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-17 Thread kakimoto
hi Dermot and all, I tried running myApp_server.pl from the root dir (ie. perl scripts/myApp_server.pl or script/myApp_server.pl) and the same error message still comes up. Also, I did an upgrade of perl from 5.8.8 to 5.8.9 and when I first ran myApp_server.pl, there was an error that

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-17 Thread Dermot
2009/2/17 kakim...@tpg.com.au: hi Dermot and all, I tried running myApp_server.pl from the root dir (ie. perl scripts/myApp_server.pl or script/myApp_server.pl) and the same error message still comes up. Also, I did an upgrade of perl from 5.8.8 to 5.8.9 and when I first ran

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-17 Thread kakimoto
Hello Dermot, sorry, you're right. Yes, I could not find myAppDB::Listing myself. I ran the following command for generating the static schema manually. myApp_create.pl model myAppDB DBIC::Schema myApp::Schema create=static dbi:Pg:dbname=myApp myAdminUser mypassword Where in catalyst do