User Tools

Site Tools


bug1_sns_unicode_quote

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bug1_sns_unicode_quote [2013/04/09 08:08] – bug:sns_unicode_quote renamed to bug1_sns_unicode_quote stephenbug1_sns_unicode_quote [2017/01/01 20:05] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Bug1: Sneaker Net Sync: Unicode Quote ====== ====== Bug1: Sneaker Net Sync: Unicode Quote ======
 +
 +<code>
 +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'
 +</code>
 +
 +----
 +
 +Calling:
 +
 +<code c#>Base.File.Rename("Quote’.txt", "Quote'.txt");</code>
 +
 +Gives:
 +
 +<code>
 +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: 
 +</code>
 +
 +So the problem is in ''Base''.
 +
 +{{tag>bug sns}}
  
bug1_sns_unicode_quote.1365494905.txt.gz · Last modified: 2017/01/01 19:48 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki