8000 PIL/Pillow throw error on Android device for Calendar · Issue #512 · bigretromike/nakamori · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
PIL/Pillow throw error on Android device for Calendar #512
Open
@bigretromike

Description

@bigretromike
2022-05-27 17:33:29.951 T:12129 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'NameError'>
Error Contents: name 'ImageFont' is not defined
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nakamori/lib/windows/ac_calendar.py", line 166, in onInit
self.AddSeriesToCalendar()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nakamori/lib/windows/ac_calendar.py", line 139, in AddSeriesToCalendar
if self.process_series_json(series):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nakamori/lib/windows/ac_calendar.py", line 400, in process_series_json
font = ImageFont.truetype(this_path, int(font_size), encoding='unic')
NameError: name 'ImageFont' is not defined
-->End of Python script error report<--

Make workaround using different text maker or use labels instead of images

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug that is the fault of NakamoriKodi 18.x (Leia)It involves Kodi 18 compatibilityKodi 19.x (Matrix)It involves Kodi 19 compatibilitymobileonly on mobile devices

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0