Author Archives: Robins

unzip error 22 – Invalid argument

The problem
When the zip file is created by Windows and there is a problem with the encoding, the unzip in macOS X cannot be uncompressed. We will prompt: is unable to expand "*.zip" into "Download". (Error 22-invalid argument.)

Solutions:
Ditto:
ditto-x-k zip_file_path unzip_destinatio_path
Ditto to create and extract Archives at MarcK
Scheme 2
You can also choose The Unarchiver

Error 1033 received logging on to the standby

Fri Jan 01 15:57:00 2016

Error 1033 received logging on to the standby

PING[ARC1]: Heartbeat failed to connect to standby ‘PRODS’. Error is 1033.

Fri Jan 01 15:57:07 2016
This first goes to check the connection condition of the backup library, not only refers to the network, login aspect also wants to check
Oracle, for example, refuses to log in when the space is full

ESP8266 Chip sync error esp_sync_blocking.

ESP8266 firmware continues to fail and displays chip Sync Error
View pin definition
|Function| URXD>0 UART_RXD, receive
>1 UTXD b>2 UART_TXD, send
>3 RST>4 external Reset signal, low level Reset, high level work (default high)
>5 GND>6 GND
>7 VCC>8 3.3v, module power supply
>9 GPIO 0>0 working mode Drop down: UARTDownload, download mode
|CH_PD | high level operation;
|GPIO 2 | (1) power on must be high level, do not pull down the hardware; (2) Internal default has been elevated
Solution
RST pin ground reset after re-burning, successful
Timed out waiting for Packet Header
Solution: RST pin needs to be connected until it turns up a connecting connecting wire, unplug RST ground wire and upload successfully

CUDA error 11-cannot write buffer for DAG error solution

Recently, someone asked Dali miners why my machine inexplicably reported “CUDA Error 11-cannot write Buffer for DAG”. After careful analysis by Dali miners, it was found that kernel 11 had such problems for NviDIA CARDS, such as 106X and 107X;

Compatibility problems occur, it is recommended to replace 10 kernel to try, if you cannot change the version, try to add the parameter -lidag 1 parameter, hope to give you help.

g++ c++ error: ‘malloc’ was not declared in this scope

Error: ‘malloc’ was not declared in this scope when using malloc() in c++
1. Handwriting errors.
2. No reference to the appropriate library.
Solution: Introduce stdlib.h

#include<stdlib.h>
guess is that there is a solution, not try: https://blog.csdn.net/u012197749/article/details/79687899

[!] Invalid `Podfile` file: syntax error, unexpected end-of-input, expecting keyword_end.

This article is to document some of the problems with pods
[!] Invalid `Podfile` file: syntax error, unexpected end-of-input, expecting keyword_end.
The solution, when editing here, is to add end
Platform: ios, ‘8.0’
target:’JDtest’ do
pod ‘Masonry’
end

[!] The dependency `Masonry` is not used in any concrete target.

Solution, in the edit here, add target, ⚠ ️ ‘JDtest’ after the target, as the project name, ‘project name’
Platform: ios, ‘8.0’
target:’JDtest’ do
pod ‘Masonry’
end

       

R language packages installation failed: Error in install.packages: error reading from connection

Failed to download and install “SP” package:

Solution:
1. If the download is unsuccessful, switch the default download image of Rstudio to the domestic download image;


2. There are several domestic download images, if not, try more times. I chose the download image of Peking University;
3. Enter: install. Packages (“sp”) and wait for successful installation.

cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: Solution

Source: http://blog.csdn.net/wangxw8746/article/details/9382155

Cause of the problem: Probably the /var/log permissions are not set correctly. First execute mkpasswd and mkGroup to regenerate the permission information, then delete the SSHD service and reconfigure
Solutions:
$ mkpasswd -l > /etc/passwd
$ mkgroup -l > /etc/group
$ cygrunsrv -R sshd
$ ssh-host-config -y
$ cygrunsrv -S sshd

Error: Could not locate Flask application. You did not provide the FLASK_APP environment variable.

Problem description:

Error: Could not locate Flask application. You did not provide the FLASK_APP environment variable.

why
The FLASK_APP environment variable is not set
To solve
Under the win10
Powershell: $env:FLASK_APP="main.py" remember to replace main.py with your own filename
Py main. Py CMD: set FLASK_APP=flasky.py
As opposed to PowerShell… 😈