canton7/SyncTrayzor

Oops! Something went badly wrong. SyncTrayzor is going to have to close. Sorry about that

Opened this issue · 1 comments

Synctrayzor version:
1.1.29

Syncthing version:
1.25.0

Screenshot

Error!

Oops! Something went badly wrong. SyncTrayzor is going to have to close. Sorry about that

Version: 1.1.29.0; Variant: Installed; Arch: Amd64
Path: C:\Program Files\SyncTrayzor\SyncTrayzor.exe
System.Threading.Tasks.TaskCanceledException: Foi cancelada uma tarefa.
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em RestEase.Implementation.Requester.d__37.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em RestEase.Implementation.Requester.d__40.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em SyncTrayzor.NotifyIcon.NotifyIconViewModel.d__69.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

(sorry, I'm using a Portuguese Windows 10 version; where it says "Foi cancelada uma tarefa.", it means that "One task was cancelled." in (em) System.Runtime..., etc, etc)

("em System" means "in System")

Please, feel free to translate the things that are not in English and that you don't understand with Google Translator.

Hope you can fix this (or help me fix this).

If you need additional information/help, please, feel free to ask me/feel free to do so.

Thank you.

kubulo commented

在设置里设置了Syncthing的路径后,SyncTrayzor打开报警,无法打开,提示信息如下:

Version: 1.1.29.0; Variant: Installed; Arch: Amd64
Path: D:\Softs\SyncTrayzorPortable-x64\SyncTrayzor.exe
System.UnauthorizedAccessException: 拒绝访问。

在 Pri.LongPath.File.Copy(String sourcePath, String destinationPath, Boolean overwrite)
在 SyncTrayzor.Services.FilesystemProvider.Copy(String from, String to)
在 SyncTrayzor.Services.Config.ConfigurationProvider.Initialize(Configuration defaultConfiguration)
在 SyncTrayzor.Bootstrapper.Configure()
在 Stylet.BootstrapperBase.Start(String[] args)
在 System.Windows.Application.OnStartup(StartupEventArgs e)
在 System.Windows.Application.<.ctor>b__1_0(Object unused)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

我应该怎么做?
Snipaste_2023-12-13_02-31-48