Re: Help needed?

2006-12-20 Thread Nick Burch
On Mon, 18 Dec 2006, Mark Thomas wrote:
 Following up on the recent thread on [EMAIL PROTECTED] is there anything I
 can do to lend a hand around releases and the like?

Henri's given us a long list of things we should try to sort out in the
builds. I'm planning to try to fix all of them over Christmas (few long
train journeys should help), but it'd be useful to have another set of
eyes looking over the new build process when it's sorted.

It looks like we're going to aim for a FINAL release in the early new
year, so whoever opts to be release manager for it will probably ping you
to check they've remembered everything, if that's ok?

Thanks
Nick

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



Re: Help needed?

2006-12-20 Thread Rainer Klute
Nick Burch schrieb:
 Henri's given us a long list of things we should try to sort out in the
 builds. I'm planning to try to fix all of them over Christmas (few long
 train journeys should help), but it'd be useful to have another set of
 eyes looking over the new build process when it's sorted.
   

I can at least run the build on my machine and check whether I notice
anything obvious.

Best regards
Rainer Klute

   Rainer Klute IT-Consulting GmbH
  Dipl.-Inform.
  Rainer Klute E-Mail:  [EMAIL PROTECTED]
  Körner Grund 24  Telefon: +49 172 2324824
D-44143 Dortmund   Telefax: +49 231 5349423

OpenPGP fingerprint: E4E4386515EE0BED5C162FBB5343461584B5A42E




signature.asc
Description: OpenPGP digital signature


DO NOT REPLY [Bug 41223] New: - Simple image extraction for HSSFWorkbook

2006-12-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41223.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41223

   Summary: Simple image extraction for HSSFWorkbook
   Product: POI
   Version: 3.0-dev
  Platform: Other
OS/Version: other
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: HSSF
AssignedTo: poi-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Image data in HSSF is all present, just not easily accessible from the user
model.  I've been working on a way to get it out to make things somewhat easier.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 41223] - Simple image extraction for HSSFWorkbook

2006-12-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41223.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41223





--- Additional Comments From [EMAIL PROTECTED]  2006-12-20 14:51 ---
Created an attachment (id=19294)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=19294action=view)
Patch for picture extraction


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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



Re: Help needed?

2006-12-20 Thread Mark Thomas
Nick Burch wrote:
 On Mon, 18 Dec 2006, Mark Thomas wrote:
 Following up on the recent thread on [EMAIL PROTECTED] is there anything I
 can do to lend a hand around releases and the like?
 
 Henri's given us a long list of things we should try to sort out in the
 builds. I'm planning to try to fix all of them over Christmas (few long
 train journeys should help), but it'd be useful to have another set of
 eyes looking over the new build process when it's sorted.
 
 It looks like we're going to aim for a FINAL release in the early new
 year, so whoever opts to be release manager for it will probably ping you
 to check they've remembered everything, if that's ok?

Happy to. I'll check out trunk and get the build running on my machine
in the mean time. If you want a hand with any of the specific tasks -
just shout.

Mark


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



Exception Reading XLS File

2006-12-20 Thread Chris Barlock
I found an XLS file that throws an Exception when read:

D:\temp4java -classpath 
.;D:\eclipsews\gatepost\poke-post\tools\poi-2.5.1-final-20040804.jar Test 
D:\eclipsews\gatepost\poke-post\tools\PokTCG.xls
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled
 
Code))
at 
java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
at 
org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java(Compiled
 
Code))
at 
org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java(Compiled
 
Code))
at 
org.apache.poi.hssf.usermodel.HSSFWorkbook.init(HSSFWorkbook.java:163)
at 
org.apache.poi.hssf.usermodel.HSSFWorkbook.init(HSSFWorkbook.java:130)
at Test.main(Test.java:12)
Caused by: java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at 
org.apache.poi.hssf.record.UnknownRecord.init(UnknownRecord.java:62)
at 
org.apache.poi.hssf.record.SubRecord.createSubRecord(SubRecord.java:57)
at 
org.apache.poi.hssf.record.ObjRecord.fillFields(ObjRecord.java:99)
at 
org.apache.poi.hssf.record.Record.fillFields(Record.java(Compiled Code))
at org.apache.poi.hssf.record.Record.init(Record.java(Compiled 
Code))
at org.apache.poi.hssf.record.ObjRecord.init(ObjRecord.java:61)
... 9 more
Exception in thread main 
org.apache.poi.hssf.record.RecordFormatException: Unable to construct 
record instance, the following exception occured: null
at 
org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java(Compiled
 
Code))
at 
org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java(Compiled
 
Code))
at 
org.apache.poi.hssf.usermodel.HSSFWorkbook.init(HSSFWorkbook.java:163)
at 
org.apache.poi.hssf.usermodel.HSSFWorkbook.init(HSSFWorkbook.java:130)
at Test.main(Test.java:12)

The source for Test.java which demonstrates this failure is:

import java.io.FileInputStream;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;

public class Test {
public static void main(String[] args) throws Exception {
String filename = args[0];

FileInputStream fis = new FileInputStream(filename);
POIFSFileSystem fs = new POIFSFileSystem(fis);
HSSFWorkbook hssfwb = new HSSFWorkbook(fs);
}
}

Since I'm not sure how well attachments make it through this mailing list, 
the XLS file is the only content of:

http://www.pokepedia.net/pokTCG.zip

I can export this file in CSV format and use other tools to read it, but 
it sure would be nice to read the XLS directly!

Chris

Internet:  [EMAIL PROTECTED]