[modeller_usage] Using modeller with a web form: how topass the provided key to modeller?
To:
Subject: [modeller_usage] Using modeller with a web form: how topass the provided key to modeller?
From: Stéphane Téletchéa <>
Date: Fri, 20 Feb 2009 15:39:50 +0100
Hello,
I'm planning to provide models from carefully validated alignments and
in order to provide this tool, i would like to allow users to access to
the full model, and produce new ones using my methodology, from a web
server.
In fact, if i install modeller the standard way (on linux, using
http://salilab.org/modeller/9v6/release.html#rpm):
env KEY_MODELLER9v6=XXXX rpm -Uvh modeller-9v6-1.i386.rpm, then the key
is incorporated in the installation.
In this case, the "external" key is not used (mine is taken).
On the other end, if i install modeller without the key (remove the env
KEY_MODELLER9v6=XXXX to the above command), i receive:
KEY_MODELLER9v5=<VALIDKEYHERE> /usr/bin/mod9v5 file.py
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib/modeller9v5/modlib/modeller/__init__.py", line 65, in ?
_modeller.mod_start()
_modeller.ModellerError: check_lice_E> Invalid license key: xxx
Go to http://salilab.org/modeller/ to get a license key,
and then set the 'license' variable to it in the file
/usr/lib/modeller9v5/modlib/modeller/config.py
I have tried various combinations to set the KEY_MODELLER9v5 (env,
export, in a sourced file, etc) but i'm always stucked.
Any idea ?
Thanks a lot in advance,
Stéphane Téletchéa
begin:vcard
fn;quoted-printable:St=C3=A9phane T=C3=A9letch=C3=A9a
n;quoted-printable;quoted-printable:T=C3=A9letch=C3=A9a;St=C3=A9phane
org;quoted-printable:INSERM U957 - EA 3822;Laboratoire de Physiopathologie de la R=C3=A9sorption Osseuse et Th=C3=A9=
rapie des tumeurs Osseuses Primitives
adr;quoted-printable:http://www.eri7.nantes.inserm.fr/;;Facult=C3=A9 de M=C3=A9decine, 1 rue Gaston Veil;Nantes cedex;;44035;France
email;internet:
title;quoted-printable:Chercheur en mod=C3=A9lisation mol=C3=A9culaire
tel;work:+33 272 641 143
tel;fax:+33 240 412 860
note:http://www.steletch.org
url:http://www.steletch.org
version:2.1
end:vcard