You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/02/21 03:02:43 UTC

DO NOT REPLY [Bug 46748] New: Generated files cannot be read by Google or on BlackBerry

https://issues.apache.org/bugzilla/show_bug.cgi?id=46748

           Summary: Generated files cannot be read by Google or on
                    BlackBerry
           Product: POI
           Version: 3.5-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: jdurrell@gmail.com


Created an attachment (id=23285)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23285)
Sample generated file

The .xls files created with the 3.5 beta cannot be read on BlackBerry or by
Google applications.  Both Google's client on mobile and the "View as HTML"
feature in Gmail report that file as corrupted.  Excel and Google Docs can read
the file.

This can be reproduced with the simplest of files:
HSSFWorkbook wb = new HSSFWorkbook(); 
HSSFSheet sheet = wb.createSheet("test");
FileOutputStream fos = new FileOutputStream("/tmp/blah.xls");
wb.write(fos);
fos.close();

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 46748] Generated files cannot be read by Google or on BlackBerry

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46748





--- Comment #2 from David Fisher <df...@jmlafferty.com>  2009-02-20 20:24:53 PST ---
How did you send the xls to your device?

What mimetype does the gmail client report for the attachment?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 46748] Generated files cannot be read by Google or on BlackBerry

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46748





--- Comment #1 from jdurrell@gmail.com  2009-02-20 18:04:19 PST ---
To be clear, the BlackBerry viewer cannot read the file either; the problem
isn't limited to Google code.  Thanks.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 46748] Generated files cannot be read by Google or on BlackBerry

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46748





--- Comment #3 from jdurrell@gmail.com  2009-02-20 21:22:57 PST ---
Thanks for jumping on this so quickly.


> How did you send the xls to your device? 

I've put the file on the device in multiple ways: an email attachment through
both the Gmail client and the BlackBerry client, and via download through the
browser.   To rule out transmission quirks, I confirmed that an Excel-generated
file put on the device through the same methods works fine.


> What mimetype does the gmail client report for the attachment?

The Google client doesn't show a mime type that I could see, but the http
headers in the download show:
Content-Type: application/vnd.ms-excel


One other point to clarify -- the testing with Google's "View as HTML" was done
on a PC, not on a BlackBerry.  Actually, it's a server-side error from Google
so the PC doesn't matter, but the important element is that I tried to make
sure the problem wasn't BlackBerry-specific.  Otherwise I'd probably have filed
the defect with RIM instead.  :-)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 46748] Generated files cannot be read by Google or on BlackBerry

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46748


jdurrell@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|PC                          |All
         OS/Version|Windows XP                  |All




--- Comment #4 from jdurrell@gmail.com  2009-03-17 13:38:12 PST ---
Updated the platforms.  Excel files generated on Linux exhibit this problem,
and readers on multiple platforms fail when accessing the files.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 46748] Generated files cannot be read by Google or on BlackBerry

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46748

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #5 from Dominik Stadler <do...@gmx.at> ---
Current POI and current Google Mail work together well both with the simple
sample file attached as well as with more complex documents produced by POI, I
think this is fixed either on the side of POI or Google, sorry, but cannot test
on BlackBerry.

I am resolving this for now, please reopen with fresh samples if it still does
not work for you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org