Author Archives: Robins

R language error:‘ namespace:lazyeval There is no exit_ The object is eval

attention WeChat common number: small range online

Follow CSDN blog: cheng zhiwei’s blog

appears when ggseqlogo package is installed today:

Error: ‘lazyeval’ has no export of the object’ f_eval ‘

The error

is caused by not installing the lazyeval package.

below is the specific code:

> Install. Packages (“G:/R language /R crawmer /R3.5 package /R3_5/lazyeval_0.2.1.zip”, repos = NULL, type = “win.binary”)
package ‘lazyeval’ unpacked and MD5 checked
> Library (“lazyeval”, lib.loc=”F:/R/ r-3.3.1 /library”)
Warning message:
Warning message:
library(“lazyeval”, lib.loc=”F:/R/ r-3.3.1 /library”)
Library (“ggseqlogo”, lib.loc=”F:/R/ r-3.3.1 /library”)
Warning message:
Warning message:
package “ggseqlogo” was built in R version 3.3.3

Android Error:AAPT: error: resource android:attr/colorError not found

Android resource linking failed
G:\work\viewPager\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:622: error: resource color/colorPrimary (aka com.example.viewpager:color/colorPrimary) not found.
G:\work\viewPager\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:623: error: resource color/colorPrimaryDark (aka com.example.viewpager:color/colorPrimaryDark) not found.
G:\work\viewPager\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:624: error: resource color/colorAccent (aka com.example.viewpager:color/colorAccent) not found.
error: failed linking references.

Reason

25 below compileSdkVersion implementation ‘com. Android. Support: appcompat – v7:27.0.0’ version of the support.
error is usually reported when the compiled version of SDK is lower than the version in the support package, but this is not always true. The error is usually reported when the resource file in the higher version of support package is not found in the lower version of SDK.

solution

changes the compileSdkVersion to be consistent with support, and it is recommended to change the compileSdkVersion 27

Git bash Error: Could not fork child process: There are no available terminals (-1)

Error:
Error: Could not fork child process: There are no available terminals (-1)

:

solution :

(1) use the CMD command tasklist to find git bash’s process

(2) find the red marker

(3) execute the command (taskkill /pid 9872-t-f ) to kill it can be

reference problem resolution link :
Git bash Error: Could not fork child process: There are no available terminals (-1)

reproduced in: https://www.cnblogs.com/youcong/p/11032831.html

ios Cocoa error 4097

[UIKeyboardInputManagerClient handleError:forRequest:] will retry sending handleKeyboardInput:keyboardState:continuation: to keyboard daemon after receiving Error Domain=NSCocoaErrorDomain Code=4097 "The operation couldn’t be completed. (Cocoa error 4097.)"

IOS simulator -> Restore the contents and set

Clion appears cmake error: could not find cmake_ Root! What is the problem and how to solve it?

Clion appears CMake Error: Could not find CMAKE_ROOT!! What is the problem and how should it be solved?

this is my first blog post. I used to use codeblocks for c++, but it feels like the debug feature on codeblocks itself has never been particularly useful. Since I was recommended to use clion, I think clion debug function is really powerful and easy to use, but I reinstalled the win10 system, and then re-initialized it (is to set some user names, boot passwords and a lot of things), clion began to report crazy errors, that is


the causes of the errors is clion path there is a Chinese, will be garbled words, if you find that can solve the problem by changing the path all is well, but if because you just installed the new system, the initialization time wrote his own name, you think this is the name displayed when the phone is switched on (although it is) but also can make your disk c username (admin) changed to Chinese, so you can only to reinstall the re-initialization.

Solve angular’s cannot find module ‘@ angular devkit / core’ problem

after angular creation program, to add new components, but sometimes there will be “Cannot find module ‘@angular-devkit/core'” problem, the reason for this problem is the lack of @angular-devkit/core. In fact, this problem will prompt
at the time of new program creation, such as ng new newProject will appear after execution

npm WARN @angular-devkit/schematics@0.0.52 requires a peer of @angular-devkit/core@0.0.29 but none is installed. You must install peer dependencies yourself.
npm WARN @schematics/angular@0.1.17 requires a peer of @angular-devkit/core@0.0.29 but none is installed. You must install peer dependencies yourself.

in these tips are @ presents – devkit/core is not installed successfully, the need to install the prompt
solution is installed, enter the directory executing the following command

npm i --save-dev @angular-devkit/core

if again prompted @angular-devkit/core did not install successfully you need to uninstall angular-cli and reinstall angular-cli

npm uninstall -g angular-cli
npm install -g @angular/cli@latest

will solve

after reinstallation

Reading package lists… Error! (How to Fix)

Reading package list…error!

E:No packages encountered: header

E: MergeList /var/lib/ apt/lists/az.archive.ubuntu.com_ubuntu_dists_natty_main_i18n _transl- en

E: The package list or status file cannot be parsed or opened.

 

Solution:

Running these two commands should fix your problem

Code:

sudo rm /var/lib/apt/lists/* -vf

The first command will delete the corrupt list and when you run the second command, it will replace it with a new one

Code :

sudo apt-get update

Solution: error: libtool library used but ‘libtool’ is undefined

When spice library function pixman is compiled,

appears:

pixman/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
pixman/Makefile.am:1:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
pixman/Makefile.am:1:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
pixman/Makefile.am:1:   If 'LT_INIT' is in 'configure.ac', make sure
pixman/Makefile.am:1:   its definition is in aclocal's search path.
test/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

means: LT_INIT is defined in configure. Ac, but aclocal cannot be searched. Configure.ac exists in the libtool file. Aclocal searches configure.ac through the libtool.m4 file.

solution:

1) make aclocal folder and libtool folder in the same directory, and aclocal contains libtool.m4, playing a bridging role;

2) when aclocal has libtool.m4 file, and aclocal and libtool file are in the same directory, it is also necessary to check whether the search path of aclocal is located in the parent directory of aclocal.

my search path is /usr/local/share/aclocal, but the parent directory of my aclocal and libtool is /usr/share/aclocal. The two are different.

all, to change the search path or to add the corresponding file under the current search path.

1) modify the search path and find that it cannot be changed:

2) choose to add the corresponding file in the current search path, and recompile:

success!

Session app error launching activity solution

As one: Launching activity of Session ‘app’ : Error , Launching activity cannot be launched on real machine. The solution is to close instant run

in the File – & gt; Settings-> Build, Execution,Deployment find Instant Run, remove the option before Instant Run,

click OK OK, recompile the running app



2: must open mobile developer debugging, even can detect equipment, should should ensure that the manual open



The solution to the problem is different from other solutions

java-jdk13 Error opening registry key ‘software\Javasoft\Java Runtime Environment’ problem solution differs from other solutions

to find other online solutions, found the first few pages of baidu solutions are the same. It’s disgusting. They tried all their ways to no avail, and then found a solution here.
C: \ ProgramData \ Oracle \ Java \ javapath. All Java files under this path are deleted.
later I thought maybe it was because I had installed java8 before and deleted it.
in addition, I recommend that you try other people’s solutions if they fail and try mine again.

Distribution setup SQL Server Agent error: “RegCreateKeyEx() returned error 5, ‘Access is denied.'” …

In the Configuration Distribution Wizard, the “Configure SQL Server Agent Auto-Start” step has the following text error:

TITLE: Configure Distribution Wizard
------------------------------
An error occurred configuring SQL Server Agent.
------------------------------
ADDITIONAL INFORMATION:
RegCreateKeyEx() returned error 5, 'Access is denied.' (Microsoft SQL Server, Error: 22002)

This is a very minor error that is not difficult to fix. The wizard is trying to change the “startup mode” of the SQL Server proxy service to “automatic”. You can do this with the SQL Server Configuration Manager

In the Sysinternals process monitor, you may see: Operation:RegCreateKeyResult:AccessDeniedPath: “HKLM\System\CurrentControlSet\Services\SQLAgent$SQL2012 “If you encounter this error, please refer to the Configuration Distribution Wizard’s “Select “No” on the SQL Server Agent Startup page (shown below) and set your agent service to auto-start mode through SQL Server Configuration Manager.

 

R language – error analysis – error in Call.graphics (C_ palette2, .Call(C_ palette2, NULL)) : invalid graphics state

problem description: plot, the error 01

> ggplot(religions_long, 
+        aes(State, value, fill = variable)) +
+     geom_bar(stat = "identity") +
+     coord_flip()
> Error in .Call.graphics(C_palette2, .Call(C_palette2, NULL)) : 
  invalid graphics state

solution: maybe R can’t bear too much drawing, so empty all drawing will