Sure thing! Is the code sufficient, or would you need a runnable jar?
package TestClasses;
import org.openbabel.OBConversion;
import org.openbabel.OBMol;
public class TestOBWriteFile {
public static void main(String[] args) {
System.load("/Applications/OpenBab
Can you provide a complete program that exhibits the problem? Please
make it as small as possible.
On 4 December 2012 10:06, mpillong wrote:
> Ah yes, my bad! Of course, I have also tried different output formats, but
> the error remains the same!
>
>
>
> --
> View this message in context:
> htt
Ah yes, my bad! Of course, I have also tried different output formats, but
the error remains the same!
--
View this message in context:
http://forums.openbabel.org/Invalid-memory-access-during-OBConversion-WriteFile-tp4655729p4655737.html
Sent from the General discussion mailing list archive at
Hi,
I was more curious about the output format, not the format of the input files.
If the problem is indeed in the writing, it would be interesting to know if it
is a specific format or something more general.
/Fredrik
4 dec 2012 kl. 10:44 skrev Max Pillong :
> Hey Fredrik,
>
> thanks for th
Hey Fredrik,
thanks for the input. The SetInAndOutFormat returns true, so I'm guessing
there's nothing worng here. I've experienced this error with several
inputfiles of varying format (pdb, sdf, mol2).
Best regards,
Max
--
View this message in context:
http://forums.openbabel.org/Invalid-m
Hi,
You should probably test the result from SetInAndOutFormats, just to be sure.
If that step failed, you're in trouble. Do you get the error regardless of what
format you're using for output?
Kind regards,
Fredrik
4 dec 2012 kl. 10:16 skrev mpillong :
> Hmmm, sorry about that, I was using t
Hey Noel,
indeed I started with the SetOutFormat method. Unfortunately, both methods
(SetOut/SetInAndOut) return true, yet, the error during writing still
remains, so I'm guessing it's happening somewhere during the writing :/.
Thanks for your input!
Max
--
View this message in context:
htt
On 4 December 2012 09:16, mpillong wrote:
> Hmmm, sorry about that, I was using the < raw > Tag here ... but here's the
> original text.
>
> Hey everyone,
>
> I am currently running OpenBabel on a MacOSX 10.6.8 in Eclipse with Java.
> Recently, I encountered the following exception during using th
Hmmm, sorry about that, I was using the < raw > Tag here ... but here's the
original text.
Hey everyone,
I am currently running OpenBabel on a MacOSX 10.6.8 in Eclipse with Java.
Recently, I encountered the following exception during using the WriteFile()
Method in OBConversion:
'Invalid memory
Your email had no messages in it ... see below.
Craig
On Mon, Dec 3, 2012 at 6:51 AM, mpillong wrote:
> Hey everyone,
>
> I am currently running OpenBabel on a MacOSX 10.6.8 in Eclipse with Java.
> Recently, I encountered the following exception during using the
> WriteFile()
> Method in OBConv
10 matches
Mail list logo