vazexqi / CodingSpectator

Watches and analyzes code edits in the Eclipse IDE non-invasively
http://codingspectator.cs.illinois.edu
Other
20 stars 14 forks source link

Failure in parsing a CodingTracker log file #291

Closed reprogrammer closed 13 years ago

reprogrammer commented 13 years ago

edu.illinois.codingtracker.operations.OperationDeserializer.getUserOperations(String) failed to parse CodingTracker's log at cs-509/25b9a309-33c7-4c9d-9919-776fb44e8614/1.0.0.201105300951/codingtracker/codechanges.txt.

Wanderer777 commented 13 years ago

This problem is caused by the SVN merging marks that were introduced in the file as a result of a data upload that failed due to a conflict. Here are details on how SVN marks conflicting files: http://ariejan.net/2007/07/04/how-to-resolve-subversion-conflicts/

The file contains the following pattern:

<<<<<<< .mine
This is fun stuff!
=======
This is a documentation file
>>>>>>> .r6

We can fix this problem in two ways:

This is a postprocessing fix that should be applied on the collected data after the participant stopped writing into this file (it could be applied on an intermediate file as well, but then it would have to be reapplied on the final file anyway).

Wanderer777 commented 13 years ago

The file was manually fixed and committed to the local repository.