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

Command 'UltiSnipsEdit' raises an error. #1561

Open
azubirif opened this issue Dec 25, 2024 · 1 comment
Open

Command 'UltiSnipsEdit' raises an error. #1561

azubirif opened this issue Dec 25, 2024 · 1 comment

Comments

@azubirif
Copy link

Expected behavior:
Be able to edit my snippets.

Actual behavior:
The following error is being raised:

AttributeError: type object 'PathFinder' has no attribute 'find_module'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "", line 1, in <module>
SystemError: initialization of vim raised unreported exception
línea   11:
AttributeError: type object 'PathFinder' has no attribute 'find_module'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "", line 1, in <module>
  File "C:\Users\aleja\vimfiles\plugged\ultisnips\pythonx\UltiSnips\__init__.py", line 6, in <module>
    from UltiSnips.snippet_manager import UltiSnips_Manager
  File "C:\Users\aleja\vimfiles\plugged\ultisnips\pythonx\UltiSnips\snippet_manager.py", line 11, in <mod
ule>
    import vim
SystemError: initialization of vim raised unreported exception
Se ha detectado un error al procesar function UltiSnips#Edit:
línea    6:
Traceback (most recent call last):
  File "", line 1, in <module>
NameError: name 'vim' is not defined

Steps to reproduce

  1. Install UltiSnips through vim-plug.
  2. Open Vim and run :UltiSnipsEdit
    Here is the only thing related to UltiSnips in my .vimrc:
call plug#begin()
Plug 'sirver/ultisnips'
...
call plug#end()

  • Operating System: Windows 10
  • Vim Version:
    VIM - Vi IMproved 9.1 (2024 Jan 02, compilado Jan 2 2024 23:53:44)
    Versión de 64 bits para consola de MS-Windows
  • UltiSnips Version: 3.2
  • Python inside Vim: 3.13.1
  • Docker repo/vimrc: https://github.com/SirVer/ultisnips/releases/tag/3.2
@SirVer
Copy link
Owner

SirVer commented Dec 26, 2024 via email

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

No branches or pull requests

2 participants