Tag Archives: ProgrammerAH

Error debug in box2d createfixture Error:R6025 pure Virtual function call solution

This error occurs because the ShapeDef is on the shape. Do not create it in a field at the same level as the ShapeDef when you create the Shape. For example, this throws an exception:

b2FixtureDef boxDef;

    if (isCircle)
    {
        b2CircleShape circle;
        circle.m_radius = sprite->getContentSize().width/2.0f/PTM_RATIO;
        boxDef.shape = &circle;
    }
    else
    {
        b2PolygonShape box;
        box.SetAsBox(sprite->getContentSize().width/2.0f/PTM_RATIO, sprite->getContentSize().height/2.0f/PTM_RATIO);
        boxDef.shape = &box;
    }

can be written to avoid exceptions:

    b2CircleShape circle;
    b2PolygonShape box;
    if (isCircle)
    {
        circle.m_radius = sprite->getContentSize().width/2.0f/PTM_RATIO;
        boxDef.shape = &circle;
    }
    else
    {
        box.SetAsBox(sprite->getContentSize().width/2.0f/PTM_RATIO, sprite->getContentSize().height/2.0f/PTM_RATIO);
        boxDef.shape = &box;
    }

Solutions to error 25090 in office 2003

When you try to install, repair or uninstall Office, you may receive the following
Error message: Error 25090 Office Setup a Problem with the Office Source Engine, System Error: -2147023836 (Error 25090). Office installer has encountered problems related to Office Source Engine, system error: -2147023836)
Reason 1
The Office Source Engine (ose.exe) cannot be started because it has been stopped or disabled.
solution 1
Log in with administrative privileges.
right click “my computer”.
select manage.
click services and applications.
select service.
go to “Office Source Engine” and select enable the service.
Solution 2
 

modify the registry:
click start, click run, type regedit, find HKEY_LOCAL_MACHINE(abbreviated as HKLM), open the plus sign, then open SOFTWARE-> Microsoft-> Office-> 11.0 – & gt; Devilery, see the value of CDCache, change it to 0, OK! There is something wrong with WORD in my computer these days. Say what is missing iJ561401.CAB file. Each time it opens, a box appears.
I searched the Internet, finally found a set of WORD CAB files in one of the good website!
http://test.zlol.com.cn/%E5%BA%94%E7%94%A8%E8%BD%AF%E4%BB%B6/Office2003/OFFICE11/

in general

specific installation method:
1. Make sure you know which file you are missing before downloading. 2. Create a new folder and remember the location of the folder. 3. Find and download the files you need from this website, and put them into the new folder

4. When prompted to install office2003, enter the path to the saved file. Sometimes, for example, after you type in the path of “IJ561401.CAB “, a similar one pops up, telling you that another CAB file is missing, such as “ZA561401”, “YI541401”, “ZU61403”,

, you can do the same thing. You can put another folder in the same folder (at least that’s what I do, haha)

and if that works, WORD will open automatically at the end.

in the experiment, you open WORD again, directly appeared!! In addition, these CAB files on the Internet are all compressed files, I do not know whether I should decompress or not, at least I am decompressed in the same folder, no problem.

in WORD finally no longer out of the wind at the same time I would like to thank these find documents selfless dedication to the vast number of Internet users great people! There is a saying that “the power of Internet users is infinite”. It is precisely because of these selfless people who share their knowledge, power and resources. People can solve their own problems. Thanks again!

take the trouble to uninstall office, and then install again, it must be solved

Solve gitbook rangeerror: maximum call stack size exceeded

Problem description
Gitbook serve preview: error RangeError: Maximum call stack size exceeded

The solution
https://github.com/GitbookIO/plugin-lunr/blob/master/README.md#limitations

lunr
This plugin provides a backend for the search plugin.
This plugin is a default plugin.
Disable this plugin
This is a default plugin and it can be disabled using a book.json configuration:

{
    "plugins": ["-lunr"]
}

Limitations
Lunr can’t index a huge book, by default the index size is limited at ~100ko.
You can change this limit by settings the configuration maxIndexSize:

{
    "pluginsConfig": {
        "lunr": {
            "maxIndexSize": 200000
        }
    }
}

Json is created in the root directory of the GitBook project, and the lunr plug-in is disabled

$ vim book.json

$ ls
_book/     Chapter10/  Chapter3/  Chapter6/  Chapter9/
book.json  Chapter11/  Chapter4/  Chapter7/  README.md
Chapter1/  Chapter2/   Chapter5/  Chapter8/  SUMMARY.md

$ cat book.json
{
    "plugins": ["-lunr"]
}

Preview again to see if there are any errors

At this point, there is no problem with using gitbook serve, but using gitbook build --gitbook=2.6.7 still gives an error.
Use gitbook Build –gitbook=2.6.7 Still gives an error

When using gitbook build only, the error will not be reported, while when making gitbook version, the error will be reported, indicating that lunr plug-in is not disabled when making the version.
Therefore, this approach does not solve this reduced version of gitbook build case.

CMake Error: Could not find CMAKE_ROOT !!!

The operation error is shown in the figure below:

CMake version 3.13.0-RC2
The installation package is placed in the /usr/local/directory

Recompile the new version

cd /usr/local/

sudo tar -zxv -f cmake-3.13.0-rc2.tar.gz

sudo mv cmake-3.13.0-rc2 cmake

cd cmake

sudo ./bootstrap --prefix=/usr

sudo make

sudo make install

cmake --version

Runtime error r6016 problem

The introduction
Life is like a play, every day in the mistakes, but I have been too deep into the play, all the mistakes will be solved.
The problem

I didn’t know what I ordered today, and then the computer reported a mistake, as shown in the picture below:

Originally thought to ignore it, hurriedly do other things, then think a problem can not compromise ah, if not immediately solved, may cause a bigger problem. So, let’s see how I solved it!
To solve
1. Open control panel

2. Programs — Enable or disable Windows functions

3. Remove the check mark in front of WindowsMedia Player.

conclusion

We are not afraid of small problems, but we are afraid of dragging. No matter how small the problem is, we can’t put up with it. Just like the human body, we don’t care about small problems. Therefore, the teacher teaches us will not be the source power of discovery!!

A case diagnosis and solution of DB2 error code 1639 and SQL state 08001 is described in detail

In the db2inst1/sqllib/security directory, check the permissions of the db2ckpw and db2chpw files.
 
A friend raised a problem with DB2 on Mars. After the initial installation and deployment, there was no problem with the local connection, but the remote could not connect to the database:

 
Error message: Error Code -1639, SQL State: 08001 :
There are several possibilities for this error, such as the firewall is not open for 50000 ports, but in this case, the client has closed the firewall and the port is accessible.
Another correlation issue is permissions, which are checked for db2ckpw and db2chpw files in the db2inst1/sqllib/security directory:

Change the major of these two files to root, change the permission to 4511, restart the database, the database can accept remote access:

Chown root db2chpw Chown root db2ckpw chmod 4511 db2chpw chmod 4511 db2ckpw


To summarize: the purpose of db2ckpw is to check the user id and password on the DB2 server. Because DB2 relies on operating system-level authentication, this process is used to verify the user id and password when a user or application connects to a database on the server. AUTHENTICATION is performed when AUTHENTICATION is set to SERVER, or when a connection is established from an insecure operating system. Verifying permissions requires checking the passwd file, and CKPW, as the name implies, means checking Password file, which is why the tool must be run as root and must be guaranteed if a remote connection is needed.
The following paragraph is clear:

db2ckpwd is the password checking daemon that deals with user authentication. This process is used to confirm that the id exists and has a right to be on the box. If the process if not a root process, only local connections will be allowed to the database because the id is already on the box. To make the OS API calls necessary to determine if the user has the right to be on the box, DB2’s db2ckpwd must run as root. If it is not started as root, it will not have Permissions to make the API calls, and it will return an SQL 30082 rc=24 error. Also since the db2ckpwd must su to root, in order to run as root, the db2ckpw file will need to have the su bit set, And the file system must be mounted so that su ‘ing is allowed.

DB2 creates the connection as follows:
Records are for reference.


Not enough after reading this article?The 2019 Data Technology Carnival is here! The charm of sharing data with you. Join now and enjoy the very low fares:
 

Solved! The new version of statsmodels has the problem of importerror: cannot import name ‘factorial’

When the application of statsmodels is updated to the latest scipy version, an ImportError: cannot import name ‘factorial and:
attempts to raise an error and fail to find the reason.
There seems to be a problem with one of the functions in the latest version of SCIPY. The solution is to remove the new version and restore SCIPY to version 1.2
The solution removes the previous version
and installs it with PIP

$ pip install scipy==1.2.0 -i https://pypi.doubanio.com/simple/  --trusted-host pypi.doubanio.com  django

I’m using the image of douban

Waiting for another pilot command to release the startup lock

During normal development, Android Studio connected to the emulator and did not show it
If Waiting for another flutter Command to release the startup lock..    
Two solutions;

    switch network (the first one is not ok, the second one is not ok) into the SDK directory of flutter, then find bin/cache/lockfile file, delete it, then run the doctor of flutter, and then connect to the simulator.

The mistake will be solved

Solution of dynazip unzip error pop up in MindManager

Just installed MindManager popup DynaZip Unzip Error Error, how point can not point off, crash! Some ways to find it online are:
1. Delete the invalid shortcut for MindManager under Drive C. I tried it and found that all the shortcuts for MindManager under Drive C were valid
2, templates folder out of the question, see the post at http://blog.sina.com.cn/s/blog_4380e10b0101eaiv.html
I didn’t follow the method in Method 2, but I found inspiration in this post. For mindManager11, the solution is as follows:
1. Find the templates file in the MindManager installation directory. My path is: D:\Program Files (x86)\Mindjet\MindManager 11\sys\ENU\pro-templates. Rar
2. Direct decompression
Problem solved!

Reproduced in: https://www.cnblogs.com/weiweiting/p/5093948.html

How to fix “Outlook data file cannot be accessed” error (Solved)

In a customer’s computer, the following error appeared during “Send/Receive Progress” in Outlook 2013 “Sending reported error (0x8004010F) : ‘Outlook data file cannot be accessed. ’” The above error may occur if the Outlook profile is corrupted or after transferring the Outlook .PST file to another location on your disk or to another computer. 

After doing some research, I finally found a simple solution to resolve “Outlook data file cannot be accessed” error:

1. Open Outlook “Account Settings”.


2. At “E-mail” tab, highlight the account with the problem and click “Change Folder”.

3. Click “New Outlook Data File”.
4. Give a name for the new data file (e.g. “TEST”) and press “OK”.
5. Expand the new data file (e.g. “TEST”) and select the “Inbox” subfolder. Choose “OK”.


6. While at Account Settings screen, click “Change Folder” again.

7. This time select the correct data file and folder that you want to store e-mail messages and choose “OK”.

8. Close “Account Settings” and click “Send/Receive”.

Error: typecheck; offendingcommand: Show

Error;

%%[ ProductName: Distiller ]%%

94xufd not found, using Courier.

%%[ Error: typecheck; OffendingCommand: show ]%%

Stack:

(^)

%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

%%[ Warning: PostScript error. No PDF file produced. ] %%

I saw it in the log folder where the Adobe PDF print went wrong.

error due to missing font

correction steps: go to the control panel — printer — PDF printer — right click — Adobe PDF Settings — Rely on system fonts only; Do not use Document Fonts option removed.