Code Monkey home page Code Monkey logo

Comments (7)

slashmili avatar slashmili commented on June 1, 2024 2

Thanks @robsonpeixoto !

I created a PR, I'll try it today and if it doesn't break other commands, I'll merge it tonight

from alchemist.vim.

slashmili avatar slashmili commented on June 1, 2024 2

The fix is pushed!

from alchemist.vim.

kenny-evitt avatar kenny-evitt commented on June 1, 2024

The 'definition' commands fail for this too.

My (last error), for a 'show docs' command:

Traceback (most recent call last):
  File "/Users/kenny/.local/share/nvim/plugged/alchemist.vim/after/../elixir_sense_client", line 81, in <module>
    main(sys.argv[1:])
  File "/Users/kenny/.local/share/nvim/plugged/alchemist.vim/after/../elixir_sense_client", line 71, in main
    response = sense.process_command(request, source, line ,column)
  File "/Users/kenny/.local/share/nvim/plugged/alchemist.vim/elixir_sense.py", line 42, in process_command
    self._log('source: %s' % source)
  File "/Users/kenny/.local/share/nvim/plugged/alchemist.vim/elixir_sense.py", line 194, in _log
    f.write("%s\n" % text.encode('utf8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 27168: ordinal not in range(128)

from alchemist.vim.

slashmili avatar slashmili commented on June 1, 2024

@kenny-evitt could what kind of character is in your docs? Does it happen only for one specific function or all functions?

from alchemist.vim.

kenny-evitt avatar kenny-evitt commented on June 1, 2024

@slashmili In my case it was either a โ€ข (bullet) or ยท (middle dot) character.

The error happened for all the functions โ€“ I think. I could only see the first line of what I'm guessing was the same error output for the 'definition' function.

from alchemist.vim.

robsonpeixoto avatar robsonpeixoto commented on June 1, 2024

@slashmili the easier way to replicate this issue is reading the Strings documentation. Try the String.downcase doc.

from alchemist.vim.

kenny-evitt avatar kenny-evitt commented on June 1, 2024

@slashmili I'm still getting this error for files with a ยท character in them:



E484: Can't open file: Traceback (most recent call last):

from alchemist.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.