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
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list