Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Doesn't work on Gedit 3.20.1 on Windows 10. #5

Closed
aks2161989 opened this issue Nov 1, 2019 · 3 comments
Closed

Doesn't work on Gedit 3.20.1 on Windows 10. #5

aks2161989 opened this issue Nov 1, 2019 · 3 comments

Comments

@aks2161989
Copy link

aks2161989 commented Nov 1, 2019

Cannot install the plugin on Gedit 3.20.1 on Windows 10. cmd.exe shows the following message:

(gedit.exe:11100): libpeas-WARNING **: Failed to run internal Python hook 'load':
TypeError: Couldn't find foreign struct converter for 'cairo.Context'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "peas-python-internal.py", line 71, in call
SystemError: <built-in function getattr> returned a result with an error set

(gedit.exe:11100): libpeas-WARNING **: Error loading plugin 'plugininstaller'

What could be the problem?

Edit: I can successfully activate this plugin ONLY if the activation of another plugin fails before this. The activation of the previous plugin must fail with the same error message shown above. Fresh activation of gedit-plugininstaller or installation after successful installation of another plugin results in failure of activation.

Plugin does not work despite successful installation. On clicking "preferences" option of the plugin, cmd shows:

(gedit.exe:8000): libpeas-CRITICAL **: show_configure_cb: assertion 'GTK_IS_WIDGET (conf_widget)' failed

@lwindolf
Copy link
Owner

According to rbgirshick/py-faster-rcnn#221 and thaines/helit#8 this is caused by missing GObject Cairo bindings.

I have to admit though that I have no clue on how to install those on Windows :-(

@misaki-web
Copy link

All dependencies can be installed automatically if we use MSYS2: https://www.msys2.org

Example after installing MSYS2:

C:\msys64\mingw64.exe
pacman -Suy
pacman -S mingw-w64-x86_64-gedit mingw-w64-x86_64-gedit-plugins
C:\msys64\mingw64\bin\gedit.exe

Plugins copied in C:\msys64\mingw64\lib\gedit\plugins will be activable.

@lwindolf
Copy link
Owner

I've hinted on the MSYS2 installation instructions in the README!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants