Bugs item #767904, was opened at 2003-07-08 11:58
Message generated for change (Comment added) made by brechin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=767904&group_id=259

Category: systemimager-client
Group: v3.1.x
>Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Jason Brechin (brechin)
Assigned to: Brian Elliott Finley (brianfinley)
Summary: Client.pm and/or Config.pm is broken

Initial Comment:
When using Client.pm (in an rpm I rebuilt, since it's not 
in any of your built RPMs), I get the following error:

"get_config" is not exported by the 
SystemImager::Config module
Can't continue after import errors 
at /usr/lib/systemimager/perl/SystemImager/Client.pm 
line 31
BEGIN failed--compilation aborted 
at /usr/lib/systemimager/perl/SystemImager/Client.pm 
line 31.
Compilation failed in require...

----------------------------------------------------------------------

>Comment By: Jason Brechin (brechin)
Date: 2003-07-14 11:36

Message:
Logged In: YES 
user_id=274641

As mentioned in a recent e-mail, this problem is still there, in 
a different form.  Now, Client.pm is trying to access $config 
(which used to be set with whatever get_config() returned).  
$config is not defined anywhere.  Supposedly, Config.pm 
provides this variable, but it does not.  Client.pm uses 
Config.pm.  My code uses Client.pm (and tried using 
Config.pm to see if that provided the $config), and fails 
because $config is not defined in Client.pm.

The fix I have been using is adding the following line to 
Client.pm, after the EXPORT lines:

our $config = $SystemImager::Config::config;

----------------------------------------------------------------------

Comment By: Brian Elliott Finley (brianfinley)
Date: 2003-07-08 22:42

Message:
Logged In: YES 
user_id=140

Looks like get_config is a function that hasn't been in
Config.pm for a
long time.  Simply "using" the Config.pm module now does the
equivalent.

Only 5 instances of get_config called -- all from Client.pm
and, because
simply loading Config.pm inserts the $config structure
directly into
main ($::main::config = $config;), it need not be qw()
either.  (I
think).  All get_config entries removed -- hopefully that
will do it. -BEF-

----------------------------------------------------------------------

Comment By: Brian Elliott Finley (brianfinley)
Date: 2003-07-08 22:24

Message:
Logged In: YES 
user_id=140

What command are you running when you see this error?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=767904&group_id=259


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Sisuite-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to