Thursday, April 28, 2011

cvs server: Up-to-date check failed for "..............."



Problem:>
This is one of the Common Exceptions which we come across daily in our lives. I encountered this issue when trying to check-in code.

Exception i encountered was:
"cvs server: Up-to-date check failed for `Web-content/WEB-INF/struts-config.XML"
The server reported an error while performing the "cvs commit" command.
EresumeX: cvs server: Up-to-date check failed for `Web-content/WEB-INF/struts-config.XML'
EresumeX: cvs [server aborted]: correct above errors first!

Solution:
You will get this error if some one has updated the file in CVS after you have checkout the file. So save your changes and then checkout the same latest file and apply your changes and check-in, it should work.
Please let me know if you still encounter this issue, mail me @ rahamat_234@yahoo.com


Similar Exceptions:

- cvs server: Up-to-date check failed for `Web-content/WEB-INF/struts-config.XML
- cvs server:Up-to-date check failed for 'team/test/MyTest.java



Monday, April 18, 2011

Could not find End Of Central Directory



Problem:
This is one of the Common Exceptions which we come across almost daily in our lives. When i was trying to run a unix command which requires a zip file to a processed.

Exception i encountered was:
"'/nfs/home/ttipton/vig/04-15/UpdatedmiuExport.zip' could not be processed. [Could not find End Of Central Directory]"

Solution:
The real culprit for this exception was that the zip file was around 3 gb of size and unix wasn't able to unzip it before processing it. I unzipped the files onto my local system and split it into three zip files of 1 gb each. This way the zip file can be unzipped appropriately and will not cause any issue.


Similar Exceptions:


- End-of-central-directory signature not found. Either this file is not a zip file, or it constitutes one disk of a multi-part archive
- Error opening file [file path] Could not find End Of Central Directory