warn: Lagrange.OneBot.Core.Operation.OperationService[0]
Unexpected error encountered while handling message.
System.IO.DirectoryNotFoundException: Could not find a part of the path ‘/koishi/data/assets/1160abd1755e9de793f2f1f962a2255a1741654d-download?appid=1407&fileid=EhQRYKvRdV6d55Py8flioiVaF0FlTRiZ_mYg_woot8zP3cuOiwMyBHByb2RQgL2jAVoQnH0CJO9gN5MK5FTGUGBUyA&rkey=CAQSKBKw4gQGr0AbcJNBMxuQunGuvxcwiI1SUP5cchDrxA3jqcmCX8ATWlM’.
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func
4 createOpenException)
at System.IO.Strategies.OSFileStreamStrategy…ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lagrange.OneBot.Message.Entity.CommonResolver.ResolveStream(String url) at Lagrange.OneBot.Message.Entity.ImageSegment.Build(MessageBuilder builder, SegmentBase segment) at Lagrange.OneBot.Core.Operation.Message.MessageCommon.BuildMessages(MessageBuilder builder, List
1 segments)
at Lagrange.OneBot.Core.Operation.Message.MessageCommon.ParseChain(OneBotGroupMessage message)
at Lagrange.OneBot.Core.Operation.Message.SendGroupMessageOperation.HandleOperation(BotContext context, JsonNode payload)
at Lagrange.OneBot.Core.Operation.OperationService.HandleOperation(MsgRecvEventArgs e)
2 个赞
检查你的图片URL,对于Lagrange.OneBot
是否可以访问
1 个赞