Skip to content

Python Issues in EggBot extension Funktion "Name Poem" in InkScape #22

@c-ruttkies

Description

@c-ruttkies

Ich habe Python issues mit einigen Funktionen in der InkScape extension:

Bei der Funktion "Extensions" -> "EggBot Contributed" -> "Name Poem"

Image

wirft InkScape den Fehler:

Traceback (most recent call last):
  File "/home/christoph/.config/inkscape/extensions/eggbot_acrostic.py", line 267, in <module>
    e.run()
  File "/usr/share/inkscape/extensions/inkex/base.py", line 131, in run
    self.save_raw(self.effect())
  File "/home/christoph/.config/inkscape/extensions/eggbot_acrostic.py", line 236, in effect
    face1 = eval( 'hersheydata.' + name1 )
  File "<string>", line 1, in <module>
NameError: name 'hersheydata' is not defined

Ich schätze, dass das an dem auskommentierten import in eggbot_acrostic.py (Zeile 30) liegt:

# import hersheydata # data file w/ Hershey font data

Der ist irgendwann mal rausgeflogen. Im originalen Repo (https://github.com/gesina/eggbot_extension/blob/master/extensions/eggbot_acrostic.py) ist die Zeile noch drin. Wenn man die einkommentiert, funktioniert es.

InkScape 1.1
Python 3.10.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions