Hi Gabr iel,
Can you show the console error ? I’ve got this kind of problem with Jython imports. Even if you modify PYTHONPATH or CS-Studio PYTHONPATH preferences it doesn’t work. To solve it I needed to create a python script named
ImportDependencies.py :
“
#Python imports
import sys
from os.path import expanduser
# Get Home path
HOME_PATH = expanduser("~")
print 'importDependencies HOME_PATH '+str(HOME_PATH)
# Add librairies
sys.path.append(str(HOME_PATH)+'/path/to/jar/file')”
In a second time, you have to import ImprtDependencies.py in your Jython/Python script like this : “import ImportDependencies”.
Best regards.
![](jpgZDV2XFpzA4.jpg)
Préservons notre environnement, n’imprimez ce mail que si nécessaire.
Preserve our environment, print this email only if necessary.
|
BEGIN:VCARD
VERSION:2.1
X-MS-SIGNATURE:YES
N;LANGUAGE=fr:PATARD;Charles-Henry
FN:Charles-Henry PATARD
ORG:GANIL;SDA/GIM
TEL;WORK;VOICE:(02) 31 45 49 05
ADR;WORK;PREF:;;Boulevard Henri Becquerel;Caen;;14000;France
LABEL;WORK;PREF;ENCODING=QUOTED-PRINTABLE:Boulevard Henri Becquerel=0D=0A=
14000 Caen France
X-MS-OL-DEFAULT-POSTAL-ADDRESS:2
EMAIL;PREF;INTERNET:[email protected]
X-MS-CARDPICTURE;TYPE=JPEG;ENCODING=BASE64:
/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQY
GBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYa
KCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAAR
CACUACcDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkK
FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVF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-8:<card xmlns="http://schemas.microsoft.com/office/outlook/12/electronicbusinesscards" ver="1.0" layout="left" bgcolor="ffffff"><img xmlns="" align="fit" area="16" use="cardpicture"/><fld xmlns="" prop="name" align="left" dir="ltr" style="b" color="000000" size="10"/><fld xmlns="" prop="org" align="left" dir="ltr" color="000000" size="8"/><fld xmlns="" prop="title" align="left" dir="ltr" color="000000" size="8"/><fld xmlns="" prop="dept" align="left" dir="ltr" color="000000" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="telwork" align="left" dir="ltr" color="000000" size="8"><label align="right" color="626262">Bureau</label></fld><fld xmlns="" prop="email" align="left" dir="ltr" color="000000" size="8"/><fld xmlns="" prop="addrwork" align="left" dir="ltr" color="000000" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/></card>
REV:20140210T091139Z
END:VCARD
- Replies:
- Re: CSS - Problem importing Jar on Jython Gabriel de Souza Fedel
- Navigate by Date:
- Prev:
Re: CSS - Problem importing Jar on Jython (open tiff file) Gabriel de Souza Fedel
- Next:
Re: CSS - Problem importing Jar on Jython Gabriel de Souza Fedel
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: CSS - Problem importing Jar on Jython (open tiff file) Gabriel de Souza Fedel
- Next:
Re: CSS - Problem importing Jar on Jython Gabriel de Souza Fedel
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|