← Back to issue list

Relative path base poorly documented

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1808896
Type
issue
State
open
Author
~racb
Labels
Created
2018-12-18 01:53:10.038410+00:00
Updated
2019-02-07 22:44:49.815032+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

https://docs.snapcraft.io/the-python-plugin/8529 says "Path to a requirements.txt file". Relative to what? I'm getting: Failed to find the referred requirements file at the given path: 'requirements.txt'. Check the property and ensure the file exists. This is unhelpful because it isn't telling me where it's looking, requiring me to guess by trying various base paths. To fix this, please: 1. Document what the path should be relative to. 2. Arrange for the error message to tell me where it actually looked. This is particularly important for snapcraft, IMHO, as depending on what's going on various different base paths are used. This was with snapcraft 2.43.1 on Xenial.

Evaluation history

No evaluation history available.