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

Error while running the plugin #52

Open
Shinyzenith opened this issue Apr 25, 2021 · 5 comments
Open

Error while running the plugin #52

Shinyzenith opened this issue Apr 25, 2021 · 5 comments

Comments

@Shinyzenith
Copy link

Shinyzenith commented Apr 25, 2021

any idea why i'm getting this ;-;

Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/aakash/.vim/plugged/vimsence/python/vimsence.py", line 62, in <module>
    has_thumbnail.update(thumbnails.values())
AttributeError: 'list' object has no attribute 'update'
Error detected while processing function DiscordUpdatePresence[2]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'vimsence' is not defined

@anned20
Copy link
Member

anned20 commented May 1, 2021

What is your environment like? What OS are you using? What version of (Neo)Vim?

@anned20
Copy link
Member

anned20 commented May 1, 2021

I resolved the first issue, maybe it resolved the other one too. Please test with the latest version.

@Shinyzenith
Copy link
Author

I am using the latest version on Ubuntu 20.04 lts. I'll try cloning the repo again👍

@Shinyzenith
Copy link
Author

Alright small update, i uninstalled snap version of discord and installed it using the .deb package on their website, it still throws the same errors at me but it does say Rpc connected and neovim idling and works when i start typing

@riziry
Copy link

riziry commented May 25, 2021

i got the similar issue here but it says like this:

Error detected while processing function DiscordUpdatePresence[1]..<
SNR>42_InitializeDiscord[4]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 4 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/riziry/.local/share/nvim/plugged/vimsence/python/vimse
nce.py", line 62, in <module>
    has_thumbnail = list(set(has_thumbnail + custom_icons.values()))

TypeError: can only concatenate list (not "dict_values") to list
rovider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 4 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'vimsence' is not defined

but if i comment this line in my .vimrc, it works just fine but without the icon on discord
let g:vimsence_custom_icons = {'filetype': 'iconname'}
how to fix this?

sponege added a commit to sponege/dotfiles that referenced this issue Apr 24, 2022
NameError: name 'vimsence' is not defined
vimsence/vimsence#52
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

3 participants