jxxghp / MoviePilot

NAS媒体库自动化管理工具
https://wiki.movie-pilot.org
GNU General Public License v3.0
6.77k stars 809 forks source link

[错误报告]: 使用目录同步插件进行整理时,不开启自动分类的情况下,会通知报错 #2292

Open xiaobaiwaf opened 5 months ago

xiaobaiwaf commented 5 months ago

确认

当前程序版本

v1.9.4

运行环境

Docker

问题类型

主程序运行问题

问题描述

image image 图1画线处,我没有开启自动分类,系统通知就会有图2的错误,实际并没有问题,是不是可以优化一下这个通知

发生问题时系统日志和配置文件

No response

jxxghp commented 5 months ago

提供一下日志

xiaobaiwaf commented 5 months ago

我在mp日志和目录同步日志里没看到相关信息......

xiaobaiwaf commented 5 months ago

佬,这个是不是分类的问题啊,但实际情况是整理成功了,我是rclone网盘挂载,然后直接移动进去

jxxghp commented 5 months ago

没有日志,看不出来问题在哪里。 另外,用的是哪个源的目录监控插件?

xiaobaiwaf commented 5 months ago

官方插件的,找到日志了 2024-06-14T01:58:15.699904358Z INFO: filetransfer - 获取转移目标路径:/media3/国产剧 2024-06-14T01:58:15.705307189Z INFO: filetransfer - 正在转移文件:/downloads/下载目录/3国产剧/显微镜下的大明之丝绢案.Under.the.Microscope.S01.2023.IQ.2160p.WEB-DL.H265.AAC-HHWEB/Under.the.Microscope.S01E09.2023.IQ.2160p.WEB-DL.H265.AAC-HHWEB.mp4 到 /media3/国产剧/显微镜下的大明之丝绢案(2023)[tmdbid=139169]/Season1/S01E09 - 2160p - WEB-DL - IQ - HHWEB.mp4 2024-06-14T01:58:16.274941156Z INFO: 74.48.85.59:0 - "GET /api/v1/plugin/dashboard/DouBanWatching HTTP/1.1" 200 OK 2024-06-14T01:58:16.446640317Z ERROR: chain - 运行模块 EmbyModule.media_exists 出错:'dict' object has no attribute 'type' 2024-06-14T01:58:16.446666587Z Traceback (most recent call last): 2024-06-14T01:58:16.446670004Z File "/app/app/chain/init.py", line 107, in run_module 2024-06-14T01:58:16.446673170Z result = func(*args, *kwargs) 2024-06-14T01:58:16.446676105Z ^^^^^^^^^^^^^^^^^^^^^ 2024-06-14T01:58:16.446679262Z File "/app/app/modules/emby/init.py", line 72, in media_exists 2024-06-14T01:58:16.446682388Z if mediainfo.type == MediaType.MOVIE: 2024-06-14T01:58:16.446685334Z ^^^^^^^^^^^^^^ 2024-06-14T01:58:16.446688209Z AttributeError: 'dict' object has no attribute 'type' 2024-06-14T01:58:16.446691094Z 2024-06-14T01:58:16.456877976Z INFO: command.py - 处理事件:system.error - [] 2024-06-14T01:58:16.458133751Z ERROR: chain - 运行模块 FileTransferModule.media_exists 出错:'dict' object has no attribute 'type' 2024-06-14T01:58:16.458165612Z Traceback (most recent call last): 2024-06-14T01:58:16.458170762Z File "/app/app/chain/init.py", line 107, in run_module 2024-06-14T01:58:16.458175081Z result = func(args, **kwargs) 2024-06-14T01:58:16.458179098Z ^^^^^^^^^^^^^^^^^^^^^ 2024-06-14T01:58:16.458183106Z File "/app/app/modules/filetransfer/init.py", line 720, in media_exists 2024-06-14T01:58:16.458187384Z if mediainfo.type == MediaType.TV else settings.MOVIE_RENAME_FORMAT 2024-06-14T01:58:16.458191451Z ^^^^^^^^^^^^^^ 2024-06-14T01:58:16.458195610Z AttributeError: 'dict' object has no attribute 'type' 2024-06-14T01:58:16.458199748Z 2024-06-14T01:58:16.461271736Z INFO: command.py - 处理事件:system.error - [] 2024-06-14T01:58:18.556602023Z INFO: 74.48.85.59:0 - "GET /api/v1/dashboard/downloader HTTP/1.1" 200 OK 2024-06-14T01:58:22.227437572Z INFO: 74.48.85.59:0 - "GET /api/v1/dashboard/downloader HTTP/1.1" 200 OK

behinder85 commented 4 months ago

没有日志,看不出来问题在哪里。 另外,用的是哪个源的目录监控插件?

J大,想问问这个bug解决了么,我这边也出现了这个问题 image

插件版本V1.0 MP版本V1.9.6 会不会是因为使用了thsrite大佬的目录监控插件呀 image

xiaobaiwaf commented 4 months ago

应该不是插件的问题吧,我用的官方的目录监控

behinder85 commented 4 months ago

应该不是插件的问题吧,我用的官方的目录监控

是的,我更换到官方的也报错

behinder85 commented 4 months ago

最新反馈 更新到V1.9.7暂无此类错误