sábado, 22 de octubre de 2011

Solucionar el problema KDE vs Google translator plasmoid

Si tienes instalado KDE. Has instalado Google translator plasmoid y tienes el siguiente error te diremos como lo puedes corregir más abajo.
plasmoidviewer(89776)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasmoidviewer(89776)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
Traceback (most recent call last):
File "/usr/local/kde4/share/apps/plasma_scriptengine_python/pyappletscript.py", line 59, in init
self.module = __import__(self.pluginName+'.'+relpath)
File "/usr/local/kde4/share/apps/plasma_scriptengine_python/plasma_importer.py", line 107, in load_module
exec code in mod.__dict__
File "/usr/home/netSys/.kde4/share/apps/plasma/plasmoids/google-translator/contents/code/main.py", line 33, in <module>
from GoogleTranslator import GoogleTranslator
File "/usr/local/kde4/share/apps/plasma_scriptengine_python/plasma_importer.py", line 107, in load_module
exec code in mod.__dict__
File "/usr/home/<tu user>/.kde4/share/apps/plasma/plasmoids/google-translator/contents/code/GoogleTranslator.py", line 33, in <module>
import os, simplejson
ImportError: No module named simplejsonere to see extender version)
Solucionando el problema
Nota:
  • El problema es que no instala una extensión de Python llamado simplejson. Por eso causa la falla.
Instalando py-simplejson
  • De forma binaria
# pkg_add -r py26-simplejson
  • Desde código fuente
# cd /usr/ports/devel/py-simplejson
# make install clean
Probamos si inicia
$ plasmoidviewer google-translator
Reloguéate (KDE) 

No hay comentarios:

Publicar un comentario