Comments (12)
I have identified the problem and will publish a fix very shortly. Thank you for reporting the error.
from linter-gcc.
Ok. The fix has been made. Please update linter-gcc. Note that you need to restart atom (Ctrl+Alt+R
) to reload the package. Please let me know once you have it working again.
from linter-gcc.
Sorry but linter-gcc does not work. Yet I haven't more error message.
from linter-gcc.
Just to clarify - does this occur only with an unsaved file or with saved ones as well?
from linter-gcc.
This occur for both cases
from linter-gcc.
Could you follow the instructions here and report the linter-gcc command that appears in the developer console?
from linter-gcc.
Hello? Any update on your problem?
from linter-gcc.
I will do that this evening :)
from linter-gcc.
Sorry for the delay
/home/bailly_j/.atom/packages/linter-gcc/lib/utility.js:94
linter-gcc config:
{"execPath":"gcc","gccIncludePaths":"./include","gccSuppressWarnings":false,"gccDefaultCFlags":"-only -c -W -Wall -Wextra -pedantic -posix -o /dev/null","gccDefaultCppFlags":"-c -Wall -std=c++11","gccErrorLimit":0,"gccErrorString":"error","gccWarningString":"warning","gccNoteString":"note"}
/home/bailly_j/.atom/packages/linter-gcc/lib/utility.js:146
linter-gcc:
/usr/lib/hardening-wrapper/bin/gcc -only -c -W -Wall -Wextra -pedantic -posix -o /dev/null -fmax-errors=0 -I/home/bailly_j/rendu/Dante/include /tmp/2f6adb7c-eb69-431d-b77b-d0d54c414a79.c
from linter-gcc.
One little thing - could you turn off linting on-the-fly, then take the command that linter-gcc prints in the console, and paste it into a terminal? We need to see the command output to work out what the problem is.
from linter-gcc.
Well the problem was with my operating system. I fixed a problem with my pipes and the bug disappeared. I do not know if it's related but I do not have the bug
Sorry for the inconvenience
from linter-gcc.
Steps To Reproduce
- Hit Ctrl-N to create a new empty file without saving it.
- Paste some C code and change the language setting to C.
- linter-gcc starts to work but throws this error.
Atom: 1.15.0 ia32
Electron: 1.3.13
OS: Windows 10 Professional 64-bit
Thrown From: linter-gcc package 0.7.1
Stack Trace
Uncaught TypeError: Path must be a string. Received undefined
At path.js:7
TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.join (path.js:466:7)
at /packages/linter-gcc/lib/utility.js:105:24
at Array.forEach (native)
at Object.splitStringTrim (/packages/linter-gcc/lib/utility.js:97:14)
at Object.buildCommand (/packages/linter-gcc/lib/utility.js:197:42)
at Object.lint (/packages/linter-gcc/lib/main.js:110:36)
at /packages/linter-gcc/lib/main.js:180:26
Commands
-2:08.8.0 atom-beautify:beautify-editor (div.line)
-2:05.5.0 intentions:highlight (input.hidden-input)
-2:05.4.0 core:select-all (input.hidden-input)
-2:05.3.0 core:copy (input.hidden-input)
-1:39.3.0 intentions:highlight (input.hidden-input)
-1:39.2.0 core:select-all (input.hidden-input)
-1:38.8.0 core:copy (input.hidden-input)
-1:38.8.0 core:paste (input.hidden-input)
-1:27.3.0 intentions:highlight (input.hidden-input)
-1:27.2.0 core:select-all (input.hidden-input)
-1:26.7.0 core:paste (input.hidden-input)
Non-Core Packages
advanced-open-file 0.16.6
atom-beautify 0.29.17
atom-typescript 10.1.15
atomic-chrome 0.3.0
busy-signal 1.3.0
duotone-light-syntax 2.1.0
editorconfig 2.2.2
emmet 2.4.3
eslint-fixer 1.2.1
ficus-syntax 2.0.0
flatwhite-syntax 0.8.0
fonts 2.0.0
gl-light-syntax 2.2.0
intentions 1.1.2
language-babel 2.56.2
language-cuesheet 0.1.5
linter 2.1.0
linter-eslint 8.1.4
linter-gcc 0.7.1
linter-tslint 0.14.0
linter-ui-default 1.2.0
linter-write-good 0.8.0
northem-light-atom-syntax 2.1.0
northem-light-atom-ui 2.1.0
script 3.14.1
spacegray-light-neue-ui 0.1.7
sync-settings 0.8.1
zentabs 0.8.8
from linter-gcc.
Related Issues (20)
- Linter isn't showing issues (c/c++) HOT 2
- it stops working since the 1.34.0 atom update HOT 2
- Uncaught TypeError: _this.notificationEl.querySelector is not a function HOT 2
- linter-gcc doesn't work HOT 4
- consider this project dead if this issue is not removed (latest commit was on 2017 jan) HOT 3
- Uncaught TypeError: _this.notificationEl.querySelector is not a function HOT 2
- Uncaught TypeError: _this.notificationEl.querySelector is not a function HOT 2
- Uncaught TypeError: _this.notificationEl.querySelector is not a function HOT 1
- Uncaught TypeError: _this.notificationEl.querySelector is not a function HOT 1
- Uncaught TypeError: _this.notificationEl.querySelector is not a function HOT 1
- Uncaught TypeError: _this.notificationEl.querySelector is not a function HOT 1
- Uncaught TypeError: _this.notificationEl.querySelector is not a function HOT 1
- Object.dirname is deprecated.
- Uncaught TypeError: Cannot read property 'binary' of undefined
- Relative paths are relative to Atom's $PWD, not the project root
- string variables not highlighted
- Colors in the linter panel
- I cant install atom linter gcc.its shows"npm WARN deprecated [email protected]: No longer maintained - Use lodash probably npm ERR! Unexpected end of JSON input while parsing near '...MGZNbL9YcGBJl4MH4nrxH' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\stark siv\.atom\.apm\_logs\2020-12-26T17_25_37_936Z-debug.log" A little help is appreciated,♥ HOT 2
- Just want my GCH address for open sea? HOT 1
- Cannot find module 'tempfile'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linter-gcc.