SID-01331: "Error accessing TWiki.org: Incomplete headers" on VM
| Status: |
Answered |
TWiki version: |
5.1.0 |
Perl version: |
From VM |
| Category: |
CategoryError |
Server OS: |
CentOS |
Last update: |
14 years ago |
I just downloaded the latest VM of Twiki (file name: TWiki-VM-5.1.0-1.zip). After going through the initial configuration when I click on "Extensions" and then "Find More Extensions" I get the following error message:
Error accessing TWiki.org: Incomplete headers
This is most likely because the LWP CPAN module isn't installed.
It sounds like there are files missing from the VM installation. Is there a way to add the correct CPAN files for the
CentOS used for this VM?
--
MatthewEvans - 2011-11-15
Discussion and Answer
It looks like
CPAN:LWP
needs to be installed. See
HowToInstallCpanModules. Please report back how you solved it.
--
PeterThoeny - 2011-11-15
It is working for me now on the VM. Here's the process I followed:
1. Tried to update and install the required CPAN modules based on this link:
http://twiki.org/cgi-bin/view/TWiki/HowToInstallCpanModules
# perl -MCPAN -e shell
cpan> install Bundle::CPAN
install CGI::Session
install Error
install
FreezeThaw
install GD
install HTML::Tree
install Time-modules
cpan> reload cpan
exit
Unfortunately this didn't work and was getting the same error message.
2. Before I saw
PeterThoeny's message I found this page:
https://bugs.launchpad.net/turnkeylinux/+bug/695873
Which indicated that the libwww-perl module was missing.
In
CentOS on the VM we ran the following command:
yum install perl-libwww-perl.noarch
Which seemed to be the closet match to the missing libwww-perl module.
Once this was installed the Extensions feature is working and I can see data now.
Can this be added to the VM going forward so it doesn't need to be done manually?
--
MatthewEvans - 2011-11-15
Thanks Matthew, I'll add it to the next VM release.
--
PeterThoeny - 2011-11-15
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.