Skip to content

路径中具有非法字符 #791

@xinyichv

Description

@xinyichv

CmisSync throw the error as below, I use alfresco5.2.0.

2021-06-02 17:14:18,522 [1] INFO CmisSync.Program [(null)] - Starting CmisSync version: 2.13.1.0 2021-06-02 17:14:18,538 [1] INFO CmisSync.Lib.FolderLock [(null)] - Creating folder lock file: C:\Users\oladmin\CmisSync 2021-06-02 17:14:18,553 [1] DEBUG CmisSync.SetupController [(null)] - SetupController - Entering constructor. 2021-06-02 17:14:18,553 [1] DEBUG CmisSync.SetupController [(null)] - SetupController - Exiting constructor. 2021-06-02 17:14:18,569 [1] DEBUG CmisSync.Setup [(null)] - Entering constructor. 2021-06-02 17:14:18,585 [1] DEBUG CmisSync.Setup [(null)] - Exiting constructor. 2021-06-02 17:14:18,585 [7] INFO CmisSync.Lib.RepoBase [(null)] - Repo LSSBackup - Set poll interval to 86400000ms 2021-06-02 17:14:18,585 [7] INFO CmisSync.Lib.Sync.CmisRepo [(null)] - LSSBackup 2021-06-02 17:14:18,600 [7] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - SyncInBackground: IsSyncing(): True 2021-06-02 17:14:18,600 [7] INFO CmisSync.Lib.RepoBase [(null)] - Repo LSSBackup - sync launch at startup 2021-06-02 17:14:18,600 [3] INFO CmisSync.Lib.RepoBase [(null)] - Sync Started: F:\LSSBackup 2021-06-02 17:14:18,631 [3] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms 2021-06-02 17:14:18,678 [3] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse 2021-06-02 17:14:18,866 [3] INFO CmisSync.Auth.Authentication [(null)] - VendorName: Alfresco 2021-06-02 17:14:18,866 [3] INFO CmisSync.Auth.Authentication [(null)] - ProductName: Alfresco Community 2021-06-02 17:14:18,866 [3] INFO CmisSync.Auth.Authentication [(null)] - ProductVersion: 5.2.0 (re21f2be5-b22) 2021-06-02 17:14:18,866 [3] INFO CmisSync.Auth.Authentication [(null)] - CmisVersionSupported: 1.1 2021-06-02 17:14:18,866 [3] INFO CmisSync.Auth.Authentication [(null)] - Name: 2021-06-02 17:14:18,866 [3] INFO CmisSync.Auth.Authentication [(null)] - Description: 2021-06-02 17:14:18,866 [3] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Created CMIS session: DotCMIS.Client.Impl.Session 2021-06-02 17:14:18,866 [3] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - ChangeLog capability: False 2021-06-02 17:14:18,866 [3] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Get folder tree support: True 2021-06-02 17:14:18,866 [3] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Get descendants support: True 2021-06-02 17:14:18,866 [3] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Chunked Up/Download disabled 2021-06-02 17:14:18,866 [3] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms 2021-06-02 17:14:18,866 [3] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse 2021-06-02 17:14:18,913 [3] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms 2021-06-02 17:14:18,913 [3] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse 2021-06-02 17:14:18,960 [3] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - First sync, apply local changes then invoke a full crawl sync 2021-06-02 17:14:18,975 [3] INFO CmisSync.Lib.Database.Database [(null)] - Checking whether database C:\Users\oladmin\AppData\Roaming\cmissync\LSSBackup.cmissync exists 2021-06-02 17:14:19,022 [3] INFO CmisSync.Lib.Database.DatabaseMigration [(null)] - Checking whether database C:\Users\oladmin\AppData\Roaming\cmissync\LSSBackup.cmissync exists 2021-06-02 17:14:19,163 [3] ERROR CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - 路径中具有非法字符。 2021-06-02 17:14:19,163 [3] INFO CmisSync.Lib.RepoBase [(null)] - Sync Error: CmisSync.Lib.Cmis.BaseException, 路径中具有非法字符。 2021-06-02 17:14:19,163 [3] ERROR CmisSync.StatusIconController [(null)] - Error syncing 'LSSBackup': 路径中具有非法字符。 CmisSync.Lib.Cmis.BaseException: 路径中具有非法字符。 ---> System.ArgumentException: 路径中具有非法字符。 在 System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) 在 System.IO.Path.Combine(String path1, String path2) 在 CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.FindModifiedOrDeletedLocalObjects(String rootFolder, List1& deletedFolders, List1& deletedFiles, List1& modifiedFiles)
在 CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.ApplyLocalChanges(String rootFolder)
在 CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.Sync()
在 CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.<>c__DisplayClass35_0.<.ctor>b__0(Object o, DoWorkEventArgs args)
--- 内部异常堆栈跟踪的结尾 ---
2021-06-02 17:14:19,178 [3] INFO CmisSync.Lib.RepoBase [(null)] - Sync Complete: F:\LSSBackup , success=False
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions