Category Archives: How to Fix

PLSQL Startup Error: Initialization error [How to Solve]

preface

After the computer reinstalls vs2022, start PLSQL, and an error is reported, indicating that initialization failed

1. Solution

I installed client 12.2. I found that it requires Microsoft Visual Studio 2013 Redistributable on the official website. After vs2022 upgrade, this toolkit is lost.

Solution:
after downloading Microsoft Visual Studio 2013 redistributable, install it. (you need to uninstall the higher version first)
download address:
64 bit: vcredist_ X64
32-bit: vcredist_ x86

[Solved] vivado Install Error: Xilinx Design Tool Display in Red

Vivado installation error: Xilinx design tool, already exists for 2019.2, specify a different program program group entry

Reason for error: vivado has been installed, and Xilinx Design Tools folder already exists

Solution: find the “Xilinx Design Tools” folder and delete it
Xilinx Design Tools folder path: C:\USER\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

 

[Solved] Linux C++ Compile Error: c++: internal compiler error: Killed (program cc1plus)

Compilation error:

/home/service/rpc/goya-rpc/src/rpc_server_impl.cc: In member function ‘void goya::rpc::RpcServerImpl::OnCallbackDone(google::protobuf::Message*, boost::shared_ptr<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >)’:
/home/service/rpc/goya-rpc/src/rpc_server_impl.cc:101:44: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated (declared at /home/service/rpc/goya-rpc/thirdparty/install/include/google/protobuf/message_lite.h:430): Please use ByteSizeLong() instead [-Wdeprecated-declarations]
   int serialized_size = resp_msg->ByteSize();
                                            ^
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [src/CMakeFiles/goya-rpc.dir/rpc_server_impl.cc.o] Error 4
make[1]: *** [src/CMakeFiles/goya-rpc.dir/all] Error 2
make: *** [all] Error 2

The reason for the error is that the compiling machine is running out of memory, and a large number of template extensions need enough memory.

#View linux memory usage by.
1.ps aux --sort -rss
2.free -m
3.top  Press [shift + M keys] to arrange them in reverse order
4.cat /proc/meminfo

Solution:

You can solve this problem by temporarily using swap partitions:

=[step 1: operate as follows]=========================================

Sudo DD if=/dev/zero of=/swapfile bs=64m count=16
\count is the size of the increased swap space. 64M is the block size, so the space size is bs*count=1024mb
sudo mkswap /swapfile \

=[step 2: close release] ==================================================================================

Sudo swapoff /swapfile
sudo RM /swapfile
then continue to perform your relevant operations…

Note: if you still prompt “g++: internal compiler error: killed (program cc1plus)” after creating the temporary space, it may be because the allocated space is not large enough. You can continue to allocate more space.

[Solved] Unity Error: Deterministic compilation failed. You can disable Deterministic builds in Player Settings

preface

 

Unity error: deterministic compilation failed You can disable deterministic builds in player settings
this error was encountered when opening the old version of the project with the new version of unity

 

Solution:

1. Click Edit –> Project Settings

2. Click play –> Pull down to find Use Deterministic Compilation, then uncheck and restart unity

3. Done!

How to Solve Azkaban error (Reasons & Solutions)

Error 1: azkaban job Preparing
Solution:
modify the configuration of web-server conf/azkaban.properties
# execute host filter configuration, remove MinimumFreeMemory
# MinimumFreeMemory filter will check if the executor host will have more than 6G of free memory, if less than 6G, the web-server will not send the task to that host
azkaban.executorselector.filters=StaticRemainingFlowSize,CpuStatus

Error 2: When the job is running,azkaban web Error: Free memory amount minus Xmx (2836204 – 0 kb) is less than low mem threshold (3145728 kb), memory request declined

Solution:
[root@qphone02 executor]# vi ./plugins/jobtypes/commonprivate.properties
# set execute-as-user
execute.as.user=false
memCheck.enabled=false  # add memory check is off, otherwise it will report error: less than 3G

[antdv: DatePicker] `value` provides invalidate moment time. If you want set empty value, use `null`

[antdv: DatePicker] `value` provides invalidate moment time. If you want set empty value,use `null`

Always encounter this problem

Normal use:

html:
 <a-month-picker v-model="monthValue"  :allowClear="false" type="month" placeholder="选择月"></a-month-picker>
data:
monthValue:moment().format('YYYY-MM')

Reason:
ant design vue datepicker needs the format of moment by default, so an error will be reported.

Solution: use following method to define the data:

 monthValue: moment(new Date(), 'YYYY-MM')

Sophus Library Issues (Reasons & Solutions)

This blog records the errors encountered in the process of using sophus.

1. Cannot find header file fatal error: sophus/SO3 HPP: no such file or directory

1.1 problem description

fatal error: sophus/so3.hpp: no such file or directory

Reason:
GitHub is now a new version of sophus, which is based on the template class, and its corresponding header file is .h, while the header file corresponding to sophus based on non-template class is .hpp, so an error will be reported.

1.2 solutions

Put in the code

#include "sophus/so3.hpp"
#include "sophus/se3.hpp"

sophus::sophus SO3d;
sophus::sophus SE3d;

Change all to

#include "sophus/so3.h"
#include "sophus/se3.h"

sophus::sophus SO3;
sophus::sophus SE3;

2. /usr/bin/LD: not found - lsophus:: sophus

2.1 error reporting prompt

Compilation error

/usr/bin/ld: Could not find -lSophus::Sophus
/usr/bin/ld: Could not find -lSophus::Sophus
collect2: error: ld returned 1 exit status

2.2 solutions

My original cmake:

list(APPEND ALL_TARGET_LIBRARIES ${Sophus_LIBRARIES} Sophus::Sophus)
target_link_libraries( useSophus ${Sophus_LIBRARIES} Sophus::Sophus)

Modify to

list(APPEND ALL_TARGET_LIBRARIES ${Sophus_LIBRARIES})
target_link_libraries( useSophus ${Sophus_LIBRARIES})