User Tools

Site Tools


bug1_sns_unicode_quote

Bug1: Sneaker Net Sync: Unicode Quote

2012-10-15 09:05:33 Copying: 'Accept\Blood Of The Nations\Accept - New World Comin'.mp3'
2012-10-15 09:05:34 Deleting: 'Accept\Blood Of The Nations\Accept - New World Comin’.mp3'

2012-10-15 09:30:36 Copying: 'Orphaned Land\The Never Ending Way Of ORWarriOR\Orphaned Land - The Path (Part 1) - Treading Through Darkness.mp3'
2012-10-15 09:30:39 Copying: 'Orphaned Land\The Never Ending Way Of ORWarriOR\Orphaned Land - The Path (Part 2) - The Pilgrimage To Or Shalem.mp3'
2012-10-15 09:30:41 Deleting: 'Orphaned Land\The Never Ending Way Of ORWarriOR\Orphaned Land - The Path (Part 1) – Treading Through Darkness.mp3'
2012-10-15 09:31:06 Deleting: 'Orphaned Land\The Never Ending Way Of ORWarriOR\Orphaned Land - The Path (Part 2) – The Pilgrimage To Or Shalem.mp3'

Calling:

Base.File.Rename("Quote’.txt", "Quote'.txt");

Gives:

System.IO.IOException was caught
  Message=Cannot create a file when that file already exists.

  Source=mscorlib
  StackTrace:
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.__Error.WinIOError()
       at System.IO.File.Move(String sourceFileName, String destFileName)
       at Base.Extensions.FileInfoExtensions.Rename(FileInfo value, String newFileName)
       at Base.File.Rename(String sourceFileName, String newFileName)
       at SneakerNetSync.Processors.Delta.FileCaseCorrect.DoProcess(String rootDirectoryName, IFileRepository fileRepository, IUIUpdate uIUpdate) in C:\Dev\SneakerNetSync - 1.0.15.2\SneakerNetSync.Processors\Delta\FileCaseCorrect.cs:line 25
       at SneakerNetSync.Processors.Delta.BaseDelta.Process(String rootDirectoryName, IFileRepository fileRepository, IUIUpdate uIUpdate) in C:\Dev\SneakerNetSync - 1.0.15.2\SneakerNetSync.Processors\Delta\BaseDelta.cs:line 36
       at SneakerNetSync.Processors.Processor.ApplyDeltaFile.Process() in C:\Dev\SneakerNetSync - 1.0.15.2\SneakerNetSync.Processors\Processor\ApplyDeltaFile.cs:line 54
  InnerException: 

So the problem is in Base.

,
bug1_sns_unicode_quote.txt · Last modified: 2017/01/01 08:05 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki