Re: [Rdkit-discuss] Struggling with apache + rdkit + django

2016-07-20 Thread Téletchéa Stéphane
Le 24/06/2016 à 02:14, Stéphane Téletchéa a écrit : > http://www.steletch.org/spip.php?article91 > > Many thanks, > > Stéphane > > Just for the record, there was on omission in the web site when you want to use a bigger project than just a demo, the WSGI process must contain the directive:

Re: [Rdkit-discuss] Struggling with apache + rdkit + django

2016-06-23 Thread Stéphane Téletchéa
Le 22/06/2016 à 02:56, Stéphane Téletchéa a écrit : > Since I have tried to reproduce all the > steps properly I'll set up soon a post > on my blog about this, so others will be able to reproduce easily the > initial steps without being blocked like > me for some days ... Once the post is up, I'll

Re: [Rdkit-discuss] Struggling with apache + rdkit + django

2016-06-21 Thread Stéphane Téletchéa
Dear Michał, I already went there and I'm really happy ChEMBL is using the same technologies as I do :-) (or the other way around :-) For sure I will consider the Beaker facility for inclusion in my project, but for now I'm too "old-school" minded, I want everything at home before querying th

Re: [Rdkit-discuss] Struggling with apache + rdkit + django

2016-06-21 Thread Stéphane Téletchéa
Dear Paolon Le 21/06/2016 à 20:09, Paolo Tosco a écrit : > Dear Stéphane, > > I can run Python scripts import RDKit modules on CentOS 7 by putting > the following rdkit.conf file in /etc/ld.so.conf.d: > > $ cat /etc/ld.so.conf.d/rdkit.conf > /var/www/cgi-bin/rdkit/rdkit-Release_2016_03_1/lib >

Re: [Rdkit-discuss] Struggling with apache + rdkit + django

2016-06-21 Thread Markus Sitzmann
Hi Stephane, Add some Python code to your uwsgi.py file that prints out the environment that the Python interpreter sees (maybe comment out everything else) when it is called by the Apache. It is very likely that the Apache calls another Python interpreter than you expect. What Paolo writes is

Re: [Rdkit-discuss] Struggling with apache + rdkit + django

2016-06-21 Thread Michał Nowotka
Hi Stéphane, Just to let you know about two things: 1. ChEMBL web services are a Django application written using RDKit. We deploy it using gunicorn and Apache through Reverse Proxy and put on a Virtual Machine named myChEMBL that you can download. Here are some example configuration files: https

Re: [Rdkit-discuss] Struggling with apache + rdkit + django

2016-06-21 Thread Paolo Tosco
Dear Stéphane, I can run Python scripts import RDKit modules on CentOS 7 by putting the following rdkit.conf file in /etc/ld.so.conf.d: $ cat /etc/ld.so.conf.d/rdkit.conf /var/www/cgi-bin/rdkit/rdkit-Release_2016_03_1/lib and adding two SetEnv directives in the section of my Apache rdkit.conf

Re: [Rdkit-discuss] Struggling with apache + rdkit + django

2016-06-21 Thread Téletchéa Stéphane
Le 21/06/2016 20:18, TJ O'Donnell a écrit : > I would suggest setting PYTHONPATH in > config or ini files for > Apache or Django or uwsgi > Not sure which is required. Dear all, This is already indicated using a WSGIprocessGroup : WSGIDaemonProcess manageLibrary python-path=/path/to/project/pro

Re: [Rdkit-discuss] Struggling with apache + rdkit + django

2016-06-21 Thread TJ O'Donnell
I would suggest setting PYTHONPATH in config or ini files for Apache or Django or uwsgi Not sure which is required. On Tue, Jun 21, 2016 at 11:15 AM, Téletchéa Stéphane < stephane.teletc...@univ-nantes.fr> wrote: > Le 21/06/2016 20:05, Bennion, Brian a écrit : > > What is the actual problem that

Re: [Rdkit-discuss] Struggling with apache + rdkit + django

2016-06-21 Thread Téletchéa Stéphane
Le 21/06/2016 20:05, Bennion, Brian a écrit : > What is the actual problem that is occurring? You have listed what you have > tried to do to fix a problem. > > Brian Dear Brian, I get a 500 error meaning something is not working properly, but no trace in logs (either apache or django), so I ca

[Rdkit-discuss] Struggling with apache + rdkit + django

2016-06-21 Thread Téletchéa Stéphane
Dear all, I am willing to incorporate some rdkit functionalities using a django backend for an internal project (basically ligand annotation and comparison with docking studies) which will be published once ready. Using the "developper" mode of django and conda I can properly get all of them w