Giter Club home page Giter Club logo

Comments (6)

SpartanJ avatar SpartanJ commented on September 20, 2024

This must be what we already discussed here.

Also if there's no write permissions in the folder the file is located in, the linter???? causes ecode to crash.

Can you give me more context? Language used, linter, your logs?

from ecode.

emeraldtip avatar emeraldtip commented on September 20, 2024

image
and
image

But now suddenly I can't reproduce the crashing with no write permissions when autocomplete kicks in?
I'll look into it more later.

Every time I try to save a file even if I've created the file outside of the onedrive folder, with ecode, 2 seconds before saving the file, ecode tells me that It couldn't write into the file:

ecodeshow.mp4

(I know that it's running from a onedrive folder, but this also happens when I run the application instance that's in downloads)

2023-09-07 10:06:27 - INFO: eepp initialized
2023-09-07 10:06:27 - INFO: ecode starting with these command line arguments: C:\Users\karlj\Downloads\vaibad.cpp
2023-09-07 10:06:27 - INFO: C:\Users\karlj\AppData\Roaming\ecode\config.cfg loaded in 0.31ms
2023-09-07 10:06:27 - INFO: C:\Users\karlj\AppData\Roaming\ecode\state.cfg loaded in 0.12ms
2023-09-07 10:06:28 - INFO: Engine Initialized Succesfully.
	Version: eepp version 2.6.1 (codename: "Anathapindika")
	Build time: Jul 11 2023 17:50:18
	Platform: Windows
	OS: Microsoft Windows 10
	Arch: x64
	CPU Cores: 16
	Process Path: C:\Users\karlj\OneDrive\ecode\
	Current Working Directory: C:\Users\karlj\Downloads
	Disk Free Space: 19.77 GiB
	Window/Input Backend: SDL 2.26.2
	GL Backend: OpenGL 2
	GL Vendor: NVIDIA Corporation
	GL Renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
	GL Version: 4.6.0 NVIDIA 512.96
	GL Shading Language Version: 4.60 NVIDIA
	Resolution: 3840x2115
2023-09-07 10:06:28 - INFO: ecode version 0.4.9 (codename: "Vajra") initializing
2023-09-07 10:06:28 - INFO: Window creation took: 275.72 ms
2023-09-07 10:06:28 - INFO: C:\Users\karlj\AppData\Roaming\ecode\keybindings.cfg loaded in 1.00ms
2023-09-07 10:06:28 - INFO: StyleSheet loaded in: 5.932 ms.
2023-09-07 10:06:28 - INFO: StyleSheet loaded in: 0.027 ms.
2023-09-07 10:06:28 - INFO: Syntax definitions loaded in 6.24 ms.
2023-09-07 10:06:28 - INFO: StyleSheet loaded in: 1.463 ms.
2023-09-07 10:06:28 - INFO: Texture ID 1 loaded in 45.336 ms.
2023-09-07 10:06:28 - INFO: Texture ID 2 loaded in 0.256 ms.
2023-09-07 10:06:28 - INFO: Texture ID 3 loaded in 1.214 ms.
2023-09-07 10:06:28 - INFO: Texture ID 4 loaded in 0.801 ms.
2023-09-07 10:06:28 - INFO: Texture ID 5 loaded in 1.062 ms.
2023-09-07 10:06:28 - INFO: Texture ID 6 loaded in 0.872 ms.
2023-09-07 10:06:28 - INFO: Texture ID 7 loaded in 0.466 ms.
2023-09-07 10:06:28 - INFO: Texture ID 8 loaded in 7.971 ms.
2023-09-07 10:06:28 - INFO: Texture ID 9 loaded in 1.202 ms.
2023-09-07 10:06:28 - INFO: Color Schemes loaded in 1.44ms.
2023-09-07 10:06:28 - INFO: SyntaxDefinitionManager loaded custom languages in: 0.19 ms
2023-09-07 10:06:28 - INFO: Terminal Color Schemes loaded in 0.98ms.
2023-09-07 10:06:28 - INFO: Base UI took: 421.82 ms
2023-09-07 10:06:28 - INFO: Texture ID 10 loaded in 1.921 ms.
2023-09-07 10:06:28 - INFO: Texture ID 11 loaded in 1.381 ms.
2023-09-07 10:06:28 - INFO: Texture ID 12 loaded in 0.112 ms.
2023-09-07 10:06:28 - INFO: Settings Menu took: 72.91 ms
2023-09-07 10:06:28 - INFO: Texture ID 13 loaded in 1.413 ms.
2023-09-07 10:06:28 - INFO: Texture ID 14 loaded in 0.436 ms.
2023-09-07 10:06:28 - INFO: Complete UI took: 505.64 ms
2023-09-07 10:06:28 - INFO: Document "C:\Users\karlj\Downloads\vaibad.cpp" loaded in 0.44ms.
2023-09-07 10:06:28 - INFO: Init ProjectTreeView took: 766.41 ms
2023-09-07 10:06:28 - INFO: First update took: 819.80 ms
2023-09-07 10:06:28 - INFO: First frame took: 840.65 ms
2023-09-07 10:06:28 - INFO: LSPClientServer server clangd calling initialize
2023-09-07 10:06:28 - INFO: LSPClientServer server clangd calling initialized
2023-09-07 10:06:28 - INFO: LSPClientServer server clangd calling textDocument/didOpen
2023-09-07 10:06:28 - INFO: LSPClientServer server clangd calling textDocument/documentSymbol
2023-09-07 10:06:28 - INFO: LSPClientServer server clangd calling 
2023-09-07 10:06:29 - INFO: LinterPlugin::runLinter for C:\Users\karlj\Downloads\vaibad.cpp took 84.04ms. Found: 0 matches. Errors: 0, Warnings: 0, Notices: 0.
2023-09-07 10:06:30 - INFO: Texture ID 15 loaded in 0.561 ms.
2023-09-07 10:06:30 - INFO: LSPClientServer server clangd calling textDocument/hover
2023-09-07 10:06:39 - INFO: Document "C:\Users\karlj\Downloads\test.py" loaded in 1.64ms.
2023-09-07 10:06:39 - INFO: LSPClientServer server pylsp calling initialize
2023-09-07 10:06:39 - INFO: LinterPlugin::runLinter for C:\Users\karlj\Downloads\test.py took 111.13ms. Found: 0 matches. Errors: 0, Warnings: 0, Notices: 0.
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling initialized
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didOpen
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/hover
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/documentSymbol
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:41 - INFO: LSPClientServer server pylsp calling textDocument/signatureHelp
2023-09-07 10:06:42 - INFO: LinterPlugin::runLinter for C:\Users\karlj\Downloads\.RG6T8VSp.test.py took 103.85ms. Found: 0 matches. Errors: 0, Warnings: 0, Notices: 0.
2023-09-07 10:06:42 - INFO: LSPClientServer server pylsp calling textDocument/documentSymbol
2023-09-07 10:06:47 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:47 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:47 - INFO: LinterPlugin::runLinter for C:\Users\karlj\Downloads\.KtzupV0R.test.py took 95.36ms. Found: 0 matches. Errors: 0, Warnings: 0, Notices: 0.
2023-09-07 10:06:48 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:48 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:48 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:48 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:48 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:48 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:48 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:49 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:49 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:49 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:49 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:49 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:49 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:49 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:50 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:50 - INFO: LSPClientServer server pylsp calling textDocument/didChange
2023-09-07 10:06:50 - INFO: LinterPlugin::runLinter for C:\Users\karlj\Downloads\.hZvASHgO.test.py took 110.72ms. Found: 2 matches. Errors: 2, Warnings: 0, Notices: 0.
2023-09-07 10:06:51 - INFO: LSPClientServer server pylsp calling textDocument/documentSymbol
2023-09-07 10:06:53 - INFO: LSPClientServer server pylsp calling textDocument/hover
2023-09-07 10:06:53 - INFO: LSPClientServer server pylsp calling textDocument/didClose
2023-09-07 10:06:54 - INFO: LSPClientServer server clangd calling textDocument/didClose
2023-09-07 10:06:55 - INFO: LSPClientServer:shutdown: clangd
2023-09-07 10:06:55 - INFO: LSPClientServer server clangd calling shutdown
2023-09-07 10:06:55 - INFO: LSPClientServer server clangd calling exit
2023-09-07 10:06:55 - INFO: LSPClientServer:shutdown: pylsp
2023-09-07 10:06:55 - INFO: LSPClientServer server pylsp calling shutdown
2023-09-07 10:06:55 - INFO: LSPClientServer server pylsp calling exit
2023-09-07 10:06:55 - INFO: eepp stoped

from ecode.

SpartanJ avatar SpartanJ commented on September 20, 2024

Thanks, I'm able to reproduce it. I'll fix it ASAP.

from ecode.

SpartanJ avatar SpartanJ commented on September 20, 2024

BTW this is happening because windows is ridiculous.
If you can't wait for a solution you can simply remove the read-only flag to the Downloads folder. ecode verifies that flag to know if it's possible to write the file, and respects it, but it's incorrect, it actually can write into it (it will even create the file).

from ecode.

SpartanJ avatar SpartanJ commented on September 20, 2024

A fix has been pushed, it will be available in the next release, meanwhile you can use this build ecode-windows-0.4.9-x86_64.zip that contains the fixes.

from ecode.

emeraldtip avatar emeraldtip commented on September 20, 2024

Tysm!
Yeah Windows is pretty shit, especially that permissions thing (but the software I use isn't supported on Linux)

from ecode.

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.