← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1359410] [NEW] Puredata UI not loading, if .config-file cannot be read

 

Public bug reported:

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://sourceforge.net/p/pure-data/bugs/1147/


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.

** Affects: puredata (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ui

** Patch added: "pd_sudo_startup.patch"
   https://bugs.launchpad.net/bugs/1359410/+attachment/4182802/+files/pd_sudo_startup.patch

** Tags added: ui

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to puredata in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1359410

Title:
  Puredata UI not loading, if .config-file cannot be read

Status in “puredata” package in Ubuntu:
  New

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://sourceforge.net/p/pure-data/bugs/1147/

  
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puredata/+bug/1359410/+subscriptions


Follow ups

References