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 parent.pm was not to be found. For the moment, I have included a path to parent.pm explicitly pointing to the copy in perl 5.8.8 . I checked around and it seemed that parent.pm is not supported by perl 5.8.9. Any ideas on these two issues? thank you:) Quoting Dermot <[email protected]>: > 2009/2/17 <[email protected]>: > > > > On Tue, 17 Feb 2009 23:07:02 +1100, [email protected] 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 DBIC::Schema myApp::Schema > create=static > >> dbi:Pg:dbname=myApp myAdminUser mypassword" > >> > >> - the Schema.pm file got generated fine, > >> - all the files under Schema/ are matching what's on the > database. > >> - I added the relationships to the files under Schema/ > >> - I removed ' int (4) ' or something like that which limited the > IDs > >> (primary keys) of my db tables to 4 digits. > >> > >> > >> Any ideas on what could have possible failed would be helpful. > >> > > > > Do you run ./myApp_server.pl from within the scripts/ directory? > > > > try scripts/myApp_server.pl from the root directory! > > This should really go to the DBIc mailing list. This problem that > DBIx > can't locate Listings.pm which might be defined in you Schema.pm > file. > > If your pwd is /home/kakimoto/projects/ and you type `find . -name > "Listings.pm" -ls` do you see the file? > > Can you post the contents of that file. > Good luck, > Dp. > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > > > _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
