Open mocherry opened 1 week ago
Can you please post the complete error message here?
I cannot see more or do you mean the traceback?Von meinem/meiner Galaxy gesendet -------- Ursprüngliche Nachricht --------Von: Constantin Pape @.> Datum: 05.09.24 18:47 (GMT+01:00) An: computational-cell-analytics/micro-sam @.> Cc: mocherry @.>, Author @.> Betreff: [EXTERN] Re: [computational-cell-analytics/micro-sam] function 'FTC_CMapCache_Lookup' not found (Issue #683) Can you please post the complete error message here?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Yes, I mean the traceback.
AttributeError Traceback (most recent call last)
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\app\backends_qt.py:928, in CanvasBackendDesktop.paintGL(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\util\event.py:453, in EventEmitter.call(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\util\event.py:471, in EventEmitter._invoke_callback(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\util\event.py:469, in EventEmitter._invoke_callback(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\scene\canvas.py:219, in SceneCanvas.on_draw(self=<VispyCanvas (PyQt5)>, event=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\scene\canvas.py:278, in SceneCanvas._draw_scene(self=<VispyCanvas (PyQt5)>, bgcolor=<class 'numpy.ndarray'> (4,) float32) 276 bgcolor = self._bgcolor 277 self.context.clear(color=bgcolor, depth=True) --> 278 self.draw_visual(self.scene) self = <VispyCanvas (PyQt5) at 0x1f0b6fba810>
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\scene\canvas.py:316, in SceneCanvas.draw_visual(self=<VispyCanvas (PyQt5)>, visual=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\scene\visuals.py:106, in VisualNode.draw(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\visuals\visual.py:668, in CompoundVisual.draw(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\scene\visuals.py:106, in VisualNode.draw(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\visuals\visual.py:505, in Visual.draw(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\visuals\text\text.py:533, in TextVisual._prepare_draw(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\visuals\text\text.py:534, in
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\visuals\text\text.py:264, in _text_to_vbo(text='', font=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\visuals\text\text.py:81, in TextureFont.getitem(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\visuals\text\text.py:95, in TextureFont._load_char(self=
File ~\AppData\Local\micro_sam\Lib\site-packages\vispy\util\fonts_freetype.py:47, in _load_glyph(f={'bold': False, 'face': 'OpenSans', 'italic': False, 'size': 256}, char='h', glyphs_dict={}) 45 def _load_glyph(f, char, glyphs_dict): 46 """Load glyph from font into dict""" ---> 47 from freetype import (FT_LOAD_RENDER, FT_LOAD_NO_HINTING, 48 FT_LOAD_NO_AUTOHINT) 49 flags = FT_LOAD_RENDER | FT_LOAD_NO_HINTING | FT_LOAD_NO_AUTOHINT 50 face = _load_font(f['face'], f['bold'], f['italic'])
File ~\AppData\Local\micro_sam\Lib\site-packages\freetype__init__.py:24 21 import ctypes.util 22 import struct ---> 24 from freetype.raw import * 26 # Hack to get unicode class in python3 27 PY3 = sys.version_info[0] == 3
File ~\AppData\Local\micro_sam\Lib\site-packages\freetype\raw.py:201 195 pass 197 # Wholesale import of 102 routines which can be reasonably expected 198 # to be found in freetype 2.2.x onwards. Some of these might need 199 # to be protected with try:/except AttributeError: in some freetype builds. --> 201 FTC_CMapCache_Lookup = _lib.FTC_CMapCache_Lookup _lib = <CDLL 'C:\Program Files\Eclipse Adoptium\jdk-21.0.2.13-hotspot\bin\freetype.dll', handle 7ffc36120000 at 0x1f0fcd6fd90> 202 FTC_CMapCache_New = _lib.FTC_CMapCache_New 203 FTC_ImageCache_Lookup = _lib.FTC_ImageCache_Lookup
File ~\AppData\Local\micro_sam\Lib\ctypes__init.py:389, in CDLL.getattr(self=<CDLL 'C:\Program Files\Eclipse Adoptium\jdk-21....3-hotspot\bin\freetype.dll', handle 7ffc36120000>, name='FTC_CMapCache_Lookup') 387 if name.startswith('') and name.endswith(''): 388 raise AttributeError(name) --> 389 func = self.getitem__(name) name = 'FTC_CMapCache_Lookup' self = <CDLL 'C:\Program Files\Eclipse Adoptium\jdk-21.0.2.13-hotspot\bin\freetype.dll', handle 7ffc36120000 at 0x1f0fcd6fd90> 390 setattr(self, name, func) 391 return func
File ~\AppData\Local\micro_sam\Lib\ctypes__init.py:394, in CDLL.getitem(self=<CDLL 'C:\Program Files\Eclipse Adoptium\jdk-21....3-hotspot\bin\freetype.dll', handle 7ffc36120000>, name_or_ordinal='FTC_CMapCache_Lookup')
393 def getitem(self, name_or_ordinal):
--> 394 func = self._FuncPtr((name_or_ordinal, self))
self._FuncPtr = <class 'ctypes.CDLL.init__.
AttributeError: function 'FTC_CMapCache_Lookup' not found
Dear developers,
I tried to install micro-sam with the windows installer and when trying to run it I get the following error: function 'FTC_CMapCache_Lookup' not found
Any idea what is wrong?
Thanks and best Matthias