TerminatorPlugins icon indicating copy to clipboard operation
TerminatorPlugins copied to clipboard

Not showing up in Terminator 1.9

Open christopherdriscoll opened this issue 7 years ago • 12 comments

Tried placing the TerminalExporter plugin in ~/.config/terminator/plugins as well as /usr/share/terminator/terminatorlib/plugins and it doesn't seem to load. Attempting an strace of terminator doesn't indicate that the plugin is loading, either.

christopherdriscoll avatar Jan 13 '17 13:01 christopherdriscoll

What's the error message when you run terminator in console?

microdou avatar Jan 14 '17 23:01 microdou

I'm having the same prob here with Terminator 1.90 under Arch. I have tried copying TerminalExporter.py into both ~/.config/terminator/plugins/ and /usr/lib/python2.7/site-packages/terminatorlib/plugins/ , which is where Arch stores the default plugins but the Terminator plug-in tab doesn't list Terminal Exporter.

When I start terminator from within itself, no errors are printed but what I have noticed is that all the plugins within /usr/lib/python2.7/site-packages/terminatorlib/plugins/ consist of both a .py file and a .pyc file. So, I compiled TerminalExporter and then renamed its compiled file to TerminalExporter.pyc and moved it into both of the plugin path dirs but still Terminator doesn't show it under its plugins tab.

danboid avatar Feb 14 '17 10:02 danboid

this is not working. any updates? i don't see the plugin loaded.

crisarceramos avatar Feb 23 '17 04:02 crisarceramos

Hello, same issue here. I copied plugins to the correct path and nothing load when terminator start.

Thanks

ghost avatar Feb 23 '17 14:02 ghost

Guys, please run terminator in any terminal console. What's the error message appeared in the terminal console? I will need these error messages to know what's going on.

The plugins are tested to be working on my Terminator 1.91 (Arch Linux). In my case, TerminatorPlugins .py files are placed under ~/.config/terminator/plugins/. Also make sure they are enabled in "Terminator Preferences".

As a workaround, you will have to go back to Terminator ≤1.0 and an older commit of TerminatorPlugins.

microdou avatar Feb 28 '17 15:02 microdou

As I said in my previous post "When I start terminator from within itself, no errors are printed"

danboid avatar Feb 28 '17 15:02 danboid

@danboid

It's possible the plugin is not loaded at all somehow in your system. You may insert the following to the very beginning of LayoutManager.py to test if Terminator at least tried to load the plugin.

import sys
print(sys.version)

microdou avatar Feb 28 '17 16:02 microdou

I fired up terminator today and noticed that TerminalExporter had appeared under the plugins so I turned it on which enabled its sub-menu in the terminator context menu. I have no idea why it has only appeared now as I've not upgraded since I was trying to get TE to work. Maybe my whole machine needed to be rebooted first?

I've tried the 'export terminal' option and it created a file within /tmp but it was stripped of newlines and wrapped in parentheses so not quite what I wanted.

danboid avatar Mar 02 '17 11:03 danboid

@danboid I think there might have been some conflicts in configuration file when upgrading 1.0 to 1.9. As long as you manually enable it, it should work fine.

I have no idea why export terminal does not work on your system. It might be some conflicts in dependencies. I'm using Arch, so everything is up-to-date...

Or, there may still be some glitches in the code upgrading from gtk2 to gtk3, since I only passively corrected error messages and did not actively examine entire code.

microdou avatar Mar 02 '17 16:03 microdou

Running terminator in debug mode from the terminal terminator -d

shows the error

PluginRegistry::load_plugins: Importing plugin LayoutManager.py failed: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183

charrismatic avatar Jun 21 '17 23:06 charrismatic

Using the files in the other branch ( terminator ) are loading for me on terminator .98

https://github.com/camillo/TerminatorPlugins/tree/terminator/plugins

Linux 4.8.0-41-generic #44~16.04.1-Ubuntu x86_64 x86_64 x86_64 GNU/Linux

charrismatic avatar Jun 22 '17 00:06 charrismatic

I have Gtk+2 and had to change

from gi.repository import Gtk to try:      import gtk as Gtk except ImportError:      from gi.repository import Gtk

I don't have Gtk+3 system to test this on, so not doing a pull request.

yolabingo avatar Jul 14 '17 21:07 yolabingo