textext having dependency issues in windows

Bug #1695946 reported by wormite
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Wishlist
Unassigned

Bug Description

The current support for GTK seems to be having problems. After the installation of textext, once ran, the python script reports an exception of "Neither pygtk nor Tkinter is available!". I have tried to modify the pygtk import in the textext.py. It seems the pygtk import itself is ok, but the import gtk reports an exception.
I wonder what dependeny is required in order for the import gtk to work under the currently installed site-packages of the python script under windows.
Lun.

wormite (wormite)
description: updated
Patrick Storz (ede123)
tags: added: extensions-plugins
removed: pygtk textext
Changed in inkscape:
status: New → Confirmed
importance: Undecided → Wishlist
status: Confirmed → Triaged
Revision history for this message
Patrick Storz (ede123) wrote :

Well, as a matter of fact the stable release currently does offer neither tkinter nor pygtk out of the box (exactly as the error message stated).

You might have luck with
- copying tkinter from an official Python 2.7.12 installation
- installing pygtk following the hints at [1]

I have not used an extension requiring these dependencies myself yet (so there might be a better approach) but that's how I'd try to tackle it.

[1] http://www.pygtk.org/downloads.html

Revision history for this message
Patrick Storz (ede123) wrote :

P.S. For pygtk the last bullet point (The PyGTK, PyCairo and PyGObject modules [...]) should probably be sufficient as Inkscape ships with a Python interpreter and gtk+ libraries, but I'm only guessing here, so I might be wrong.

Revision history for this message
Patrick Storz (ede123) wrote :

As we switched our build system / packaging in 0.92.2 this bug is probably obsolete.

That being said
- we now ship tkinter
- it was broken in 0.92.2 but should be fixed for the next version,
  see bug #1735451
- we're actively working with upstream now regarding Windows support,
  see https://bitbucket.org/pitgarbe/textext/issues/44/tcl-not-found

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.