problem description
error when using SVN checkout on a project:
svn: E155009: Failed to run the WC DB work queue associated with '/home/.../doc', work item 39 (file-install doc/{U+7ED3}{U+7B97}{U+5FEB}{U+7167}.doc 1 0 1 1)
looks at my directory, finds that the file is not completely checkout, and tries to perform SVN update to get an error. Let me do cleanup
first
[nigel@DevTJ-todo-1507091995 ~/]$ svn update
svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted
error when performing SVN cleanup, let me
[nigel@DevTJ-todo-1507091995 ~/]$ svn cleanup
svn: E155009: Failed to run the WC DB work queue associated with '/home/...', work item 39 (file-install doc/{U+7ED3}{U+7B97}{U+5FEB}{U+7167}.doc 1 0 1 1)
, by the time we get here, it’s completely unworkable.
cause analysis
a problem is, of course, Google, on the Stack Overflow find an article that the problem of link: https://changilkim.wordpress.com/2012/12/10/svn-cleanup-fails/
which describes the causes of this problem appears: p>
This happens, for instance, when you (sure, unintentionally) included an Xcode build directory to
your svn repository and try to check it out on Windows, which will not allow some characters to be
used in a file name–‘>’ in the example above. SVN doesn’t resolve this problem: the unaccomplished
should be done prior to any other operations through “svn cleanup”, which in essence flush all
unfinished operations. This, however, makes an error as it tries to do something not achievable.
basically: when SVN checkout, if there is an unrecognized symbol in the file name, the checkout operation blocks the rest of the operations that follow – including cleanup. At this point, we can only get SVN to work if we have some other way to clean up the failed checkout operation in the “to-do” list.
prior to SVN 1.7, SVN USES numerous small files to store version-related information. But after 1.7, SVN replaces this with a centralized SQLite database in the.svn folder called WC.db.
[nigel@DevTJ-todo-1507091995 ~/dev/.../.svn]$ ls
entries format pristine tmp wc.db wc.db-journal
The list of operations for
SVN is stored in the WORK_QUEUE table of the SQLite database. So now the direction is clear — we just need to delete this failed checkout operation in the database SQLite and we’re done. But how exactly should operate?
solution
to open the wc.db database, we need a shell script called sqlite3, which can be downloaded from its website http://www.sqlite.org.
will be unzipped and sqlit3 will be copied to. SVN folder:
[nigel@DevTJ-todo-1507091995 ~/dev/.../.svn]$ ls
entries format pristine sqlite3 tmp wc.db wc.db-journal
then executes the following query statement
sqlite3 wc. Db “select * from work_queue”
to see blocked operations in the action queue:
[nigel@DevTJ-todo-1507091995 ~/dev/.../.svn]$ sqlite3 wc.db "select * from work_queue"
39|(file-install doc/结算快照.doc 1 0 1 1)
you can see that there is an operation record, and then execute the following command to delete the operation:
sqlite3 wc.db “delete * from work_queue”
this step is executed successfully without any hint:
[nigel@DevTJ-todo-1507091995 ~/dev/.../.svn]$ sqlite3 wc.db "delete from work_queue"
[nigel@DevTJ-todo-1507091995 ~/dev/.../.svn]$
and we’re done! This is where the SVN cleanup occurs:
[nigel@DevTJ-todo-1507091995 ~/dev/...]$ svn cleanup
[nigel@DevTJ-todo-1507091995 ~/dev/...]$
div>
Read More:
- Processing method of SVN error “failed to run the WC DB work queue associated with…”
- Cannot checkout from svn:E155004:Run ‘svn cleanup‘ to remove locks(type ‘svn help cleanup ‘ for deta
- Svn: a solution to the error of cleanup failed to process the following paths
- Idea always reports errors when using “SVN” to associate projects Error:Cannot run Program “SVN” (in directory “path XXXXXX”): CreateProcess error = 2,
- AS3.5 Error gradle project sync failed.Basic functionality(e.g.editing,debugging) will not work
- Idea svn connection https error report: E230001: Server SSL certificate verification failed: certificate issued
- svn: E230001: Server SSL certificate verification failed: certificate issued
- rabbit.listener.BlockingQueueConsumer$DeclarationException: Failed to declare queue(s)-2021-10-09
- SVN: Please execute the ‘Cleanup‘ command.
- E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
- Resolve rabbitmq declarationexception: failed to declare queue exception
- E / Art: failed sending reply to debugger: a solution to broken pipe
- Recipe for target’Project 1.exe’ failed Cause analysis and solution
- Python uses the priority queue to get the maximum k elements
- There is a solution to the problem: severity = corrected, type = physical layer, id = 00e5 or id = 00e8 (receiver ID) under Ubuntu
- Error 72 error LNK1181: cannot open input file ‘opencv_world310.lib’ E:\VC-WORK\FaceTrainVS2010_new\
- svn RA layer request failed unable to connect to a repository
- Visual SVN server provider failed to perform the attempted operation 0x80041024 after win7 upgraded win10
- Microsoft OLE DB Provider for SQL Server error & #x27;80040e4d & #x27;
- The most complete collection of solutions to Tortoise SVN Clean up failure