Tags:
create new tag
, view all tags

Question

When the BlackListPlugin is enabled, the LatexModePlugin generates images (they are in the /tmp dir), but the images in pub/... (with the correct names) are empty files, and so the alt text displays. My BlackListPlugin configuration has been just the one recommended in the install instructions. I hadn't added anything.

The problem occurs with both LatexModePlugin v. 2.50 and v. 2.51. I have BlackListPlugin 02 Jun 2006 (r10442). I have done chmod -R 775 twiki, and so this can't be a permissions problem.

I don't even know if this is a BlackListPlugin issue or a LatexModePlugin issue. My best guess is that BlackListPlugin interferes with TWiki::Func::saveAttachment, but I don't know how to pin it down.

TWiki version Wed, 08 Feb 2006 build 8740, Plugin API version 1.1

I have listed all plugins installed below, but the problem occurs even when all are disabled except for BlackListPlugin and LatexModePlugin.

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: BlackListPlugin, SpreadSheetPlugin, ChildTopicTemplatePlugin, CommentPlugin, DateTimePlugin, EditTablePlugin, ExplicitNumberingPlugin, InterwikiPlugin, LatexModePlugin, LocalCityTimePlugin, PreferencesPlugin, RecursiveRenderPlugin, RedirectPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TextTogglePlugin, ToolTipPlugin, WysiwygPlugin
Server OS: Fedora core 2 2.6.9-1.11_FC2smp
Web server: Apache2: httpd-2.0.53-3.3
Perl version: perl, v5.8.5 built for i386-linux-thread-multi
Client OS:  
Web Browser:  
Categories: Plugins

-- ShaughanLavine - 03 Aug 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

It looks like you are bitten by TWiki Bugs:Item2390. The known issues section of the BlackListPlugin has this: "With TWiki 4.0.2 on some platforms, notably Solaris, attached files are uploaded with a zero file size. This is because there is a bug in how TWiki 4.0.2 handles the beforeAttachmentSaveHandler. If affected, upgrade TWiki or apply bug fix Item2390"

-- PeterThoeny - 03 Aug 2006

That was it. Thanks!

-- ShaughanLavine - 04 Aug 2006

 
Topic revision: r3 - 2006-08-04 - ShaughanLavine
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.