Download & Extend

Just tried applying patch advcache-update_1-hook.patch -- received error "Assertion failed"

Project:Advanced cache
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Just tried applying patch advcache-update_1-hook.patch. (Win Xp sp2, GnuWin32/patch.exe )

Received the following:

patching file advcache.install
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Press any key to continue . . .

Please advise

Comments

#1

Did you ever get it working?

The problem likely has to do with the patch being written for Unix systems, and you're using it for Windows. I just had a similar problem, actually! If you resave it in MS-DOS mode though, it should take care of the problem. Two ways to do this:

1) Open the patch in Wordpad or some similar program. Click Save As, and in Save as type, select Text Document - MS-DOS format. Make sure the filename stays " advcache-update_1-hook.patch" though and not .txt.

2) Open command prompt. Go to whatever directory the patch is located. Type "edit advcache-update_1-hook.patch" Save the file.

Should work now!

nobody click here