Error with remote part depending on another remote part
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapcraft (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
The webapp-helper part defined in the wiki, as you can see from its definition [1], is meant to be built after the 'desktop-
But when I run snapcraft on my project [2], all I get is an unhelpful red single line:
'desktop-
on the standard error. When run with --debug, I the stacktrace shows that somehow snapcraft has not added the 'desktop-
=============
Setting up part 'webapp-helper' with plugin 'dump' and properties {'stage': [], 'source': 'https:/
Setting up part 'webapp-container' with plugin 'dump' and properties {'source': 'snap', 'stage': [], 'snap': [], 'plugin': 'dump'}.
Traceback (most recent call last):
File "/usr/bin/
snapcraft.
File "/usr/lib/
return run(args, project_options)
File "/usr/lib/
lifecycle.
File "/usr/lib/
snap = execute('prime', project_options)
File "/usr/lib/
_Executor(
File "/usr/lib/
self.
File "/usr/lib/
unstaged_
File "/usr/lib/
if 'stage' not in self._steps_run[p]}
KeyError: 'desktop-
=============
[1]: https:/
[2]: https:/
I haven't tested it thoroughly, but this seems to be a workaround:
http:// bazaar. launchpad. net/~mardy/ webapps- core/amazon- snap/revision/ 148
Another unexpected thing is that if I invert the order of the parts in the "after:" list, the build will fail.