Tags:
create new tag
, view all tags

Question

I'm writing a plugin, that ist enabling connection to an excel file. I'm using the Spreadsheet::ParseExcel modul. When I start the script in eclipse/epic, it's working properly, but when it starts from TWiki, the script cannot compute the value at this row: "my $book = Spreadsheet::ParseExcel::Workbook->Parse($path);". With some excel documents works, with other not. The excel format is accurate, I think. The perl-process seems as if it is sleeping. Any ideas?

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Win XP, SP2
Web server: Apache/1.3.34 (Win32)
Perl version: 5.8.7-5 (Cygwin)
Client OS: MS Windows XP, SP2
Web Browser: Opera, IE, Firefox
Categories: Platform, Plugins

-- AngelGerdzhikov - 31 May 2006

Answer

With the information you provide it is difficult to help. Please read the SupportGuidelines and provide some more details. Possibly also with some code, e.g. what Plugin callback you use etc.

-- PeterThoeny - 31 May 2006

here is attached the plugin modul. The same problemm comes even if one writes twice %EXCELCONNECTOR{...}% into a topic.

-- AngelGerdzhikov - 01 Jun 2006

Sorry, I do not know why it hangs. You expand %EXCELCONNECTOR{...}% properly in commonTagsHandler. Time for some CGI debugging, see TWikiDebugging.

-- PeterThoeny - 01 Jun 2006

 
Topic attachments
I Attachment Action Size Date Who Comment
Perl source code filepm ExcelConnectorPlugin.pm manage 5.1 K 2006-06-01 - 15:57 AngelGerdzhikov the plugin modul
Topic revision: r5 - 2006-06-16 - SteffenPoulsen
 
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.