|
From: Steve F. <st...@pc...> - 2003-05-28 15:50:05
|
Michael-
you are getting the "can't call method submit" error because:
1. you are trying to use ga +update on a plugin that hasn't yet been
registered. use ga +create instead
2. ga failed to properly detect that mistake. i have fixed it in cvs
so that it will now give a useful error message
steve
MICHAEL LUCHTAN wrote:
>I figured this one out. I didn't write the plugin, and I don't have CVS
>write access, but someone might want to change lines like 124,125 from
> my $flatFile = $self>getArgs->{'flat_file'};
> my $release = $self>getArgs->{'release'};
>to
> my $flatFile = $self->getArgs->{'flat_file'};
> my $release = $self->getArgs->{'release'};
>Along with numerous other occurences of the same error in revision 1.8 of
>LoadPfam.pm.
>
>Also, when I try to submit the newly built module, I get an error like so:
>Can't call method "submit" on an undefined value at
>/home/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 763.
>
>Can anyone help me with this?
>
>
>Michael Luchtan
>http://www.cs.uga.edu/~luchtan
>
>
>On Thu, 22 May 2003, Chetna Warade wrote:
>
>
>
>>Hi all,
>>
>>I am getting a compiler error for LoadPfam.pm
>>Heres a snapshot:
>>
>>[chetna@mango chetna]$ ga
>>GUS::Common::Plugin::LoadPfam
>>Reading properties from
>>/home/gus_home/config/GUS-PluginMgr.prop
>>
>>ERROR: Can't use bareword ("getArgs") as a HASH ref
>>while "strict refs" in use at
>>/home/gus_home/lib/perl/GUS/Common/Plugin/LoadPfam.pm
>>line 125.
>>Compilation failed in require at (eval 1) line 1.
>>
>>
>>--------------------------- STACK TRACE
>>-------------------------
>>
>>GUS::PluginMgr::Plugin::error('GUS::PluginMgr::GusApplication=HASH(0x80fbb0c)',
>>'Can\'t use bareword ("getArgs") as a HASH ref while
>>"strict refs...') called at
>>/home/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm
>>line 249
>>
>>GUS::PluginMgr::GusApplication::newFromPluginName('GUS::PluginMgr::GusApplication=HASH(0x80fbb0c)',
>>'GUS::Common::Plugin::LoadPfam') called at
>>/home/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm
>>line 362
>>
>>GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x80fbb0c)',
>>'GUS::Common::Plugin::LoadPfam') called at
>>/home/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm
>>line 284
>>
>>GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x80fbb0c)',
>>'GUS::Common::Plugin::LoadPfam') called at
>>/home/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm
>>line 193
>>
>>GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x80fbb0c)',
>>'ARRAY(0x8105184)') called at /home/gus_home/bin/ga
>>line 11
>>[chetna@mango chetna]$
>>
>>Look forward to chain of emails!,
>>Chetna
>>
>>
>>__________________________________
>>Do you Yahoo!?
>>The New Yahoo! Search - Faster. Easier. Bingo.
>>http://search.yahoo.com
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: ObjectStore.
>>If flattening out C++ or Java code to make your application fit in a
>>relational database is painful, don't do it! Check out ObjectStore.
>>Now part of Progress Software. http://www.objectstore.net/sourceforge
>>_______________________________________________
>>Gusdev-gusdev mailing list
>>Gus...@li...
>>https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev
>>
>>
>>
>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: ObjectStore.
>If flattening out C++ or Java code to make your application fit in a
>relational database is painful, don't do it! Check out ObjectStore.
>Now part of Progress Software. http://www.objectstore.net/sourceforge
>_______________________________________________
>Gusdev-gusdev mailing list
>Gus...@li...
>https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev
>
>
|