Re: [Rdkit-discuss] Can't stifle warnings / logs

2017-09-22 Thread Andrew Dalke
Hi Cameron, While you are waiting for an answer about the proper way to silence errors, I can give you a work-around which will help with the metaphorical reams of teletype paper you are printing out. However, it is a very crude solution. Basically, close the C/C++ stderr file descriptor, an

[Rdkit-discuss] Can't stifle warnings / logs

2017-09-22 Thread Cameron Pye
Hi There, I'm a longtime rdkit user but a first time mailing list user. One thing that has always haunted me is the warnings and errors that get thrown whilst reading in a dirty sd file or smiles list. I've tried to no avail to silence the warnings and errors many times and normally just live wit

Re: [Rdkit-discuss] mmpdb installation on windows using mingw

2017-09-22 Thread Andrew Dalke
On Sep 22, 2017, at 14:26, Kramer, Christian wrote: > thanks for pointing this out. The reason for that error message is that > signal.SIGPIPE is not available under windows. This seems to have slipped > below our radar, since we developed the code on Linux. And Mac. :) It put that code there

Re: [Rdkit-discuss] mmpdb installation on windows using mingw

2017-09-22 Thread Kramer, Christian
Hi Markus, thanks for pointing this out. The reason for that error message is that signal.SIGPIPE is not available under windows. This seems to have slipped below our radar, since we developed the code on Linux. There is a simple solution to this: In the mmpdb file, one needs to import os and th

Re: [Rdkit-discuss] mmpdb installation on windows using mingw

2017-09-22 Thread Peter Gedeck
Here is a relevant stackoverflow question. https://stackoverflow.com/questions/1948862/is-the-python-3-x-signal-library-for-windows-incomplete What happens if you comment out the code if you run on windows? Best Peter On Fri, Sep 22, 2017 at 7:25 AM Markus Metz wrote: > Hello Christian: > > I

[Rdkit-discuss] mmpdb installation on windows using mingw

2017-09-22 Thread Markus Metz
Hello Christian: I am trying to install your program and get the following error message: $ mmpdb help-analysis Traceback (most recent call last): File "C:/Users/---/Anaconda3/envs/my-rdkit-env/Scripts/mmpdb", line 8, in signal.signal(signal.SIGPIPE, signal.SIG_DFL) # Allow the output pipe