Closed seifer9almasy closed 3 years ago
This seems strange. Why libstdc++ is not installed on your system?
I am not much familiar with snaps, but I built and tested the library for the oldest Ubuntu available on GitHub (Ubuntu 16) to the newest (Ubuntu 20).
Shouldn't we update the Atom snaps instead? This seems to be related to snaps instead.
@seifer9almasy Could you check if this is resolved in the last version?
Problem solved, thanks a lot !!!
Sorry, I can activate the package but autocomplete don't function and I don't have any errors returned
@seifer9almasy could you open the dev tools and see if any errors show up there? The command for opening dev tools is something like: Windows: open dev window
It's Window: Toggle Dev Tools
I have installed atom on my native os intead of snap because lots of atom packages crashed multiple time
In my new install autocomplete paths don't works
I have this error on my atom debuger:
Uncaught (in promise) RangeError /home/cool/.atom/packages/autocomplete-paths/dist/autocomplete-paths.js
[ERR_CHILD_PROCESS_STDIO_MAXBUFFER] [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded at Socket.onChildStdout (child_process.js:363) at Socket.emit (events.js:200) at addChunk (_stream_readable.js:294) at readableAddChunk (_stream_readable.js:271) at Socket.Readable.push (_stream_readable.js:210) at Pipe.onStreamRead (internal/stream_base_commons.js:166)
Maybe using spawn instead of exec can solve the problem:
or maybe increase maxBuffer
?
@seifer9almasy do you have a lot of files in your project or why do you think it is overflowing the buffer?
@UziTech I have a lots of files but the update you made fixed all.
Thanks a lot, autocomplete works again.
@seifer9almasy
I opened an issue in the snap repo to address the missing library. If you are familiar with snaps you may check my PR to see if it solves the issue.
Description
[The package can't enabled because of missing library]
Steps to Reproduce
Expected behavior: [Package enabled]
Actual behavior: [Error]
Reproduces how often: [100%]
Versions
Atom: 1.53.0 x64 Electron: 6.1.12 OS: Ubuntu 20.04.1 Thrown From: autocomplete-paths package 2.12.13
Snap Version:
snap 2.48.1 snapd 2.48.1 series 16 ubuntu 20.04 kernel 5.4.0-56-generic
Snap list:
Name Version Rev Tracking Publisher Notes atom 1.53.0 265 latest/stable snapcrafters classic chromium 87.0.4280.88 1424 latest/stable canonical✓ - chromium-ffmpeg 0.1 17 latest/stable canonical✓ - core 16-2.48 10444 latest/stable canonical✓ core core18 20200929 1932 latest/stable canonical✓ base core20 20201027 875 latest/stable canonical✓ base
Stack Trace
Failed to load the autocomplete-paths package
Additional Information
probable fix suggested:
set and integrate base snap in autocomplete-paths to core18 in future release:
https://snapcraft.io/docs/base-snaps
because the library is included in core18
Any help will be cool :-)