[go: nahoru, domu]

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

Bug #1606819 reported by Zygmunt Krynicki
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
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)
description: updated
Leo Arias (elopio)
Changed in snapcraft:
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → Triaged
Leo Arias (elopio)
tags: added: bitesize custom-plugin ui
Revision history for this message
Dhruv Sharma (drakmyntrix) wrote :

Where is the .py file currently placed?

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.