Skip to content

[starIdentifier] manifest exec path references non-existent py_plugins/ subdirectory #716

@Mavrx-Operations

Description

@Mavrx-Operations

Plugin

plugins/starIdentifier — manifest star_identifier.yml

Bug

The manifest's exec: block points at {pluginDir}/py_plugins/star_identifier.py, but the plugin has no py_plugins/ subdirectory — star_identifier.py lives at the plugin root alongside the other source files.

exec:
  - python
  - "{pluginDir}/py_plugins/star_identifier.py"   # ← path does not exist

When any of the three tasks (Export Performers, Identify Images, Identify Scene Screenshots) is triggered, Stash invokes Python on the non-existent path. The process exits in milliseconds with No such file or directory, the task appears to "complete instantly" in the UI, and users get no actionable feedback unless they inspect the Stash core log.

Stash log signature

ERRO [Plugin / Star Identifier] /usr/bin/python3: can't open file
'/root/.stash/plugins/community/star_identifier/py_plugins/star_identifier.py':
[Errno 2] No such file or directory

Repro

  1. Install Star Identifier (current version, 1.0).
  2. Settings → Plugins → run any of the three tasks.
  3. Task "completes" in well under a second with no output.

Suggested fix

Either move the Python sources under a py_plugins/ subdirectory, or update the manifest to reference the actual location:

 exec:
   - python
-  - "{pluginDir}/py_plugins/star_identifier.py"
+  - "{pluginDir}/star_identifier.py"

Verified locally — after this one-line change, the plugin starts and Export Performers proceeds normally, modulo a separate auth issue filed as a sibling bug.

Environment

  • Stash v0.31.1 (4de2351e)
  • Container: stashapp/stash:latest (Alpine, Python 3.12.13)
  • Plugin version: 1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions