Question
WSYWIG editor can't find Entities.pm when loading (and maybe when saving--didn't check since it doesn't even load right). This file doesn't seem to exist in the v4.0.1 installation package I downloaded and installed, but is apparently needed for the WSYWIG editor to work correctly?
Apache Log:
[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] Can't locate HTML/Entities.pm in
@INC
(
@INC
contains: /cygdrive/d/twiki/lib/CPAN/lib//arch/ /cygdrive/d/twiki/lib/CPAN/lib//5.8.7/cygwin-thread-multi-64int/ /cygdrive/d/twiki/lib/CPAN/lib//5.8.7/ /cygdrive/d/twiki/lib/CPAN/lib// /cygdrive/d/twiki/lib . /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8) at /cygdrive/d/twiki/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 44.\n
[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] at /cygdrive/d/twiki/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 44\n
[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] \t TWiki::Plugins::WysiwygPlugin::HTML2TML::Node::BEGIN() called at HTML/Entities.pm line 44\n
[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] \t eval {...} called at HTML/Entities.pm line 44\n
[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] \t require TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm called at /cygdrive/d/twiki/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML.pm line 44\n
[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] \t TWiki::Plugins::WysiwygPlugin::HTML2TML::BEGIN() called at HTML/Entities.pm line 44\n
[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] \t eval {...} called at HTML/Entities.pm line 44\n
... the errors continue but this seems to be the root of the problem: There is no Entities.pm file anywhere in my installation.
Environment
--
JoshuaJohnston - 11 Feb 2006
Answer
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.
Check the pre-requisites for the WYSIWYG plugin, but looks like you need to install
CPAN:HTML::Entities
. See
WindowsInstallCookbook for use of the
cpan tool to install such CPAN modules.
--
RichardDonkin - 12 Feb 2006
Thanks for this info Richard... it worked.
I have tried to install every CPAN module I could find documented as one that I might potentially need, including everything on the Configure page and a few others I've found here and there on the TWiki documentation and support pages. There doesn't seem to be a definitive list floating around.
So installing HTML::Entities works correctly which lets the WSYWIG load. It still doesn't save correctly but I believe that is basically the problem outlined in the
OopsHangs topic.
Thanks again...
--
JoshuaJohnston - 13 Feb 2006