java.io.IOException

User 7c5047cd7b

09-11-2007 06:31:50

We met java.io.IOException error, while we open a sd file in Mview.


Please check the attached file(error.sdf, error.bmp)





It seems when the first line of the record has the two bytes character (japanese,chinese), molimporter will throw an error.





I replaced the first line using number or english character, Mview could read the sd file correctly.





I would appreciate you fix the problem of MolImporter.


Thanks

ChemAxon 7c2d26e5cf

09-11-2007 16:55:25

Which Marvin version do you use?


Can you send us a snapshot about the source to check which japanese/chinese characters should be seen?

User 7c5047cd7b

14-11-2007 14:06:44

Tamas wrote:
Which Marvin version do you use?


Can you send us a snapshot about the source to check which japanese/chinese characters should be seen?
My marvin is 4.1.13.


Please find the attached file, which is screenshot.

ChemAxon 7c2d26e5cf

16-11-2007 20:10:23

Thanks for the snapshot.

ChemAxon 7c2d26e5cf

19-11-2007 12:46:36

Can you give the encoding of the mentioned file (error.sdf)? We have not found yet any encoding that fit to this stream.

ChemAxon 7c2d26e5cf

19-11-2007 15:41:40

I am suspectint that the file is encoded with Shift-JIS or ms932. Can you confirm it?

ChemAxon 7c2d26e5cf

19-11-2007 18:30:42

The following applet detects which is the default encoding of your system and print the result to the applet's canvas.


http://www.chemaxon.com/test/testencoding.html


Please try it out and share its result with me.

User 7c5047cd7b

20-11-2007 06:49:43

Tamas wrote:
The following applet detects which is the default encoding of your system and print the result to the applet's canvas.


http://www.chemaxon.com/test/testencoding.html


Please try it out and share its result with me.
DefaultEncoding is MS932

ChemAxon 7c2d26e5cf

27-11-2007 16:37:40

It seems that we have managed to fix the IOException by your SD file.


You can check it in the latest alpha release: Marvin 5.0.0alpha15