Open PhilLAL opened 9 years ago
In detail, I ran jive to register a LimaCCDs server and then launch in command line the instance LimaCCDs as described.
please tell me if you created the property or not? In the documentation you can find this is a mandatory property, the LimaCCDs server cannot know which camera plugin you want to instantiate. Even using the jive Wizard tool you will get asked for this property.
Cheers.
On 05/03/2015 10:22, PhilLAL wrote:
In detail, I ran jive to register a LimaCCDs server and then launch in command line the instance LimaCCDs as described.
— Reply to this email directly or view it on GitHub https://github.com/esrf-bliss/Lima-tango/issues/19#issuecomment-77331425.
/===============================================================\ | Laurent Claustre | eMail: claustre@esrf.fr | BeamLine Control Unit / | Tel : +33 (0)476 88 29 12 | Software Group / | Fax : +33 (0)476 88 27 43 | Web : www.esrf.eu | Instrumentation Services | and Development Division | Office 07-1-05 | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ESRF - The European Synchrotron | |||||||||||||||||
Physical address: 71 avenue des Martyrs Grenoble - France | |||||||||||||||||
Postal address: CS40220 38043 Grenoble Cedex 9 - France |
\===============================================================/
It seems to me I can not reach this step where you can set this parameter. When I follow step by steps instruction from LImA documentation 1.3.1 at page 12 at chapter 1.3.2 (described at url http://lima.blissgarden.org/install_tango_device_server.html#example-of-plugin-server-setup-basler-detector) there is the behavior :
In my first message, I executed it prefixed by python with "python $PYTHONPATH/Ressources/Lima/applications/tango/LimaCCDs.py 1" as it worked with old commit. The behavior is a bit different but it does not work either.
Without python prefix (with "$PYTHONPATH/Ressources/Lima/applications/tango/LimaCCDs.py 1" as described in documentation), the output is the following :
when I then click on "next" button, a window opened with error message opened :
Tango error Desc -> dserver/LimaCCDs/1 Not Exported ! Reason -> TangoApi_DEVICE_NOT_EXPORTED Origin -> Connection(dserver/LimaCCDs/1) Desc -> Cannot import dserver/LimaCCDs/1 Reason -> TangoApi_CANNOT_IMPORT_DEVICE Origin -> Connection.build_connection(dserver/LimaCCDs/1)
the terminal output is :
import: unable to grab mouse ': Ressource temporairement non disponible @ xwindow.c/XSelectWindow/8993. /home/tangosrv/SW_tango/Ressources/Lima/applications/tango/LimaCCDs.py: line 57: LimaCameraType : commande introuvable /home/tangosrv/SW_tango/Ressources/Lima/applications/tango/LimaCCDs.py: line 60: Erreur de syntaxe près du symbole inattendu « ( » /home/tangosrv/SW_tango/Ressources/Lima/applications/tango/LimaCCDs.py: line 60: LimaCameraType = setup_lima_env(sys.argv)'
And it failed. When I clicked "OK" (which is the only option), the following jive windows appears :
Class Selection Sorry, but the server has no class... The Wizard cannot conitnue.
With the typo. The only options appearing are "< Back" and "Cancel".
I get this output when I launch LimaCCDs :
python $PYTHONPATH/Ressources/Lima/applications/tango/LimaCCDs.py 1 Traceback (most recent call last): File "/home/tangosrv/SW_tango/Ressources/Lima/applications/tango/LimaCCDs.py", line 60, in LimaCameraType = setup_lima_env(sys.argv) File "/home/tangosrv/SW_tango/Ressources/Lima/applications/tango/EnvHelper.py", line 141, in setup_lima_env lima_camera_type = get_lima_camera_type(server_name) File "/home/tangosrv/SW_tango/Ressources/Lima/applications/tango/EnvHelper.py", line 125, in get_lima_camera_type lima_dev_name = get_lima_device_name(server=server, cache=cache) File "/home/tangosrv/SW_tango/Ressources/Lima/applications/tango/EnvHelper.py", line 103, in get_lima_device_name return get_device_class_map(server=server, cache=cache)['LimaCCDs'][0] KeyError: 'LimaCCDs'
When getting back through log, the last commit which allow to launch this server and run correctly Basler CCD is ce225ecca92ef1e68dcefe8594ca94ac85596eda from 2014, Oct 20th.