checkbox-editor in trunk crashes when run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Editor |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Summary:
checkbox-editor in trunk crashes when run
Steps:
1. use bzr to download http://
2. build latest checkbox editor (dpkg-buildpackage -rfakeroot -uc -us)
3. install .deb built in step 2 with dpkg -i
Expected results:
checkbox-editor runs
Actual results:
checkbox-editor crashes
Addition information:
Traceback (most recent call last):
The stderr output is:
File "/usr/bin/
from checkbox_
File "/usr/lib/
from .about import AboutDialog
File "/usr/lib/
from . import build
ImportError: cannot import name build
@Chris
Sorry for taking so long to answer this.
The problem is that checkbox-editor uses a packager template to generate have the version number, revision, etc. available in a python module that can be used, for example, to display that information in the `Help -> About` menu. When the checkbox-editor branch is created, that template (checkbox- editor/ build.py. mako) hasn't been yet rendered and the python module isn't available.
To fix that you can run: checkbox_ editor/ build.py. mako
$ packager render
. render:
after that, you'll see that checkbox_ editor/ build.py is available and that you can launch checkbox-editor from the branch as follows: editor
$ PYTHONPATH=. ./bin/checkbox-