Showing posts with label el capitan. Show all posts
Showing posts with label el capitan. Show all posts

Sunday, March 12, 2017

Fixing textext 0.4.4 in Inkscape 0.91 with OSX

textext is a great Inkscape extension that allows to incrustante LaTeX formulas in the drawings. However, it seems that textext was last updated in 2010 (v0.4.4) and since then some python calls to the md5 package have become deprecated.
This is obviously an issue for recent OS. 
Traceback (most recent call last):
  File "textext.py", line 210, in cb_ok
    self.callback(self.text, self.preamble_file, self.scale_factor)
  File "textext.py", line 369, in
    converter_cls, old_node))
  File "textext.py", line 387, in do_convert
    new_node = converter.convert(text, preamble_file, scale_factor)
  File "textext.py", line 879, in convert
    return PdfConverterBase.convert(self, *a, **kw)
  File "textext.py", line 750, in convert
    self.tex_to_pdf(latex_text, preamble_file)
  File "textext.py", line 727, in tex_to_pdf
    exec_command(['pdflatex', self.tmp('tex')] + latexOpts)
  File "textext.py", line 592, in exec_command
    raise RuntimeError("Command %s failed: %s" % (' '.join(cmd), e))
RuntimeError: Command pdflatex /var/folders/2y/h0000gn/T/tmpUcu75l/tmp.tex -interaction=nonstopmode -halt-on-error failed: [Errno 2] No such file or directory

Thursday, July 14, 2016

Error associating all .ply files to MeshLab in OSX El Capitan


When trying to associate MeshLab application to all the .ply files with the Always open with or Change All...  buttons I get the following error
An unexpected error occurred (error code -10813).
The operation could not be completed.

The problem is that MeshLab is missing the key CFBundleIdentifier in its Info.plist.
To solve the problem edit its plist file
> open /Applications/meshlab.app/Contents/Info.plist 
and add the key CFBundleIdentifier with value com.vcg.MeshLab.

Then touch the application tell OS X about the change
> touch /Applications/meshlab.app
And retry associating the file type.