snapcraft doesn't tell me where to put the .py file for my custom plugin

Bug #1606819 reported by Zygmunt Krynicki on 2016-07-27
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snapcraft
Medium
Unassigned

Bug Description

I'm writing a new plugin and the error message I get when the Python file is not in the right location (which I still don't know at this stage) is not very useful:

$ snapcraft
Searching for local plugin for custom
Issue while loading plugin: unknown plugin: custom

EDIT:

In the end the plugin has to be in "parts/plugins/x_foo.py" and the syntax in snapcraft yams has to bee "plugin: x-foo"

Zygmunt Krynicki (zyga) on 2016-07-27
description: updated
Leo Arias (elopio) on 2016-08-02
Changed in snapcraft:
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → Triaged
Leo Arias (elopio) on 2017-03-19
tags: added: bitesize custom-plugin ui
Dhruv Sharma (drakmyntrix) wrote :

Where is the .py file currently placed?

Kyle Fazzari (kyrofa) wrote :

In snap/plugins. Otherwise, the format is the same.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers