textext: TexText does not start after MacOS Big Sur installation

Description of the problem/ steps to reproduce After MacOS Big Sur installation I was not able to launch TexText from Inkscape anymore. A error box from Inkscape appears and TexText won’t open. Before Big Sur Installation everything went really nice.

Message(s) in error dialog (if this comes up) The error says: “macOS 11 or later required !” My system runs 11.1 (20C69).

Logfile Please also attach the TexText log file (since TexText 0.9.x). You find it in ~/.config/inkscape/extensions/textext on Linux/ MacOS or in C:\Users\[Your user name]\AppData\Roaming\inkscape\extensions\textext on Windows Unfortunately I can’t find the folder.

Screenshots If applicable and helpful, add screenshots to help explain your problem. Bildschirmfoto 2021-01-06 um 19 48 47 Text translated: “The called script has passed additional data to Inkscape. No error message was returned by the script, but the result may be unusable.”

System information

  • TexText version: as I cannot find the folder, probably 1.2 oder 1.3. I downloaded it this autumn.
  • Inkscape version: 1.0.1
  • Operating system: MacOS Big Sur 11.1 (20C69)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 25 (3 by maintainers)

Most upvoted comments

The fix is this: https://wiki.inkscape.org/wiki/index.php/Extension_Interpreters#Selecting_a_specific_interpreter_version_.28via_preferences_file.29

Assuming you have Homebrew Python (3.9), just add an entry to this group in the config file: /Users/proffan/Library/Application Support/org.inkscape.Inkscape/config/inkscape/preferences.xml

  <group
     id="extensions"
     python-interpreter="/usr/local/bin/python3" />

And install the lxml package:

pip3 install lxml

make sure that this is done with the Homebrew pip3!

Sorry for late reply, but performing these steps (after updating hombrew and python to 3.9) helped me to solve the problem. Now Textex is running again.

The import gi issue in Inkscape is documented here: https://gitlab.com/inkscape/inkscape/-/issues/1566

I reported that to the inkscape development team, here the thread.

The user inkscape folder can be found via inkscape --user-data-directory command. (@jcwinkler we need to add it the corresponding section in docs).

The fix is this: https://wiki.inkscape.org/wiki/index.php/Extension_Interpreters#Selecting_a_specific_interpreter_version_.28via_preferences_file.29

Assuming you have Homebrew Python (3.9), just add an entry to this group in the config file: /Users/proffan/Library/Application Support/org.inkscape.Inkscape/config/inkscape/preferences.xml

  <group
     id="extensions"
     python-interpreter="/usr/local/bin/python3" />

And install the lxml package:

pip3 install lxml

make sure that this is done with the Homebrew pip3!