ESP8266 board stopped installing via board manager - failed-installation

I have tried the usual procedure of adding https://arduino.esp8266.com/stable/package_esp8266com_index.json in preference. Then opened board manager, found ESP8266 by ESP8266 community and tried to install 2.6.3 by clicking install. After downloading around 5 MB of data, the download stops. I have tried to download the zip file directly and was successful. I could update other boards without any problem. I am using Arduino 1.8.10 on windows 10. Disabled the antivirus and deleted the Arduino15 folder in AppData\Local multiple times with no effect.
The error
Error downloading https://github.com/esp8266/Arduino/releases/download/2.6.3/esp8266-2.6.3.zip
java.lang.RuntimeException: java.lang.Exception: Error downloading https://github.com/esp8266/Arduino/releases/download/2.6.3/esp8266-2.6.3.zip
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Error downloading https://github.com/esp8266/Arduino/releases/download/2.6.3/esp8266-2.6.3.zip
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:144)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:78)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:60)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:105)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:593)
at sun.security.ssl.InputRecord.read(InputRecord.java:532)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.net.www.MeteredStream.read(MeteredStream.java:134)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3444)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3437)
at cc.arduino.utils.network.FileDownloader.readStreamCopyTo(FileDownloader.java:268)
at cc.arduino.utils.network.FileDownloader.openConnectionAndFillTheFile(FileDownloader.java:247)
at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:182)
at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:129)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:142)
... 5 more
Once it downloaded the package and then again halts during downloading the library. The download had to be stopped using task manager every time after a halt. I have a 100 Mbps OFC connection, so speed is not the issue. Even uninstalled and reinstalled Arduino IDE couple of time without any improvement.
I could install the package via git cloning but it requires installing lots of additional libraries and finally giving lots of warning, duplicate header and package and sometimes error in compiling.
[Installation Error Screen]1
So frustrating

Related

Error HH502: Couldn't download compiler version list. Please check your internet connection and try again

I am following the process from https://hardhat.org/tutorial/creating-a-new-hardhat-project to create a new hardhat project.
However, it is throwing an error in the contract compiling step; i.e. when I run yarn hardhat compile
Downloading compiler 0.8.9
(node:3732) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Error HH502: Couldn't download compiler version list. Please check your internet connection and try again.
HardhatError: HH502: Couldn't download compiler version list. Please check your internet connection and try again.
at /mnt/a/projects/Ethereum/hh-fcc/hardhat-simple-storage-2/node_modules/hardhat/src/internal/solidity/compiler/downloader.ts:149:17
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at CompilerDownloader.downloadCompiler (/mnt/a/projects/Ethereum/hh-fcc/hardhat-simple-storage-2/node_modules/hardhat/src/internal/solidity/compiler/downloader.ts:142:5)
at SimpleTaskDefinition.action (/mnt/a/projects/Ethereum/hh-fcc/hardhat-simple-storage-2/node_modules/hardhat/src/builtin-tasks/compile.ts:551:9)
at Environment._runTaskDefinition (/mnt/a/projects/Ethereum/hh-fcc/hardhat-simple-storage-2/node_modules/hardhat/src/internal/core/runtime-environment.ts:308:14)
at Environment.run (/mnt/a/projects/Ethereum/hh-fcc/hardhat-simple-storage-2/node_modules/hardhat/src/internal/core/runtime-environment.ts:156:14)
at SimpleTaskDefinition.action (/mnt/a/projects/Ethereum/hh-fcc/hardhat-simple-storage-2/node_modules/hardhat/src/builtin-tasks/compile.ts:678:36)
at Environment._runTaskDefinition (/mnt/a/projects/Ethereum/hh-fcc/hardhat-simple-storage-2/node_modules/hardhat/src/internal/core/runtime-environment.ts:308:14)
at Environment.run (/mnt/a/projects/Ethereum/hh-fcc/hardhat-simple-storage-2/node_modules/hardhat/src/internal/core/runtime-environment.ts:156:14)
at Environment._runTaskDefinition (/mnt/a/projects/Ethereum/hh-fcc/hardhat-simple-storage-2/node_modules/hardhat/src/internal/core/runtime-environment.ts:308:14)
Caused by: Error: getaddrinfo EAI_AGAIN binaries.soliditylang.org
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command
I'm running the code on windows with WSL using
node v16.13.2
yarn v1.22.15
hardhat v2.11.2
Here are my WSL configs
BUILD: 19042
BRANCH: vb_release
RELEASE: Ubuntu 20.04.3 LTS
KERNEL: Linux 4.4.0-19041-Microsoft
UPTIME: 0d 3h 18m
Here's my hardhat.config.js
require("#nomicfoundation/hardhat-toolbox");
/** #type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.9",
};
Here's my repo link: https://github.com/J0SAL/hardhat-simple-storage
The code and everything are correct.
I found the issue in my WSL setup.
Right now I'm using Windows PowerShell and it's working fine.

Virtualbox - Tails - failed to open disk image file

Host machine: OSX Mojave
Virtualbox: 6.0.4
Tails: 3.12
Where I download virtualbox: brew cask install virtualbox. NOTE: I had virutalbox installed quite awhile and using it with vagrant and ansible to test playbook and stuff, and did make sure everything was clean when trying to run tails.
Where I download the image file: from tails site download using torrent
How I attempted to run tails from ISO image in virtual box: steps follow from tails documentation, it was straightforward and tried it more than five times
Error occurred at: steps 7, from the tails doc at configuring virtual machine to start from an ISO image, and below are the detail error:
The medium '/my-path/tails-amd64-3.12.iso'
can't be used as the requested device type.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MediumWrap
Interface: IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
Callee: IVirtualBox {d0a0163f-e254-4e5b-a1f2-011cf991c38d}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Expectation: No error popup at steps 7, which at the adding tails ISO image, and the rest of the step and could successfully start tails up
Attemps to get it work:
Attempt one: I watched one video from youtube that was about 7 months ago running tails in virtualbox, the process was pretty straightforward but I still get the same error.
Attemp two: I googled about the issue and only found simliar error. Those are conflicting Disk ID, which I applied the solution but got no luck.
I don't really use virtualbox much so are there anyway I can know more about the error message or anyone knows how to do with this? Thanks beforehand and appreciate for your precious time and help.
It is working now, the weird thing is that I have to directly open the .iso image instead of clicking on the folder that contains the .iso.

Debian9 - Upgrade virtaulbox fails on 'Cannot unload module vboxdrv.'

I'm trying to update debian 9 and virtualbox can't be upgrated...
I'm getting the error:
vboxdrv.sh: failed: Cannot unload module vboxdrv.
Does anybody has any idea ?
$ apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
virtualbox-5.1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/66.9 MB of archives.
After this operation, 6,144 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 261193 files and directories currently installed.)
Preparing to unpack .../virtualbox-5.1_5.1.36-122089~Debian~stretch_amd64.deb ...
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
dpkg: error processing archive /var/cache/apt/archives/virtualbox-5.1_5.1.36-122089~Debian~stretch_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
A copy of VirtualBox is currently running. Please close it and try again.
Please note that it can take up to ten seconds for VirtualBox to finish running.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service.
vboxdrv.sh: failed: Cannot unload module vboxdrv.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
Errors were encountered while processing:
/var/cache/apt/archives/virtualbox-5.1_5.1.36-122089~Debian~stretch_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Seen in the error messages you posted:
A copy of VirtualBox is currently running. Please close it and try again.
Please note that it can take up to ten seconds for VirtualBox to finish running.
Did you try that ?

Windows10/Windows8.1: getting Empty error message while running XBootmgr

I manually copied WPT folder from a file server onto my Windows10 test machine and ran below XBootmgr command:
"Xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -numRuns 1 -resultPath d:\tempetl"
Note: copied WPT folder at location "C:\WPT" and I have manually created "D:\tempetl"
But it is not running and giving small error pop-up which doesn't contain any error message. Getting same issue on another Windows8.1 machine.
I thought there is some issue with the switches I have used, so I tried simple command:
"Xbootmgr -trace shutdown -noPrepReboot"
But faced same issue.
Can anybody help me to resolve this issue?
Thanks in Advance!
Manually copy-pasting the WPT folder won't work. You need to install WPT using an MSI file (WPTx64-x86_en-us.msi).
On a Windows PC which has WPT installed on it, you can find this file in
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance
Toolkit\Redistributables
You can also install WPT as part of Windows Assessment and Deployment Kit (ADK) from https://www.microsoft.com/en-US/download/details.aspx?id=39982
Also, once you install WPT, you need to restart the computer once before you can start using the WPT commands for xbootmgr and xperf from an elevated command line window.

updating tizen-2.1 on test device

I have trouble on updating tizen-2.1 on my test device
I follow manual step by step, but some errors when I use lthor tool.
Can you give me some insight?
my environment
current tizen version on test device => 2.0
ubuntu 13.04 (on vmware 9)
modemmanager off
Error Message:
line 345: failed to read signature bytes
line 629: handshake failed
line 958: failed to open port (null)
Unfortunatelly, sometimes it's needed to uninstall modemmanger at all:
sudo apt-get purge modemmanager
Also VMWare may be at the bottom of your problem.
please follow these steps
I updated my device by following these steps.
https://wiki.tizen.org/wiki/Flash_Tizen_2.1_Image_to_Reference_Device