Giter VIP home page Giter VIP logo

Comments (11)

hansec avatar hansec commented on June 29, 2024

Thanks for the report. I thought I had it working for all unicode characters. Can you post an example file to this issue so I can check it out? Thanks!

from fortran-language-server.

Edmundod avatar Edmundod commented on June 29, 2024

Of course, here is the example, which gives me the error:

program test

  ! ąćęłóśźż 

end program test

from fortran-language-server.

hansec avatar hansec commented on June 29, 2024

Hmmm, I am unable to reproduce this error using the program above. What OS and version of Python are you using? You are seeing the error in Atom, right?

One other thought I had is maybe the characters got translated to Unicode in this issue. Can you verify that if you copy/paste the program above into your editor from this issue it still produces the error?

from fortran-language-server.

Edmundod avatar Edmundod commented on June 29, 2024

Yes, I am using Atom 1.30.0 on Linux with Fortls v 0.8.2. pip --version gives me

pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7).

I got the error also copy-pasting test program from this discussion, here is screenshot:

fortls

How can I investigate further? Maybe some logs from fortls?

from fortran-language-server.

hansec avatar hansec commented on June 29, 2024

Ok, I am going to add some additional functionality to log information about errors like this. Hopefully, that will help us track down the issue. In the meantime can you try disabling incremental synchronization and see if you still get the error? Note that you need to restart Atom after changing this setting in the ide-fortran extension for the change to take effect.

from fortran-language-server.

hansec avatar hansec commented on June 29, 2024

I have just released a new version of the language server (0.8.3) that includes the ability to generate debugging logs. You can enable this feature using the setting debug_log in the .fortls settings file in your project root directory. See the README for more information. Can you please run the case above with this setting enabled and post the resulting log file?

from fortran-language-server.

Edmundod avatar Edmundod commented on June 29, 2024

Great, I have some error which tracebacks to langserver.py. Here is the log: fortls_debug_with_incremental.log

Disabling incremental synchronization turned off the error.

from fortran-language-server.

Edmundod avatar Edmundod commented on June 29, 2024

And it probably says about position 4 because now I used one letter, which is in 4th column:

! ą

from fortran-language-server.

hansec avatar hansec commented on June 29, 2024

Ok, I just released (0.8.4) what I believe is a fix to this bug. Check it out and let me know if the problem persists. Thanks again for the report!

from fortran-language-server.

Edmundod avatar Edmundod commented on June 29, 2024

The problem is solved. Thank you very much for all the effort.

from fortran-language-server.

liuyapeng1996 avatar liuyapeng1996 commented on June 29, 2024

Using vscode and Modern Fortran on windows, this error still occurs: Change request failed for file “xx\xx\xx\xx*.f90”: Could not apply change. Source: Modern Fortran (Extension).

from fortran-language-server.

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.