Skip to content

root ERROR Error: ENOENT: no such file or directory, stat 'undefined/' #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jmarkuna opened this issue Dec 18, 2020 · 6 comments
Closed
Labels
conclusion: duplicate Has already been submitted os: linux Specific to Linux operating system type: imperfection Perceived defect in any part of project

Comments

@jmarkuna
Copy link

root ERROR Uncaught Exception: 
root ERROR Error: ENOENT: no such file or directory, stat 'undefined/'
    at statSync (fs.js:915:3)
    at Object.fs.statSync (electron/js2c/asar.js:278:27)
    at mkDir (/spare/downloads/arduinoProIDE/arduino-pro-ide_0.1.3_Linux_64bit/resources/app/node_modules/node-log-rotate/lib/utils/find-log-path.js:52:17)
    at prepareDir (/spare/downloads/arduinoProIDE/arduino-pro-ide_0.1.3_Linux_64bit/resources/app/node_modules/node-log-rotate/lib/utils/find-log-path.js:31:9)
    at Object.default_1 [as default] (/spare/downloads/arduinoProIDE/arduino-pro-ide_0.1.3_Linux_64bit/resources/app/node_modules/node-log-rotate/lib/utils/find-log-path.js:8:19)
    at Object.default_1 [as default] (/spare/downloads/arduinoProIDE/arduino-pro-ide_0.1.3_Linux_64bit/resources/app/node_modules/node-log-rotate/lib/utils/find-log-file-name.js:5:36)
    at Object.default_1 [as default] (/spare/downloads/arduinoProIDE/arduino-pro-ide_0.1.3_Linux_64bit/resources/app/node_modules/node-log-rotate/lib/transport-file.js:15:52)
    at log (/spare/downloads/arduinoProIDE/arduino-pro-ide_0.1.3_Linux_64bit/resources/app/node_modules/node-log-rotate/lib/index.js:20:36)
    at Object.<anonymous> (/spare/downloads/arduinoProIDE/arduino-pro-ide_0.1.3_Linux_64bit/resources/app/src-gen/backend/main.js:11:9)
    at Object.log (/spare/downloads/arduinoProIDE/arduino-pro-ide_0.1.3_Linux_64bit/resources/app/node_modules/@theia/core/lib/common/logger-protocol.js:141:17)

I ran arduino-pro-ide. funny thing is I cannot strace arduino-pro-ide. System says cannot stat file.
Arduino pro gui comes up but I keep getting errors shown about. I can be root on this system, have tried both root acct and non-root account to run arduino-pro-ide

@ubidefeo
Copy link

hi @jmarkuna

which machine are you running this on?

@jmarkuna
Copy link
Author

jmarkuna commented Dec 29, 2020 via email

@ubidefeo
Copy link

@jmarkuna
any chance you have tried a more recent release of this IDE on your installation?

@rsora rsora transferred this issue from arduino/arduino-pro-ide Mar 1, 2021
@cmaglie cmaglie removed the type: bug label Sep 16, 2021
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
@per1234
Copy link
Contributor

per1234 commented Oct 25, 2021

root ERROR Error: ENOENT: no such file or directory, stat 'undefined/'

The undefined/ in the error message makes me suspect this is related to #394

@per1234 per1234 added status: waiting for information More information must be provided before work can proceed topic: code Related to content of the project itself labels Oct 25, 2021
@per1234 per1234 changed the title Debian Buster execution root ERROR Error: ENOENT: no such file or directory, stat 'undefined/' Oct 25, 2021
@fstasi
Copy link
Contributor

fstasi commented Jul 5, 2022

@per1234 I confirm they are related

@per1234 per1234 removed the status: waiting for information More information must be provided before work can proceed label Jul 10, 2022
@kittaakos kittaakos added the os: linux Specific to Linux operating system label Jul 26, 2022
@kittaakos
Copy link
Contributor

The undefined/ in the error message makes me suspect this is related to #394

@per1234 I confirm they are related

Thank you for checking it!

Can we close this issue in favor of #394? I am happy to move the conversation from here to there if required. Thanks!

@per1234 per1234 added the conclusion: duplicate Has already been submitted label Aug 4, 2022
@per1234 per1234 closed this as completed Aug 4, 2022
@per1234 per1234 removed the topic: code Related to content of the project itself label Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted os: linux Specific to Linux operating system type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

8 participants