Applications does not work installed in non-default directories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Accomplishments Daemon |
Fix Released
|
Wishlist
|
Rafał Cieślak | ||
Ubuntu Accomplishments Viewer |
Fix Released
|
Wishlist
|
Rafał Cieślak |
Bug Description
Although my deamon works great if run from source or installed to /usr, it crashes if I run it installed in any other path.
There are two problems I have noticed:
- paths in accomplishments
- probably the pythonpath maybe set incorrectly, when I have installed the daemon to /opt/accomplish
Specifically, I would love to be able to install the daemon to /opt/accomplish
Of course solving this bug will also fix several potentially possible problems with packaging.
Also, having the application recognize it's prefix, allows to install multiple versions of daemon on the same system without conflicts.
Related branches
- Jono Bacon: Pending requested
-
Diff: 164 lines (+77/-26)5 files modifiedaccomplishments/daemon/api.py (+8/-3)
accomplishments/util/__init__.py (+3/-0)
accomplishments/util/paths.py (+44/-15)
bin/accomplishments-daemon (+11/-4)
bin/accomplishments-daemon-fg (+11/-4)
- Jono Bacon: Pending requested
-
Diff: 29 lines (+12/-0)1 file modifiedbin/accomplishments-viewer (+12/-0)
description: | updated |
summary: |
- Deamon does not work installed in non-default directories + Applications does not work installed in non-default directories |
Changed in ubuntu-accomplishments-daemon: | |
assignee: | nobody → Rafal Cieślak (rafalcieslak256) |
Changed in ubuntu-accomplishments-viewer: | |
assignee: | nobody → Rafal Cieślak (rafalcieslak256) |
Changed in ubuntu-accomplishments-daemon: | |
status: | New → In Progress |
Changed in ubuntu-accomplishments-viewer: | |
status: | New → In Progress |
Changed in ubuntu-accomplishments-daemon: | |
milestone: | none → 0.1 |
Changed in ubuntu-accomplishments-viewer: | |
milestone: | none → 0.1 |
Changed in ubuntu-accomplishments-daemon: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-accomplishments-viewer: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-accomplishments-daemon: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-accomplishments-viewer: | |
status: | Fix Committed → Fix Released |
The same problem affects the viewer.