nmap IP address error:
dnet: Failed to open device lo0
solution:
Reinstall the latest version of Npcap
Dnet: Failed to open device eth0-error with nmap 7.70 on Windows 10
nmap IP address error:
dnet: Failed to open device lo0
solution:
Reinstall the latest version of Npcap
Dnet: Failed to open device eth0-error with nmap 7.70 on Windows 10
when running a program using tensorflow’s gpu, this error is reported because the gpu has been occupied by another python script or because the gpu is repeatedly called by your own program. There are three types of situations in which individuals find this problem occurring, two of which are common, and one of which may be difficult to reach.
case 1: you already have a python program running on the gpu. If you run your own program, you will report this error.
solution: you can only turn off python programs that already use the gpu, and then run your own.
case 2: if the program is written by yourself, you may have the problem of repeatedly defining sessions, which is equivalent to calling the gpu again, so the error is reported.
solution: think about where another session has been defined, look for it yourself, and remove it.
case 3: the emergence of this situation, difficult to see, because we usually use a framework to deal with problems, such as tensorflow, but I also use the pytorch, problems arise in pytorch build datasets can’t occupy gpu calls when the gpu cause tensorflow
the solution: the problem in another framework will call the gpu, don’t let it use p>
error cause: unknown, but Android Studio sometimes has this problem.
1. Sometimes because the software is turned off illegally
2. Sometimes the code from someone else’s computer will not run
. Sometimes a file
is missing. 4. Sometimes it is due to the problem of mobile phone terminal
and so on…
solution:
. Click the toolbar
and span> span> span> span> span> span> span>
–
Build Clean Project
2. Click the toolbar
and span> span> span> span> span> span> span>
–
An Rebulid Project
in Build can solve a large part of the problem
js ajax request succeeds, response shows “failed to load response data”


server returns too much data, resulting in data cannot be displayed;


note:
if this request is a Get request, that’s ok;
if the request is posted and has form data, then open in new TAB only opens the url of the request, without the form data information.
So,
, how do you do , open in new TAB , with formdata?The solution: use firefox firefox


is
when making a jpa
code as follows
Repository
@Query("select HomepageSection from HomepageSection where parent_id = :parentid and del_flag = '0'")
List<HomepageSection> findChildrenSectionsByParent(@Param("parentid") String parentid);
DB p>
创建表HOMEPageSection(
id varchar(64) not null主键,
parent_id varchar(64)
)
@Entity
@Table(name = "Homepage_section")
@Data
public class HomepageSection {
@Id
String id;
String parent_id;
String section_type;
String section_title;
String section_description;
String section_image;
String create_by;
String update_by;
Date create_date;
Date update_date;
String del_flag;
}
then exception p>
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'companyDescriptionServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HOMEpageSectionRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Validation failed for query for method public abstract java.util.List xxx.repository.xxxweb.HOMEpageSectionRepository.findChildrenSectionsByParent(java.lang.String)!
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
at xxx.Application.main(Application.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HOMEpageSectionRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Validation failed for query for method public abstract java.util.List xxx.repository.xxxweb.HOMEpageSectionRepository.findChildrenSectionsByParent(java.lang.String)!
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:518)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:496)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:627)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318)
... 22 common frames omitted
Caused by: java.lang.IllegalArgumentException: Validation failed for query for method public abstract java.util.List xxx.repository.xxxweb.HOMEpageSectionRepository.findChildrenSectionsByParent(java.lang.String)!
at org.springframework.data.jpa.repository.query.SimpleJpaQuery.validateQuery(SimpleJpaQuery.java:92)
at org.springframework.data.jpa.repository.query.SimpleJpaQuery.<init>(SimpleJpaQuery.java:62)
at org.springframework.data.jpa.repository.query.JpaQueryFactory.fromMethodWithQueryString(JpaQueryFactory.java:72)
at org.springframework.data.jpa.repository.query.JpaQueryFactory.fromQueryAnnotation(JpaQueryFactory.java:53)
at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$DeclaredQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:144)
at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateIfNotFoundQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:212)
at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$AbstractQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:77)
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.<init>(RepositoryFactorySupport.java:436)
at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:221)
at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.initAndReturn(RepositoryFactoryBeanSupport.java:277)
at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:263)
at org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:101)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
... 37 common frames omitted
Caused by: java.lang.IllegalStateException: No data type for node: org.hibernate.hql.internal.ast.tree.IdentNode
\-[IDENT] IdentNode: 'h' {originalText=h}
at org.hibernate.hql.internal.ast.tree.SelectClause.initializeExplicitSelectClause(SelectClause.java:160)
at org.hibernate.hql.internal.ast.HqlSqlWalker.useSelectClause(HqlSqlWalker.java:920)
at org.hibernate.hql.internal.ast.HqlSqlWalker.processQuery(HqlSqlWalker.java:688)
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:673)
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:309)
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:257)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:262)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:190)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:142)
at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:115)
at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:76)
at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:150)
at org.hibernate.internal.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:302)
at org.hibernate.internal.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:240)
at org.hibernate.internal.SessionImpl.createQuery(SessionImpl.java:1894)
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:347)
at com.sun.proxy.$Proxy100.createQuery(Unknown Source)
at org.springframework.data.jpa.repository.query.SimpleJpaQuery.validateQuery(SimpleJpaQuery.java:86)
... 50 common frames omitted
tried many times and finally found the problem
because the table name HOMEpage_section cannot automatically become Entity’s table name. So I use @table (name=”HOMEpage_section”), but I feel in repository that the jpa resolution does not indicate that entity class name should be placed after the select
alias will solve the problem
@Query("select h from HomepageSection as h where parent_id = :parentid and del_flag = '0'")
List<HomepageSection> findChildrenSectionsByParent(@Param("parentid") String parentid);
p>
div>
has a problem drawing using the built-in features of xgboost
ExecutableNotFound: failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH
reason: graphviz itself was software, needed an extra download, and added its bin to the environment variable.
Ubuntu can directly sudo apt install graphviz. If not, please go to graphviz’s official website to download or you can directly click this link to ubuntu to search graphviz package
environment dependencies refer to — several solutions for installing dependencies under Ubuntu
after downloading, use dot-verison command to query the bin folder address,

at the white bar in the figure
Add the environment variable in Ubuntu
then add the environment variable, source /etc/profile to make it take effect.
export PATH=$PATH:/usr/lib/x86_64-linux-gnu/graphviz
at this point the error is resolved and you can continue running the xgboost code.
not successful simulation solution:
find the installation directory “\Xilinx\14.x\ISE_DS\ISE\gnu\MinGW\5.0.0\nt\libexec\ GCC \mingw32\3.4.2\” collect2.exe and delete it and re-run the emulator.
installing the ubuntu system in the Windows app store, WslRegisterDistribution failed with error: 0x8007019e
1.
Installing, this may take a few minutes...
Installation Failed!
Error: 0x8007019e
Press any key to continue...
p>
2. Reason:
Windows subsystem support not installed.
p>
3. Solution:
1. Win +x, select Windows PowerShell (administrator)
2. Input: code> p>
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
3. Enter, type Y, restart! 4. Reopen the installed subsystem, wait a few minutes, and enter your account and password.
this blog runs in Ubuntu18.04
problem description:
Error:failed to get canonical path of /cow
use the recovery software boot-repair(after installing the Chinese system, look for “boot repair” in Dash) :
we need to use the system CD or U disk to enter the system, and then click “Try Ubuntu”
to install boot-repair, you need to add Ubuntu’s boot-repair PPA source and update the apt library.
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
Cannot add PPA if the error is reported… , can see: https://blog.csdn.net/weixin_44436677/article/details/107133371 p>
below is the installation:
sudo apt-get install -y boot-repair
use boot-repair to repair:
use boot-repair on the command line or click open in Dash, and then fix automatically in the software window or select advanced mode to set accordingly.

, wait a little, and restart.

how to install these two software, please move to this article:
https://blog.csdn.net/weixin_41995979/article/details/81990179
, that’s all I want to talk about, but what I want to talk about is the problem I had.
first, install synergy in Ubuntu. If you use the sudo apt-get install synergy command, you get 1.8.8. This can be checked by yourself after installation.
In the synergy interface, download. Deb version is not available in Ubuntu18. Therefore, it is recommended to use only
in Ubuntu18
sudo apt-get install synergy.
Ubuntu 16 can be downloaded. The deb version is self-installed.
the problem occurred when installing synergy in Ubuntu, which has been bothering me for a long time.
Ubuntu as the client side, win as the server side, the problem occurred: NOTE: new client is unresponsive
Ubuntu as the server and win as the client had the following problem: WARNING: failed to connect to server: Timed out
suggested that you check the setting of sunergy edit -, SSL that check off, should be able to solve.
Another problem with
is checking to see if the ports in the Settings are the same.
https://members.symless.com/forums/topic/4057-warning-failed-to-connect-to-server-timed-out/
and this is the way I saw it for this problem.
1. Preparation
brew install ffmpeg x264 qt5
git clone --recursive https://github.com/obsproject/obs-studio.git
2. Generate xcode project
1. cd obs-studio
2. mkdir -p builds/xcode
3. cd builds/xcode
4. CMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.11.1/ cmake ../../ -G Xcode
3. FAQ
set the working directory to {obs-studio build dir}build/rundir/Deubug(or Release)/bin, and set the method to Product-> Scheme-> Edit Scheme-> options-> working diectory.
Obs-studio
is compiled by visual studio under Windows 2017
1. Preparation
https://obsproject.com/downloads/dependencies2017.zip
li>
http://download.qt.io/archive/qt/5.11/5.11.1/qt-opensource-windows-x86-5.11.1.exe
git clone --recursive https://github.com/obsproject/obs-studio.git //--recursive 会下载依赖包
2. Generate project
1. 添加 DepsPath 路径为下载vs2017依赖
2. 添加 QTDIR 为 msvc2017_64路径
3. 配置生成工程即可,然后指定目录打开sln文件编译即可。
replace the computer and install scrapy times, record
USES PIP to install scrapy and a Failed building wheel for Twisted because there is no installation of Twisted
Twisted requires an additional
installation to select the appropriate version of Twisted
depending on the system and python version
我用的win10 64位,python 3.6
所有这里选择 cp36m-win_amd64.whl

after downloading, use the command to install the
PIP install file path
Example
p>
pip install C:\Users\Administrator\Downloads\Twisted-17.9.0-cp36-cp36m-win_amd64.whl
appears the Successfully installed version number

re-install scrapy

p>
success