Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin don't active when i ticks it #13

Closed
Cherkah opened this issue Jun 2, 2016 · 8 comments
Closed

plugin don't active when i ticks it #13

Cherkah opened this issue Jun 2, 2016 · 8 comments
Labels

Comments

@Cherkah
Copy link

Cherkah commented Jun 2, 2016

hi

your plugin might have be usefull fo me if it works .
i can't active the plugin. when i tick it i get a red cercle. wherever i put the pyfile and its folder (user or global) the probleme is the same.

what's wrong?

distro: debian testing/gnome shell
gedit -v > 3.20

@bittner
Copy link
Owner

bittner commented Jun 2, 2016

Have you tried the gedit-3.14 branch? This may fix your situation. See also issue #12.

I should probably merge that branch into master, but from my point of view important features are missing, still broken or the plugin is generally not good enough to meet users' expectations. See issue #8 for a related discussion.

@bittner
Copy link
Owner

bittner commented Jun 2, 2016

Ooops, I've just checked, and the branch is already merged into master.

  • Can you run gedit from the Teminal and share the output in the error situations? (What is the exact error message?)
  • Please also share the Python version (python --version, python3 --version)

@Cherkah
Copy link
Author

Cherkah commented Jun 2, 2016

output frome terminal:

  • Traceback (most recent call last):
    File "/usr/lib/x86_64-linux-gnu/gedit/plugins/dashboard/init.py", line 58, in _add_tab
    [0].get_children()[0].get_children()[1].hide()
    AttributeError: 'Image' object has no attribute 'get_children'

(gedit:7462): libpeas-WARNING **: Error importing plugin 'reST':
Traceback (most recent call last):
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 956, in _find_and_load_unlocked
ImportError: No module named 'reST'

(gedit:7462): libpeas-WARNING **: Error loading plugin 'reST'

(gedit:7462): Gtk-WARNING **: Unable to parse accelerator '\u0002': ignored request to install 5 accelerators

  • python -v : 3.5 and 2.7
    python 2.7 as default to the system

@bittner
Copy link
Owner

bittner commented Jun 2, 2016

ImportError: No module named 'reST'

That sounds like an error that can be easily solved!

You need find out where a location is on your system that holds Python modules, which import correctly, and place the reST.plugin file and the reST folder there. Finding out can be a bit tricky though.

Are you sure you have tried putting reST in the ~/.local/share/gedit/plugins/ folder?

@Cherkah
Copy link
Author

Cherkah commented Jun 3, 2016

thank,

my file/folder are in the local path ~/.local/share/gedit/plugins/ folder (user one) yet, and there are in some gedit's plugins wiche gives me no issues . as i said in my first msg i've tried "user and global (/usr/lib/x86_64-linux-gnu/gedit/plugins)" before to join you.
can you point me out a location or should i give up rest-plugin?
thx

@bittner
Copy link
Owner

bittner commented Jun 3, 2016

  1. Please verify that the location you put both the reST.plugin file and the reST folder in really contains plugins that work with your installation of Gedit. (Not an unused copy)
  2. That the import fails means that the plugin information as such is there (i.e. the plugin is found). But now the process of importing goes havoc. This suggests there are some files in the rest/ folder or even the complete folder missing, so that Python fails to import for technical reasons.

Please double check those things.

@Cherkah
Copy link
Author

Cherkah commented Jun 4, 2016

ok bittner.
the library gir1.2-webkit-3.0. was missing.
now i can tick the plugin in gedit and it works.
thanks a lot for your patience.

regards

@bittner
Copy link
Owner

bittner commented Jun 4, 2016

You're welcome! Glad it works for you.

If there is any other feedback you have on the plugin feel free to comment or open another issue.

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

No branches or pull requests

2 participants