client installer attempts bootstrap, and fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LoCoRST |
Fix Released
|
High
|
Martin Owens |
Bug Description
Hey doctormo,
I've located the bug. Your MANIFEST is fine, and so is your setup().
The problem takes place when you bootstrap Alleviate.client in order to acquire the version information:
from Alleviate.client import __version__
This statement initializes the Alleviate.client package before it is actually installed, hence me coining the term "bootstrap".
In Alleviate.
if not os.path.
shutil.
So, when this line can't find the default config file to copy, its because none of the files have been installed yet. setup() has not been called yet.
So, I think you have two options, either find a way to avoid initializing the Alleviate.client package, and thus avoid bootstrapping, or make that line work in the "bootstrap mode"
Changed in locoremotesupport: | |
status: | Fix Committed → Fix Released |
I decided that during this bootstrap mode the error is because the source conf file doesn't exist. checking for it's existence is enough to prevent execution.