Skip to content

🪲[DupFileManager] error upon creating Duplicate-File Report #28

@small-luck2367

Description

@small-luck2367

Please enter steps to reproduce the behavior.

  1. Install DupFileManager from Stash settings. This version is 1.0.0. The plugin is installed at /plugins/community/DupFileManager
  2. Delete the files and replace with 1.1.5 from this repo.
  3. Run "Create Duplicate-File Report with Tagging"
  4. Note that no files are tagged. Go to the Logs page of Stash settings to see the error logs:
2026-01-04 18:06:48
Error   
runPluginOperation: input: runPluginOperation exit status 1
2026-01-04 18:06:48
Error   
[Plugin / DupFileManager] AttributeError: 'int' object has no attribute 'startswith'
2026-01-04 18:06:48
Error   
[Plugin / DupFileManager]        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-01-04 18:06:48
Error   
[Plugin / DupFileManager]     if stash.JSON_INPUT['args']['Target'].startswith("0"):
2026-01-04 18:06:48
Error   
[Plugin / DupFileManager]   File "/root/.stash/plugins/community/DupFileManager/DupFileManager.py", line 184, in <module>
2026-01-04 18:06:48
Error   
[Plugin / DupFileManager] Traceback (most recent call last):

Stash Version (from Settings -> About)

v0.30.1

Plugin Version

1.1.5

What Operating System (OS)?

Unraid Docker Container

What browser and version?

Arc 1.126.1 (72660) - Chromium Engine Version 143.0.7499.170

Phone or tablets (if applicable)

No response

The pip install for the plugin

docker exec -u 0 Stash python3 -m pip install --upgrade stashapp-tools requests Send2Trash --break-system-packages

Expected Behavior

No response

Logging

[260104 18:06:44] [LN:103] INF: '******************* Starting   ******************* json=True'
[260104 18:06:44] [LN:107] DBG: "No command line arguments. JSON_INPUT['args'] = {'Target': 0, 'mode': 'getLocalDupReportPath'}; PLUGIN_TASK_NAME = getLocalDupReportPath; argv = ['/root/.stash/plugins/community/DupFileManager/DupFileManager.py']"
[260104 18:06:44] [LN:108] DBG: 'StashPluginHelper Status: (CALLED_AS_STASH_PLUGIN=True), (RUNNING_IN_COMMAND_LINE_MODE=False), (DEBUG_TRACING=True), (DRY_RUN=False), (PLUGIN_ID=DupFileManager), (PLUGIN_TASK_NAME=getLocalDupReportPath), (STASH_URL=http://localhost:46969), (MAIN_SCRIPT_NAME=/root/.stash/plugins/community/DupFileManager/DupFileManager.py)'
[260104 18:06:44] http://127.0.0.1:46969 "POST /graphql HTTP/1.1" 200 552
[260104 18:06:44] [LN:276] TRACE: 'Added underscore to DuplicateMarkForDeletion = _DuplicateMarkForDeletion'
[260104 18:06:44] [LN:296] TRACE: 'graylist = []'
[260104 18:06:44] [LN:300] TRACE: 'whitelist = []'
[260104 18:06:44] [LN:307] TRACE: 'pinklist = []'
[260104 18:06:44] [LN:1789] INF: "Sending json value {'LocalDupReportExist' : false, 'Path': '/root/.stash/plugins/community/DupFileManager/report/DuplicateTagScenes.html', 'LocalDir': '/root/.stash/plugins/community/DupFileManager/report', 'ReportUrlDir': 'file:///root/.stash/plugins/community/DupFileManager/report', 'ReportUrl': 'file:///root/.stash/plugins/community/DupFileManager/report/DuplicateTagScenes.html', 'AdvMenuUrl': 'file:///root/.stash/plugins/DupFileManager/advance_options.html', 'IS_DOCKER': 'True', 'remoteReportDirURL': 'https://stash.axter.com/1.1/' , 'apiKey':''}"
[260104 18:06:44] [LN:2262] DBG: 'getLocalDupReportPath EXIT'
[260104 18:06:44] [LN:2312] INF: '\n*********************************\nEXITING   ***********************\n*********************************'
[260104 18:06:48] [LN:103] INF: '******************* Starting   ******************* json=True'
[260104 18:06:48] [LN:107] DBG: "No command line arguments. JSON_INPUT['args'] = {'Target': 0, 'mode': 'tag_duplicates_task'}; PLUGIN_TASK_NAME = tag_duplicates_task; argv = ['/root/.stash/plugins/community/DupFileManager/DupFileManager.py']"
[260104 18:06:48] [LN:108] DBG: 'StashPluginHelper Status: (CALLED_AS_STASH_PLUGIN=True), (RUNNING_IN_COMMAND_LINE_MODE=False), (DEBUG_TRACING=True), (DRY_RUN=False), (PLUGIN_ID=DupFileManager), (PLUGIN_TASK_NAME=tag_duplicates_task), (STASH_URL=http://localhost:46969), (MAIN_SCRIPT_NAME=/root/.stash/plugins/community/DupFileManager/DupFileManager.py)'
[260104 18:06:48] [LN:103] INF: '******************* Starting   ******************* json=True'
[260104 18:06:48] [LN:107] DBG: "No command line arguments. JSON_INPUT['args'] = {'Target': 0, 'mode': 'getLocalDupReportPath'}; PLUGIN_TASK_NAME = getLocalDupReportPath; argv = ['/root/.stash/plugins/community/DupFileManager/DupFileManager.py']"
[260104 18:06:48] [LN:108] DBG: 'StashPluginHelper Status: (CALLED_AS_STASH_PLUGIN=True), (RUNNING_IN_COMMAND_LINE_MODE=False), (DEBUG_TRACING=True), (DRY_RUN=False), (PLUGIN_ID=DupFileManager), (PLUGIN_TASK_NAME=getLocalDupReportPath), (STASH_URL=http://localhost:46969), (MAIN_SCRIPT_NAME=/root/.stash/plugins/community/DupFileManager/DupFileManager.py)'
[260104 18:06:48] http://127.0.0.1:46969 "POST /graphql HTTP/1.1" 200 552
[260104 18:06:48] [LN:276] TRACE: 'Added underscore to DuplicateMarkForDeletion = _DuplicateMarkForDeletion'
[260104 18:06:48] [LN:296] TRACE: 'graylist = []'
[260104 18:06:48] [LN:300] TRACE: 'whitelist = []'
[260104 18:06:48] [LN:307] TRACE: 'pinklist = []'
[260104 18:06:48] [LN:1789] INF: "Sending json value {'LocalDupReportExist' : false, 'Path': '/root/.stash/plugins/community/DupFileManager/report/DuplicateTagScenes.html', 'LocalDir': '/root/.stash/plugins/community/DupFileManager/report', 'ReportUrlDir': 'file:///root/.stash/plugins/community/DupFileManager/report', 'ReportUrl': 'file:///root/.stash/plugins/community/DupFileManager/report/DuplicateTagScenes.html', 'AdvMenuUrl': 'file:///root/.stash/plugins/DupFileManager/advance_options.html', 'IS_DOCKER': 'True', 'remoteReportDirURL': 'https://stash.axter.com/1.1/' , 'apiKey':''}"
[260104 18:06:48] [LN:2262] DBG: 'getLocalDupReportPath EXIT'
[260104 18:06:48] [LN:2312] INF: '\n*********************************\nEXITING   ***********************\n*********************************'

Snapshot(s)

No response

Additional context

DupFileManager 1.1.6 beta also returns this error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions