Puredata UI not loading, if .config-file cannot be read
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puredata (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
pd is not starting the UI, if started via "sudo -u XX puredata".
The problem seems to be that puredata tries to read configuration files from HOME/, which are then not accessible and thus startup stops.
What works is:
sudo -u XX bash
export HOME=/tmp
puredata
Sound devices are opened in both cases.
System:
Pd-0.45.4 ("") compiled 17:28:13 Dec 11 2013
Ubuntu 14.04 64bit
* Linux x201 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Bug and patch was submitted to upstream, but nothing happened.
http://
Details
====
PD does not check during loading the configuration, if the configuration file can be opened (.config/puredata).
If the file permissions do not allow to read the folder an exception is thrown, but not catched/reported by PD - and since the UI thread fails the UI is not loaded properly then.
The attachment "pd_sudo_ startup. patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]