[Spacewalk-list] Missing Perl Modules in ChannelEditor.pm

Giovanni Torres giovtorres at hotmail.com
Sat Jun 22 17:17:53 UTC 2013


I ran into a "500 Internal Server Error" when trying to clone a channel repo after a fresh install.

CentOS 6 x86_64
Spacewalk 1.9
PostgreSQL 8.4.13
spacewalk-sniglets-1.9.22-1.el6.noarch

I went to Manage Software Channels and clicked "clone channel".  The next page resulted in the Error and the following email:


Error message:
  Can't locate object method "new" via package "RHN::Form::ParsedForm" (perhaps you forgot to load "RHN::Form::ParsedForm"?) at /usr/share/perl5/vendor_perl/Sniglets/ChannelEditor.pm line 386.

Error message:
  Can't locate object method "new" via package "RHN::Form::Widget::Select" (perhaps you forgot to load "RHN::Form::Widget::Select"?) at /usr/share/perl5/vendor_perl/Sniglets/ChannelEditor.pm line 392.

So, I manually edited /usr/share/perl5/vendor_perl/Sniglets/ChannelEditor.pm as kindly suggested by the WEB TRACEBACK email and added both modules.  Here is the patch:

--- ChannelEditor.pm.old    2013-06-22 13:13:45.640000520 -0400
+++ ChannelEditor.pm    2013-06-22 13:02:50.855000692 -0400
@@ -26,6 +26,8 @@
 use RHN::DataSource::Package;
 use RHN::DataSource::Channel;
 use RHN::Form::Widget::RadiobuttonGroup;
+use RHN::Form::Widget::Select;
+use RHN::Form::ParsedForm;
 
 sub register_tags {
   my $class = shift;


Now, clone channel function works as expected.


Can someone else using a similar setup confirm that this is indeed a bug?  If so, I can go ahead and file a bug for it.


Thanks,
Giovanni
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130622/d9bd2f7c/attachment.htm>


More information about the Spacewalk-list mailing list