Skip to content

AttributeError: function 'compare' not found;  #90

@ghost

Description

Doctor HazenBabcock :
Hello!

After I was runing "python hal-4000.py xml/none_config.xml", these mistakes trouble me a lot. I try my best to fix it but failed. I wonder whether you can help me.
Thanks a lot.

below is the bug.

···
(storm_control) C:\Users\shen\storm-control-master\storm_control\hal4000>python hal4000.py xml/none_config.xml
Logging Error! Could not open C:/Data/logs/hal4000_37.out
Logging is disabled.
Loading modules
hal
aotf
camera1
daq
display
Traceback (most recent call last):
File "hal4000.py", line 756, in
parameters_file_name = args.default_xml)
File "hal4000.py", line 447, in init
a_module = importlib.import_module(module_params.get("module_name"))
File "C:\Users\shen\Anaconda3\envs\storm_control\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in load_unlocked
File "", line 678, in exec_module
File "", line 219, in call_with_frames_removed
File "C:\Users\shen\storm-control-master\storm_control\hal4000\display\display.py", line 13, in
import storm_control.hal4000.display.cameraViewers as cameraViewers
File "C:\Users\shen\storm-control-master\storm_control\hal4000\display\cameraViewers.py", line 11, in
import storm_control.hal4000.display.cameraFrameViewer as cameraFrameViewer
File "C:\Users\shen\storm-control-master\storm_control\hal4000\display\cameraFrameViewer.py", line 27, in
import storm_control.hal4000.qtWidgets.qtCameraGraphicsScene as qtCameraGraphicsScene
File "C:\Users\shen\storm-control-master\storm_control\hal4000\qtWidgets\qtCameraGraphicsScene.py", line 13, in
import storm_control.hal4000.halLib.c_image_manipulation_c as c_image
File "C:\Users\shen\storm-control-master\storm_control\hal4000\halLib\c_image_manipulation_c.py", line 27, in
ctypes.c_int]
File "C:\Users\shen\Anaconda3\envs\storm_control\lib\ctypes_init
.py", line 361, in getattr
func = self.getitem(name)
File "C:\Users\shen\Anaconda3\envs\storm_control\lib\ctypes_init
.py", line 366, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'compare' not found

···

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions