-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug:
I was trying to packaging your programme for the debian. I added python3-emoji, python3-pyfiglet and figlet as dependencies. But when I run ascii-draw I see this error
/usr/share/ascii-draw/ascii_draw/tools/tool.py:80: Warning: g_markup_escape_text: assertion 'text != NULL' failed
stack_page = stack.add(self._sidebar.get_child())
Traceback (most recent call last):
File "/usr/share/ascii-draw/ascii_draw/main.py", line 145, in do_activate
self.win = AsciiDrawWindow(application=self)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/share/ascii-draw/ascii_draw/window.py", line 168, in __init__
self.text_tool = Text(self.canvas)
~~~~^^^^^^^^^^^^^
File "/usr/share/ascii-draw/ascii_draw/tools/text.py", line 75, in __init__
text = pyfiglet.figlet_format("font 123", font=font)
File "/usr/lib/python3/dist-packages/pyfiglet/__init__.py", line 68, in figlet_format
fig = Figlet(font, **kwargs)
File "/usr/lib/python3/dist-packages/pyfiglet/__init__.py", line 863, in __init__
self.setFont()
~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/pyfiglet/__init__.py", line 870, in setFont
self.Font = FigletFont(font=self.font)
~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pyfiglet/__init__.py", line 129, in __init__
self.data = self.preloadFont(font)
~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3/dist-packages/pyfiglet/__init__.py", line 169, in preloadFont
raise FontNotFound(font)
pyfiglet.FontNotFound: 3x5
I fixed it with this patch, but it is better that fixed in upstream.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working