FS#49661 - [pd] pd-gui.tcl fails to find pd tcl packages

Attached to Project: Community Packages
Opened by Jakob Gahde (J5lx) - Saturday, 11 June 2016, 08:47 GMT
Last edited by David Runge (dvzrv) - Monday, 04 December 2017, 22:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Package version: 0.46.7-1

Steps to reproduce:

Run pd-gui.tcl (located in /usr/bin) from a terminal. It will exit with the following error message:

Error in startup script: can't find package pd_connect
while executing
"package require pd_connect"
(file "/usr/bin/pd-gui.tcl" line 26)

Apparently this happens because pd-gui.tcl expects the pd tcl packages to be located in the same directory (i.e. /usr/bin in this case), while they are actually located in /usr/lib/pd/tcl. When launching /usr/lib/pd/tcl/pd-gui.tcl directly, it works just fine. Therefore it should be possible to solve this issue by making the file in /usr/bin a launcher script for the actual program in /usr/lib/pd/tcl instead of a copy.
This task depends upon

Closed by  David Runge (dvzrv)
Monday, 04 December 2017, 22:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in pd 0.48.0
Comment by David Runge (dvzrv) - Monday, 04 December 2017, 22:29 GMT
This seems fixed in 0.48.0.
Sorry this never got worked on.

Loading...