ERL2481 / big5sync

Automatically exported from code.google.com/p/big5sync
0 stars 0 forks source link

Syncless cannot handle syncing at root of a drive #205

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Tag a folder anywhere with tag A
2. Tag the root of a different drive (e.g. a flash drive) with the same tag
3. Create a file on either path
4. Hit manual sync

What is the expected output? What do you see instead?
Folder and drive should synchronise.
Instead Syncless crashes with a exception
    System.UriFormatException: Invalid URI: A Dos path must be rooted, for
example, 'c:\'.

What version of the product are you using? On what operating system?
Syncless 1.999 on Windows 7 Pro 32bit. Also replicated same fault on Vista
Hope Premium 32bit

(version 2.0 crashes at startup for me with no message, no log, no
traceability, on both Win7 and Vista)

Please provide any additional information below.
If the folder and drive are completely empty, Syncless hangs instead of
crashing (for at least 10 minutes)

Please paste the debug.log found in root Syncless folder(if any) below.
(Please
filter off any data that you do not want other people to see with "#")
2010-04-16 15:49:55 -   Exception Caught
            --------------------------------------------------------
            System.UriFormatException

                        System.UriFormatException: Invalid URI: A Dos path must be rooted,
for example, 'c:\'.

               at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)

               at System.Uri..ctor(String uriString, UriKind uriKind)

               at System.Xml.XmlResolver.ResolveUri(Uri baseUri, String relativeUri)

               at System.Xml.XmlUrlResolver.ResolveUri(Uri baseUri, String relativeUri)

               at System.Xml.XmlTextReaderImpl..ctor(String url, XmlNameTable nt)

               at System.Xml.XmlTextReader..ctor(String url, XmlNameTable nt)

               at System.Xml.XmlDocument.Load(String filename)

               at Syncless.CompareAndSync.CommonMethods.LoadXML(XmlDocument& xmlDoc,
String xmlPath)

               at
Syncless.CompareAndSync.Manual.Visitor.XMLMetadataVisitor.Visit(RootCompareObjec
t
root)

               at
Syncless.CompareAndSync.Manual.CompareObjectHelper.TraverseFolderHelper(RootComp
areObject
root, IVisitor visitor, TraverseType type, Progress syncProgress)

               at
Syncless.CompareAndSync.Manual.ManualSyncer.Compare(ManualCompareRequest
request, PreviewProgress progress)

               at
Syncless.CompareAndSync.CompareAndSyncController.Preview(ManualCompareRequest
request)

               at Syncless.Core.SystemLogicLayer.PreviewSync(String tagName)
            --------------------------------------------------------

Original issue reported on code.google.com by jimbo5678@gmail.com on 16 Apr 2010 at 2:55

GoogleCodeExporter commented 9 years ago
Hi 
may i know if you are runnning .Net framework 3.5 SP1 ? Perhap version 2.0 
crashes 
because you did not have SP1 installed. As for the root drive, are you tagging 
a mapped 
network drive?

Original comment by ericnjf on 23 Apr 2010 at 2:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,
Sorry, the 2.0 crash seems to have been a corrupt download. I just 
re-downloaded it
and the new copy starts up fine.

For the drive root issue, no, it was not a network drive
I can replicate it by creating a new folder on my desktop (which is on C:\ in 
the
usual location)
tag it with a new tag name
insert a brand new USB flash drive
tag that to the same tag
hit sync
Syncless crashes with the error above

2.0 gives the same error. I've attached a 2.0 logfile just in case it helps, 
though
it looks the same as the 1.999 one to me. Again, there was nothing in the user 
or
developer logs.

Original comment by jimbo5678@gmail.com on 23 Apr 2010 at 10:11

Attachments: