Tag Archives: svn

[Solved] Cannot run program “svn” (in directory “D: xxxx”): CreateProcess error=2, the system cannot find the specified file.

 

1. Error content

Cannot run program “svn” (in directory “xxxx”): CreateProcess error=2, the system cannot find the specified file

2. Reason

The command was not installed when TortoiseSVN was installed, so version management cannot be performed through the command

3. Solution

1. Find the TortoiseSVN installation package you downloaded at that time and reinstall it

2. Select the first one here

3. The second option is X, which means that you have not installed the command. Click on and check the first one, and then confirm the next step

[Solved] Eclipse SVN Plug-in Submit Error: org.eclipse.team.svn.core.connector.SVNConnectorException…

Error Message:

org.eclipse.team.svn.core.connector.SVNConnectorException: svn: E175002: SSL handshake failed: 'The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]'

Solution:

Open Eclipse Setting:
Preference->Version Control(Team)->SVN
Check [SVN Connector] on the right tab
Inside the SVN Connector dropdown box to change an option, I am choosing Native Java HL 1.8… The problem was solved.

How to Solve Svn upload so File Error

Cause of the problem: since the so file is a binary file, it is ignored by default. You need to modify the configuration before uploading

Solution:

find   / -name .subversion # find SVN configuration file path

cd to find the path of .subversion

VIM config finds these two lines:

#global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *pyo

#  *.rej *~#*# .#* .*.swp.DS_Store

Modified as:

###global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *pyo

###  *.rej *~#*# .#* .*.swp.DS_Store

global-ignores = .*.swp.DS_Store

It can be solved after saving!

[Solved] svn: OPTIONS of ‘https://xxx/svn/xxx’: SSL handshake failed: SSL error: Key usage violation in certificate has been detected.

svn SSL handshake failed: SSL error

Use the SVN server for version management, and suddenly use the version browser to report an error. svn: OPTIONS of ‘ https://xxx/svn/xxx ’: SSL handshake failed: SSL error: Key usage violation in certificate has been detected. (https://xxx), Then you cannot export or import files

 

Solution:

1. My is win2012 32-bit English version system. First modify the registry and add a value
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VisualSVN\VisualSVN Server] "CreateGnuTLSCompatibleCertificate"=dword:00000001

2. VisualSVN Server Manager

Action -> Properties -> Certificate-> Change certificate, and then go to the next step

if it still doesn’t work, change the login method, check HTTPS and then http. Then log in and you can solve the problem

SVN ERROR (E200033): database is locked [How to Solve]

E200033:

cd .svn
mv wc.db wc.db.old
splite3 wc.db.old
sqlite> .backup main wc.db
sqlite> .exit
cd ..
svn cleanup

1. Enter the SVN root hidden folder Svn
2. Backup database
3. SQLite opens/displays database
4. Back up the new database main to complete database replication
5. Exit SQLite
6. Return to SVN root
7. SVN cleanup

[Solved] The installer has encountered an unexpected error installing this package.

Win10 installation software Report

The installer has encounteredan unexpected error
installing this package.This may indicate a problem with this package.The error code is 2503.

Solution:

Open cmd with administrator privileges and enter the command

msiexec /package C:\Users\asus\Downloads\TortoiseSVN-1.14.1.29085-x64-svn-1.14.1.msi
Where msiexec /package is followed by the path of your installer, and the download is successful after pressing Enter.

How to Solve svn error: WC DB

Go to sqlite official website (http://www.sqlite.org/download.html) to download sqlite3.exe

       Find Precompiled Binaries for Windows,Click sqlite-shell-win32-x86-3080500.zip to download,300KB

Show items hide folders Svn
Svn download sqlite.exe and place it in the .svn folder.
Configure the sqlite environment variable, copy the .svn root directory and add it to the global environment variable
execute sqlite3 .svn/wc.db “select * from work_queue” view the error message
delete the error file table sqlite3 .svn/wc.db “delete from work_queue”
If an error is reported that the database is locked – database is locked
execute sqlite3 .svn/wc.db “delete from wc_lock” delete locked information
return to the project file for clearup operation

SVN Update Error Please execute the ‘Cleanup‘ command [How to Solve]

Question

SVN Update Error: Please execute the ‘Cleanup’ command

Detailed description
when using SVN to update files, you will encounter failure (maybe because the last pull was forcibly interrupted). You will be prompted to need cleanup, but when you clean up, you will be prompted that the folder has been locked. At this time, you go to release lock, but still fail. You will be prompted to please execute the ‘cleanup’ command. (TMD is really difficult to use)

Solution:
obviously, this cannot be operated because the SVN file is locked and needs to be released, but manual release does not work, so you need to enter the SVN root directory where the locked folder is located, and then set the hidden files to be visible find the .SVN folder, and link wc.db with database management tools such as Navicat, DataGrid and other ides. This is a SQLite database. Find WC_Lock table

Delete locked records and submit updates to the database
it’s OK to update the code or file again

Android Studio Error: String index out of range 0 [How to Solve]

Android studio compilation project error: string index out of range 0

Compile the project after merging the SVN code. Android studio fails to compile the project. An error message appears: string index out of range 0

Cause: compilation fails due to conflicts caused by merging codes

solution:

Delete the other three files with the same name gradle.Properties , and there are no other three gradle.Properties files with the same name and different suffixes in the original project because of conflicts in the process of merging codes, and ->>> symbols that cannot be compiled, so delete ->>> symbol, build -- > Clear project or build -- > Rebuild project recompile the project, and the problem is solved.