- Linux Mint Forums
- How to get Python plugins working with Pluma ?
- How to get Python plugins working with Pluma ?
- Re: How to get Python plugins working with Pluma ?
- Re: How to get Python plugins working with Pluma ?
- Re: How to get Python plugins working with Pluma ?
- Re: How to get Python plugins working with Pluma ?
- Re: How to get Python plugins working with Pluma ?
- Saved searches
- Use saved searches to filter your results more quickly
- grpc_python_plugin not installed with pip install grpcio-tools? #15675
- grpc_python_plugin not installed with pip install grpcio-tools? #15675
- Comments
- Saved searches
- Use saved searches to filter your results more quickly
- Python Not Found for Python Plugins #1793
- Python Not Found for Python Plugins #1793
- Comments
- Expected Behavior
- Current Behavior
- Possible Solution
- Steps to Reproduce (for bugs)
- Context
- Environment
- No python plugins found
Linux Mint Forums
How to get Python plugins working with Pluma ?
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
How to get Python plugins working with Pluma ?
Post by stuaxo » Fri Feb 22, 2019 3:43 pm
I’m trying to get python plugins working with Pluma on Mint 19, what do I need to install ?
I’ve done apt install pluma-* libpeas-1.0-python2loader python2 and 3.
For my own plugin, I’m not sure where to install ~/.config/share/pluma/plugins or ~/.local/share/pluma/plugins ?
What’s the best way to find out if things are working ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: How to get Python plugins working with Pluma ?
Post by deepakdeshp » Sat Feb 23, 2019 2:46 pm
If I have helped you solve a problem, please add [ SOLVED] t o your first post title , it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Re: How to get Python plugins working with Pluma ?
Post by trytip » Sat Feb 23, 2019 3:15 pm
Re: How to get Python plugins working with Pluma ?
Post by stuaxo » Mon Feb 25, 2019 4:55 pm
Hi,
I want to port my own python based gedit Shoebot plugin to Pluma. In the meantime, I noticed there don’t seem to be any python plugins with current mint + pluma.
So, I’d be interested in any python based Pluma plugin that works, then I can try and develop my own.
Re: How to get Python plugins working with Pluma ?
Post by furas » Tue Mar 05, 2019 1:50 pm
I found one python plugin working in Pluma 1.20.1 on Linux Mint 19.1
It is PythonConsole and you can find it in Pluma source code on GitHub
I downloaded code and copied
— folder pythonconsole
— file pythonconsole.plugin.desktop.in (renamed to pythonconsole.plugin )
Inside pythonconsole.plugin I had to remove _ (underline) in _Name=
Re: How to get Python plugins working with Pluma ?
Post by furas » Sun Mar 31, 2019 6:20 am
After my previous post I checked Pluma source code and there are other plugins in Python
Using those plugins I took examples from Gedit3 PythonPluginHowTo and I made few examples working in Pluma 1.20.
Yesterday I took two Gedit3’s plugins DuplicateLines and LineTools and modify for Pluma 1.20.
DuplicateLines uses Ctrl+Shift+D instead of Ctrl+D (which deletes line) because it didn’t work with Ctrl+D
LineTools has function «duplicate line» which works from menu (Edit > LineTools > Duplicate Line) but not from shortcut Ctrl+D.
It will need different shortcut.
Both modifications are also on the same GitHub repository.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
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
grpc_python_plugin not installed with pip install grpcio-tools? #15675
grpc_python_plugin not installed with pip install grpcio-tools? #15675
Comments
I am experimenting the python grpc hello world example.
gPRC tools is installed with python3.6 pip.
$ python -m pip install grpcio $ python -m pip install grpcio-tools $ python -m grpc_tools.protoc --version libprotoc 3.5.1
And compile using grpc tools as a python module works fine.
$ python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. helloworld.proto
I would like to also try to using the system protoc to compile, however, this fails due to grpc_python_plugin is not found.
$ protoc --version libprotoc 3.5.1 $ protoc -I. --python_out=. --grpc_python_out=. --plugin=protoc-gen-grpc=`which grpc_python_plugin` helloworld.proto protoc-gen-grpc_python: program not found or is not executable --grpc_python_out: protoc-gen-grpc_python: Plugin failed with status code 1.
I then built grpc_python_plugin from gits, and it works fine.
$ git clone https://github.com/grpc/grpc.git $ git submodule update --init $ make grpc_python_plugin $ ls ~/gits/grpc/bins/opt/ grpc_python_plugin protobuf $ protoc -I. \ --python_out=. \ --grpc_python_out=. \ --plugin=protoc-gen-grpc_python=~/gits/grpc/bins/opt/grpc_python_plugin \ helloworld.proto
- From my understanding, the first approach, e.g., using python module is preferred, right?
- What is the difference between the two approaches, python module grpc_tools, and protoc with grpc plugin?
- Is it possible to get the grpc_python_plugin via pip install, or similar way?
I explored protoc with grpc plugins to compile python and javascript out together, which works fine.
protoc -I. \ --python_out=. \ --grpc_python_out=. \ --plugin=protoc-gen-grpc_python=`which grpc_python_plugin` \ --js_out=import_style=commonjs,binary:. \ --grpc_out=. \ --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` \ helloworld.proto
The text was updated successfully, but these errors were encountered:
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
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
Python Not Found for Python Plugins #1793
Python Not Found for Python Plugins #1793
Comments
Expected Behavior
./configure —enable-python-plugins , completes without error
Current Behavior
checking for python. no
checking for python. no
configure: error: Python not found, cannot enable Python plugins
Possible Solution
Steps to Reproduce (for bugs)
1.Git clone master
2../bootstrap.sh
3. ./configure —prefix=/usr —disable-icons-and-clipboard —without-xscreensaver —enable-notifications —enable-python-plugins —enable-c-plugins —enable-plugins —enable-otr —enable-omemo —enable-pgp
Context
Unable to build Profanity with Python Plugin support
Environment
- Give us the version and build information output generated by profanity -v
- If you could not yet build profanity, mention the revision you try to build from
Github master or 0.13.1 - Operating System/Distribution
Gentoo with Python 3.11.1 - glib version
glib-2.74.5
The text was updated successfully, but these errors were encountered:
No python plugins found
Neovim is an hyperextensible Vim-based text editor. Learn more at neovim.io.
Tried everything you imagine, when i try to type in insert mode it pops the error and i cant write.
It also gives me that error: Error detected while processing /home/equation/.vim/plugged/ultisnips/autoload/UltiSnips.vim:
— ERROR: Failed to run healthcheck for «denite» plugin. Exception:
function health#check[21]..health#denite#check[3]..168_check_required_python[7]..denite#init#_python_version_check, line 8
Vim(python3):E319: No «python3» provider found. Run «:checkhealth provider»
## Checking language server protocol configuration
— OK: Environment check passed
— WARNING: pyx command not work, some extensions may fail to work, checkout «:help pythonx»
— OK: Javascript bundle build/index.js found
— ERROR: Failed to run healthcheck for «jedi» plugin. Exception:
function jedi#init_python[11]..173_display_exception, line 19
Vim(echoerr):Error: jedi-vim failed to initialize Python: jedi-vim requires Vim with support for Python 3. (in function jedi#init_python[4]..173_init_python, line 4)
— ERROR: Locale does not support UTF-8. Unicode characters may not display correctly.
— If using tmux, try the -u option.
— Ensure that your terminal/shell/tmux/etc inherits the environment, or set $LANG explicitly.
— Configure your system locale.
— OK: Build type: RelWithDebInfo
— INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
— INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
— WARNING: No clipboard tool found. Clipboard registers (\ «+` and `»*`) will not work.`
## Python 2 provider (optional)
— WARNING: No Python executable found that can \ import neovim`. Using the first available executable for diagnostics.`
— ERROR: Python provider error:
— provider/pythonx: Could not load Python 2:
/usr/bin/python2 does not have the «neovim» module. :help provider-python
/usr/bin/python2.7 does not have the «neovim» module. :help provider-python
python2.6 not found in search path or not executable.
/usr/bin/python is Python 3.9 and cannot provide Python 2.
— INFO: Executable: Not found
## Python 3 provider (optional)
— INFO: Using: g:python3_host_prog = «1»
— WARNING: No Python executable found that can \ import neovim`. Using the first available executable for diagnostics.`
— INFO: Executable: Not found
— INFO: Ruby: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux]
— WARNING: \neovim-ruby-host\ not found.«
— Run \gem install neovim\ to ensure the neovim RubyGem is installed.«
— Run \gem environment\ to ensure the gem bin directory is in $PATH.«
— If you are using rvm/rbenv/chruby, try «rehashing».