alchemist.vim icon indicating copy to clipboard operation
alchemist.vim copied to clipboard

error on looking up for a function that is imported

Open slashmili opened this issue 5 years ago • 0 comments

  1. Elixir/OTP/Python version

Elixir/OTP: Elixir 1.8.1 (compiled with Erlang/OTP 21)

Python: 3

  1. Are you using VIM or Neovim? Please provide the version: NVIM v0.3.4

  2. Which pluging are you using:

[ ] basic omnifunc [ ] YouCompleteMe [ X ] deoplete

  1. Which steps of Debugging passed?

[X ] Elixir Module definition [X] Elixir Function definition [X] Elixir Module/Function docs [X] Your Project Module definition [X] Your Project Function definition

  1. Do you have a specific setup? Like Docker and etc no

Stack trace when lookup for a fucntion in a module that uses Bamboo

Traceback (most recent call last):
  File "/Users/milad/.dotfiles/.vim/bundle/alchemist.vim/after/../elixir_sense_client", line 81, in <module>
    main(sys.argv[1:])
  File "/Users/milad/.dotfiles/.vim/bundle/alchemist.vim/after/../elixir_sense_client", line 71, in main
    response = sense.process_command(request, source, line ,column)
  File "/Users/milad/.dotfiles/.vim/bundle/alchemist.vim/elixir_sense.py", line 51, in process_command
    req_erl_struct = erl_terms.encode(py_struct)
  File "/Users/milad/.dotfiles/.vim/bundle/alchemist.vim/erl_terms.py", line 212, in encode
    return b'\x83' + _encoder_func(struct)(struct)
  File "/Users/milad/.dotfiles/.vim/bundle/alchemist.vim/erl_terms.py", line 241, in _encode_map
    b = b + _encoder_func(k)(k) +  _encoder_func(v)(v)
  File "/Users/milad/.dotfiles/.vim/bundle/alchemist.vim/erl_terms.py", line 241, in _encode_map
    b = b + _encoder_func(k)(k) +  _encoder_func(v)(v)
  File "/Users/milad/.dotfiles/.vim/bundle/alchemist.vim/erl_terms.py", line 269, in _encode_string
    str_enc = obj.encode('utf-8')

slashmili avatar Jun 11 '19 07:06 slashmili