Error message in deploy.sh #49330

Closed
opened 2016-09-12 18:06:53 +02:00 by Francesco Siddi · 8 comments

When running deploy.sh we get:

Pillar not found on Python path. Are you in the correct venv?

Is there away to avoid the error? What could the cause be?

When running `deploy.sh` we get: ``` Pillar not found on Python path. Are you in the correct venv? ``` Is there away to avoid the error? What could the cause be?
Sybren A. Stüvel was assigned by Francesco Siddi 2016-09-12 18:06:53 +02:00

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @fsiddi

Added subscriber: @fsiddi

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Seems to be a duplicate of archive/pillar#49258. Deploy of Blender Cloud needs a properly set up virtualenv, and needs to be able to import pillar.

Seems to be a duplicate of archive/pillar#49258. Deploy of Blender Cloud needs a properly set up virtualenv, and needs to be able to `import pillar`.

Thanks for the clarification!

This means that in order to push to production, a developer must have the virtual environment installed (which is not always the case). I propose to have an env var check as fallback for that case.

Thanks for the clarification! This means that in order to push to production, a developer must have the virtual environment installed (which is not always the case). I propose to have an env var check as fallback for that case.

I can wholeheartedly recommend any Python developer to work from a virtualenv. In which case don't we use one?

I can wholeheartedly recommend any Python developer to work from a virtualenv. In which case don't we use one?

For example, someone might be running everything in Docker (in dev mode). So he has no local dev env configured installed. In that case I think a fallback option would be nice.

For example, someone might be running everything in Docker (in dev mode). So he has no local dev env configured installed. In that case I think a fallback option would be nice.

To close this, I'm fine with an env var PILLAR_DIR as fallback/override, as long as the virtualenv also keeps working.

To close this, I'm fine with an env var `PILLAR_DIR` as fallback/override, as long as the virtualenv also keeps working.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: archive/blender-cloud#49330
No description provided.