Writeexcel creating corrupt excel files after migration to new linux server

33 views
Skip to first unread message

vasudea

unread,
Dec 14, 2016, 8:58:39 PM12/14/16
to Spreadsheet::WriteExcel
Hi

We have been using this package without any problems for the last 9 years until we migrated to a new linux server last weekend. All files created have been corrupted. There is no error message.
Apart from the server change we also migrated to 12c. But sparing those no other changes have happened. Our other applications are running fine in this new environment.

Happy to provide any further information to narrow down the problem.

Cheers,
Anand

John McNamara

unread,
Dec 15, 2016, 12:53:45 PM12/15/16
to spreadsheet...@googlegroups.com


On 15 December 2016 at 01:58, vasudea <anand.va...@gmail.com> wrote:
Hi

We have been using this package without any problems for the last 9 years until we migrated to a new linux server last weekend. All files created have been corrupted. There is no error message.
Apart from the server change we also migrated to 12c. But sparing those no other changes have happened. Our other applications are running fine in this new environment.

Hi,

The two most common reasons for corrupted Spreadsheet::WriteExcel files get corrupted are:

* File transfer off the machine the file is generated on. Check the file size on the old and new machince.
* Inadvertent Unicode (generally UTF8) conversion of characters.Does the corruption happen for a simple Hello World program like this one:  http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.40/lib/Spreadsheet/WriteExcel/Examples.pm#Example:_a_simple.pl

Also, run this program on both machines to see if you have different versions of the required modules: http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.40/lib/Spreadsheet/WriteExcel/Examples.pm#Example:_bug_report.pl

John




Reply all
Reply to author
Forward
0 new messages