[solved] textext 0.4.4 on win7 - missing pygtk

Using Inkscape with other software? Talk about it here.
pospiech
Posts: 5
Joined: Mon Oct 20, 2008 11:16 pm

[solved] textext 0.4.4 on win7 - missing pygtk

Postby pospiech » Sun Apr 10, 2011 6:38 pm

I installed textext as described on their homepage, with pstoedit. Inkscape is 0.48.1 on win7 64 bit.

However when I start it, I only get this error message:
Traceback (most recent call last):
File "textext.py", line 306, in <module>
raise RuntimeError("Neither pygtk nor Tkinter is available!")
RuntimeError: Neither pygtk nor Tkinter is available!
Last edited by pospiech on Sun Apr 10, 2011 11:21 pm, edited 1 time in total.

pospiech
Posts: 5
Joined: Mon Oct 20, 2008 11:16 pm

Re: textext 0.4.4 on win7 - missing pygtk

Postby pospiech » Sun Apr 10, 2011 7:31 pm

I could solve this now by following this instructions: http://laconsigna.wordpress.com/2010/11 ... cape-0-48/

However now I get an error with the Core_RL_Magick++.dll (Prozedureinsprungspunkt wurde nicht gefunden...), thus the dll is existing, but does not match the linked functions in the binaries.

textext starts nevertheless, but then finished with this error:

Traceback (most recent call last):
File "textext.py", line 211, in cb_ok
self.callback(self.text, self.preamble_file, self.scale_factor)
File "textext.py", line 370, in <lambda>
converter_cls, old_node))
File "textext.py", line 390, in do_convert
converter.finish()
File "textext.py", line 680, in finish
self.remove_temp_files()
File "textext.py", line 737, in remove_temp_files
self.try_remove(self.tmp_path)
File "textext.py", line 744, in try_remove
os.rmdir(filename)
WindowsError: [Error 145] Das Verzeichnis ist nicht leer: 'c:\\users\\matthi~1\\appdata\\local\\temp\\tmp9lgvs0'

pospiech
Posts: 5
Joined: Mon Oct 20, 2008 11:16 pm

Re: textext 0.4.4 on win7 - missing pygtk

Postby pospiech » Sun Apr 10, 2011 11:08 pm

I could resolve the dll error using http://en.wikiversity.org/wiki/User:Egm ... n/Inkscape.

However the plugin still ends with "Directory not empty message" as posted above nd has no output

pospiech
Posts: 5
Joined: Mon Oct 20, 2008 11:16 pm

Re: textext 0.4.4 on win7 - missing pygtk

Postby pospiech » Sun Apr 10, 2011 11:21 pm

Finally I applied manually the texlive related bug fixes documented on
https://bitbucket.org/pv/textext/issue/ ... ent-383413

Now textext works

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: [solved] textext 0.4.4 on win7 - missing pygtk

Postby brynn » Mon Apr 11, 2011 5:55 pm

Thanks for sharing pospiech.
Even though you solved the problem without us, your posting it here can help others who might come along with the same issue! Image

All best :D


Return to “Inkscape & other”