Checked it the simple way, it does not work.

gedit at 3.36.1-2 as requested. It fires up correctly with plugin
unchecked. When activated via Preferences -> Plugins this is the output
I get together with a warning sign:

** (gedit:56510): WARNING **: 16:19:55.334: Error importing plugin 'latex':
Traceback (most recent call last):
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
  File "/usr/lib/gedit/plugins/latex/__init__.py", line 39, in <module>
    from .windowactivatable import LaTeXWindowActivatable
  File "/usr/lib/gedit/plugins/latex/windowactivatable.py", line 38, in
<module>
    from .tabdecorator import GeditTabDecorator
  File "/usr/lib/gedit/plugins/latex/tabdecorator.py", line 187
    @return: the extension of the currently opened file
     ^
SyntaxError: invalid syntax

(gedit:56510): libpeas-WARNING **: 16:19:55.334: Error loading plugin
'latex'



On 4/12/20 4:11 PM, Pietro Battiston wrote:
> Sorry, forget my last comment, only now I read the entire
> gitlab.gnome.org bug, and produced a simple patch:
> https://gitlab.gnome.org/GNOME/gedit-latex/-/commit/2b4cbb4421b0f4e831550b7bc6a02931314e4133
> 
> It works with gedit 3.30.2, so if any of you could test it with gedit
> 3.36.1-1 (even just editing that single file by hand), then I'd be
> happy to merge the fix upstream and then update the Debian package.
> Otherwise, I'll try to get a sid install running and test myself as
> soon as possible.

Reply via email to