gedit latex plugin does not work

Hi,
i am currently testing gnome on my laptop (i always used kde before) thats why i cannot use kile which i used for editing and compiling latex documents.
I found that on gnome i should use gedit + the latex plugin.
So i installed the gedit latex plugin via yast and then tried to activate in on gnome, but when doing so the a little error icon pops up next to the plugin entry.
Another thing that bothers me is that gedit has basically no interface at all iam wondering how the latex plugin will work if i get it activated if there is not room for buttons and such?!

So is there a solution for that? Is gedit + latex plugin really the best choice when working with latex on gnome?

No idea about gedit and its latex plugin (I don’t use either of them, nor GNOME), but you should be able to use kile in GNOME just fine.

Hi
It’s a bug… (guess it never got upstreamed?)
https://bugzilla.redhat.com/show_bug.cgi?id=986892

Quick fix, remove or rem the line 111 “print self.__file.path”, opening a terminal and running gedit showed the issue :wink:

Further explanation for those new to openSUSE…
Unlike some other distros which deploy distros pointing to Desktop-specific repos which isolate Desktop deployments(eg Ubuntu/Kubuntu/Lubuntu), in openSUSE all packages for every supported Desktop come from the same base repos…

So, you can “mix and match” in openSUSE if you wish, installing and running apps from one Desktop(eg KDE) in another Desktop (eg Gnome). You should be aware that the downside is using far more disk space because to install and support that one “alien” app, you’ll need to pull down an array of dependencies you won’t normally need if you installed apps that are recommended for your Desktop.

TSU

AFAIK, even on Ubuntu everything is in the same base repos.
The different flavours (Ubuntu, Kubuntu, Lubuntu) are just different Live/Installation CD’s with different sets of default packages. The base repos are the same.

So it’s no problem at all to install KDE applications (or the whole KDE even) on Ubuntu, and GNOME applications on Kubuntu.

Though Ubuntu might not have that many desktop environments available in the standard repos as openSUSE has.

Hello,

I also usually use the gedit-plugin-latex buwith openSUSE Leap I am not able to load the plugin.
Terminal says:

(gedit:6833): libpeas-WARNING **: Error importing plugin 'latex':
Traceback (most recent call last):
  File "/usr/lib64/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/usr/lib64/gedit/plugins/latex/__init__.py", line 39, in <module>
    from .windowactivatable import LaTeXWindowActivatable
  File "/usr/lib64/gedit/plugins/latex/windowactivatable.py", line 36, in <module>
    from .config import EDITOR_VIEWS, ACTIONS
  File "/usr/lib64/gedit/plugins/latex/config.py", line 26, in <module>
    from .latex.actions import LaTeXMenuAction, LaTeXNewAction, LaTeXChooseMasterAction, \
  File "/usr/lib64/gedit/plugins/latex/latex/actions.py", line 33, in <module>
    from .editor import LaTeXEditor
  File "/usr/lib64/gedit/plugins/latex/latex/editor.py", line 37, in <module>
    from .expander import LaTeXReferenceExpander
  File "/usr/lib64/gedit/plugins/latex/latex/expander.py", line 28, in <module>
    from .cache import LaTeXDocumentCache
  File "/usr/lib64/gedit/plugins/latex/latex/cache.py", line 111
    print self.__file.path
             ^
SyntaxError: invalid syntax

(gedit:6833): libpeas-WARNING **: Error loading plugin 'latex'

What sounds like the problem ubuntu has at the moment namely that the plugin is written in Python 2 but gedit 3.x only works with python 3 plug-ins.
Does anybody have an idea how to work this around?

Greets,
Arthur