-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Normal
-
Resolution: Unresolved
-
Component/s: ics_agccActor
-
Labels:
When I tried to install the ics_agccActor (tag 1.2.9), A Ayntax error showed up.
(rubin8-ics) pfs-data@agcc:$ setup -v spt_operational_database Setting up: spt_operational_database Flavor: Linux64 Version: 0.2.20 (rubin8-ics) pfs-data@agcc:$ setup -v pfs_instdata Setting up: pfs_instdata Flavor: Linux64 Version: 1.8.21 (rubin8-ics) pfs-data@agcc:$ pfsinstall ics_agccActor:1.2.9 ..... Compiling python/agccActor/fli/fli_camera.pyx because it changed. [1/1] Cythonizing python/agccActor/fli/fli_camera.pyx /software/condaRoot/envs/rubin8-ics/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: python/agccActor/fli/fli_camera.pxd tree = Parsing.p_module(s, pxd, full_module_name) performance hint: python/agccActor/fli/fli_camera.pyx:21:5: Exception check on 'EnumerateCameras' will always require the GIL to be acquired. Possible solutions: 1. Declare 'EnumerateCameras' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'EnumerateCameras' to allow an error code to be returned. In function '_pyx_pf_10fli_camera_6Camera_26resetFrame', inlined from 'pyx_pw_10fli_camera_6Camera_27resetFrame' at python/agccActor/fli/fli_camera.c:26011:13: python/agccActor/fli/fli_camera.c:26578:23: warning: 'pyx_v_y2' may be used uninitialized [-Wmaybe-uninitialized] 26578 | __pyx_v_res = FLISetImageArea((pyx_v_10fli_camera_dev[__pyx_v_id]), __pyx_v_x1, __pyx_v_y1, __pyx_v_x2, __pyx_v_y2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ python/agccActor/fli/fli_camera.c: In function 'pyx_pw_10fli_camera_6Camera_27resetFrame': python/agccActor/fli/fli_camera.c:26030:8: note: 'pyx_v_y2' was declared here 26030 | long __pyx_v_y2; | ^~~~~~~~~~ In function 'pyx_pf_10fli_camera_6Camera_26resetFrame', inlined from 'pyx_pw_10fli_camera_6Camera_27resetFrame' at python/agccActor/fli/fli_camera.c:26011:13: python/agccActor/fli/fli_camera.c:26709:23: warning: 'pyx_v_x2' may be used uninitialized [-Wmaybe-uninitialized] 26709 | __pyx_t_6 = __Pyx_PyInt_From_long((pyx_v_x2 - __pyx_v_x1)); if (unlikely(No usable issue stored in the context, unable to resolve filename '__pyx_t_6)) __PYX_ERR(0, 258, __pyx_L43_error) 'pyx_t_6)) __PYX_ERR(0, 258, __pyx_L43_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ python/agccActor/fli/fli_camera.c: In function 'pyx_pw_10fli_camera_6Camera_27resetFrame': python/agccActor/fli/fli_camera.c:26027:8: note: 'pyx_v_x1' was declared here 26027 | long __pyx_v_x1; | ^~~~~~~~~~ python/agccActor/fli/fli_camera.c: In function 'pyx_pf_10fli_camera_6Camera_52exposeHandler.constprop': python/agccActor/fli/fli_camera.c:33331:10: warning: 'pyx_v_xsize' may be used uninitialized [-Wmaybe-uninitialized] 33331 | size_t __pyx_v_xsize; | ^~~~~~~~~~~~~ python/agccActor/fli/fli_camera.c:33949:41: warning: 'pyx_v_ysize' may be used uninitialized [-Wmaybe-uninitialized] 33949 | for (pyx_t_2 = 0; __pyx_t_2 < __pyx_t_14; __pyx_t_2+=1) { | ~~~~~~~~~~~~~~~~~~~ python/agccActor/fli/fli_camera.c:33332:10: note: '_pyx_v_ysize' was declared here 33332 | size_t __pyx_v_ysize; | ^~~~~~~~~~~~~ File "/software/mhs/products/Linux64/ics_agccActor/1.2.9/lib/python/agccActor/repop.py", line 9 def connectToDB(username='pfs', hostname = 'db-ics', dbname="opdb", password='2394f4s3d', port=5432) ^ SyntaxError: expected ':' eupspkg.decl: declared ics_agccActor 1.2.9 in /software/mhs/products/Linux64/ics_agccActor/1.2.9 (eups declare options: -c) Unable to find an acceptable version of 1.2.9 REMOVING /software/build/pfs-data/ics_agccActor
Although the actor ver. 1.2.9 was installed somehow, it is safer to fix it...