in reply to Spreadsheet::WriteExcel and Cava packager

Hi, Looks like there is an issue with your Cava install. Uninstall Cava. Delete anything left behind in install directories (their should not be - but something appears to be wrong) Re-install Cava. I have tested loading SpreadSheet::WriteExcel with ActivePerl 1007 using both current Cava 2.0.42 and your version 2.0.40. All seems to work OK.
  • Comment on Re: Spreadsheet::WriteExcel and Cava packager

Replies are listed 'Best First'.
Re^2: Spreadsheet::WriteExcel and Cava packager
by samuelalfred (Sexton) on Apr 19, 2011 at 06:59 UTC

    I tried to uninstall and then re-install the latest version of CAVA but I still get the exact same error message.

    It could be added that I some years ago did the same procedure with an older version of CAVA (and possibly older version of Spreadsheet::WriteExcel) and then it all worked as it should. Unfortunately I'm not able to find this old version so I can't open the project I used then. Tried to use the project converter in the latest version to open it but it doesn't work...

      Hi, I'm part of Cava development.
      Why not post to the Cava help list?
      Anyhow, if you run your exec in diagnostics mode it should tell you exactly where it failed.

      It appears to be failing during POSIX AutoLoad. Have you edited your POSIX module or autoload files locally?

      I have no problem building a script with Spreadsheet::WriteExcel / POSIX?

      Have you tried incrementing the release number?
        Hello,

        I haven't changed anything in POSIX or autoload and I tried to run the executable in diagnostics mode but the error message was identical to the one posted by me above.

        What do you mean by increasing the release number?

      $ perl -le "binmode STDOUT; print chr($_) for 0 .. 43" > notperl.pl $ perl notperl.pl Unrecognized character \x01; marked by <-- HERE after <-- HERE near co +lumn 1 at notperl.pl line 2. $ perl -Mdiagnostics notperl.pl Unrecognized character \x01; marked by <-- HERE after <-- HERE near co +lumn 1 at notperl.pl line 2 (#1) (F) The Perl parser has no idea what to do with the specified char +acter in your Perl script (or eval) near the specified column. Perhaps +you tried to run a compressed script, a binary program, or a directory as a +Perl program. Uncaught exception from user code: Unrecognized character \x01; marked by <-- HERE after <-- HERE + near column 1 at notperl.pl line 2. at notperl.pl line 2
      If the source isn't mangled, then maybe a use utf8; is missing, or a
      export LANG=...
      is misplaced ( something to do with locales... )