Bug#635290: puredata-gui needs tcllib for base64

2011-07-25 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-07-24 19:42, Robin Gareus wrote:
 
 Everytime I opened Pd I got an error message that base64 missing. 
 Pd worked fine nevertheless except for the fact that
 it stopped after the error and did not load patches
 if they're specified at the commandline (e.g. `pd test.pd`).
 I need to use the menu File-Open.

hi robin,

thanks for your bugreport.

unfortunately i cannot reprodude the problem as you describe it (that
is: after uninstalling tcllib, i still don't get any error).

puredata has no direct dependency on the base64 tclpackage; however it
does use msgcat, which might pull in the problem described.

since the problem really only applies to puredata-gui, it would be
nice to provide more information (dependencies!) for puredata-gui.
(e.g. installed versions of tcl  tk)

also, does the error message allow to backtrace the problem, so we can
find out where exactly the problem occurs?


apart from that, some random nobrainers:

- - are you sure that you don't have another pd installed in your path?
i'd suggest using puredata to start pd, as pd might be diverted to
e.g. pd-extended.

- - do you have any externals and/or (more important) gui-plugins
installed, that might require base64?

cheers
fgam,sdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4tIcwACgkQkX2Xpv6ydvQ5/wCg3aTjheXUNlmLbvQzAjYNccVD
bFAAoJjU1Iu5XtcQS/0EF3uUqdBjCbSS
=T3I6
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature


Bug#635290: puredata-gui needs tcllib for base64

2011-07-25 Thread Robin Gareus
On 07/25/2011 09:57 AM, IOhannes m zmoelnig wrote:
 On 2011-07-24 19:42, Robin Gareus wrote:
 
 Everytime I opened Pd I got an error message that base64 missing. 
 Pd worked fine nevertheless except for the fact that
 it stopped after the error and did not load patches
 if they're specified at the commandline (e.g. `pd test.pd`).
 I need to use the menu File-Open.
 
 hi robin,
 
 thanks for your bugreport.

Hi IOhannes,
Thanks for the quick reply.

 unfortunately i cannot reprodude the problem as you describe it (that
 is: after uninstalling tcllib, i still don't get any error).

I can reproduce it: uninstalled libtcl:
  ...
  (Tcl) UNHANDLED ERROR: can't find package base64
while executing
  package require base64
(uplevel body line 103)
invoked from within
  uplevel #0 $cmd_from_pd


The full log is attached (BTW. the GEM package does also not depend on
the right libav* version as well - I got libavcodec.so.52 - while GEM is
compiled against libavcodec.so.51, weird: shlibdeps should figure that).
Shall I file a new bug report for this, or can you take it from here?

 puredata has no direct dependency on the base64 tclpackage; however it
 does use msgcat, which might pull in the problem described.
 
 since the problem really only applies to puredata-gui, it would be
 nice to provide more information (dependencies!) for puredata-gui.
 (e.g. installed versions of tcl  tk)

Versions of packages puredata-gui depends on:
ii  tcl8.3 [tclsh]   8.3.5-14   Tcl (the Tool Command Language) v8
ii  tcl8.4 [tclsh]   8.4.19-4   Tcl (the Tool Command Language) v8
ii  tcl8.5 [tclsh]   8.5.10-1   Tcl (the Tool Command Language) v8
ii  tk   8.5.0-2The Tk toolkit for Tcl and X11 (de

Versions of packages puredata-gui recommends:
ii  puredata 0.43.0-4   realtime computer music and graphi

some 'ls -l'
  /usr/bin/tclsh - /etc/alternatives/tclsh
  /etc/alternatives/tclsh - /usr/bin/tclsh-default
  /usr/bin/tclsh-default - tclsh8.5

 also, does the error message allow to backtrace the problem, so we can
 find out where exactly the problem occurs?

the message itself - I can not read much into it. Maybe it is PiDiP
which is loaded just before it. But PiDiP works just fine.

There's no 'puredata-dbg' but if necessary I could get the source and
run it with some breakpoint in gdb. or probably easier: add some 'puts'
into tcl/tk.. Any hints where?

 apart from that, some random nobrainers:
 
 - are you sure that you don't have another pd installed in your path?
 i'd suggest using puredata to start pd, as pd might be diverted to
 e.g. pd-extended.

nice try, but no:

#ls -l /etc/alternatives/pd
lrwxrwxrwx 1 root root 17 May 26 20:36 /etc/alternatives/pd -
/usr/bin/puredata

# apt-file search /usr/bin/puredata
puredata: /usr/bin/puredata

 - do you have any externals and/or (more important) gui-plugins
 installed, that might require base64?

I've removed my .pdrc and set `sudo chmod 0 /usr/local/lib/pd`. Now all
remains are official debianized externals. The error still remains.

# dpkg -l | grep  pd-

ii  pd-aubio  0.3.2-4.2   aubio external for PureData
ii  pd-bsaylor0.1-2   a library of FFT-based Pd ob...
ii  pd-comport0.1-3   Pd object for reading and wr...
ii  pd-csound 1:5.13.0~dfsg-3.1   Csound external for PureData
ii  pd-cyclone0.1~alpha55-2   a Pd library of clones of Ma...
ii  pd-ekext  0.1.1-2 Pd objects for music informa...
ii  pd-freeverb   1.2-3   studio-quality Schroeder/Moo...
ii  pd-ggee   0.26-1  a Pd library of GUI controls...
ii  pd-hid0.7-1   Pd object for getting data f...
ii  pd-libdir 1.9-2   provides support for the lib...
ii  pd-mapping0.2-1   a Pd library for creatively ...
ii  pd-maxlib 1.5.3-2 Pd library for analysing mus...
ii  pd-moonlib0.2-2   library of Pd objects relate...
ii  pd-pddp   0.1-1   a support library for the Pu...
ii  pd-pdp1:0.12.5-1  Graphics system for Pd
ii  pd-purepd 0.1.1-1 a library of standard object...
ii  pd-smlib  0.12.1-2Pd library for mapping DSP d...
ii  pd-wiimote0.3.2-1 A Pd external for accessing ...
ii  pd-zexy   2.2.3-2 General Purpose addon librar...

I'll check later to remove and re-install those. I gotta go now.

 cheers
 fgam,sdr

freundliche gruesse aus mogadischu, sonne den r?

 IOhannes

Cheers!
robin
PDP: pure data packet version 0.12.5
warning: class 'pdp_t' overwritten\; old one renamed 'pdp_t_aliased'

	
	@ the zexy external  2.2.3 @
	@ (l)  forum::für::umläute @
	@   iem   @  kug   @
	@  compiled:  Nov  9 2010  @
	@ send me a 'help' message @
	

warning: class 'abs~' overwritten\; old one renamed 'abs~_aliased'
matchbox: OSC-pattern matching code (c) Matt Wright, 

Bug#635290: puredata-gui needs tcllib for base64

2011-07-25 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-07-25 13:49, Robin Gareus wrote:
 
 I can reproduce it: uninstalled libtcl:
   ...
   (Tcl) UNHANDLED ERROR: can't find package base64
 while executing
   package require base64
 (uplevel body line 103)
 invoked from within
   uplevel #0 $cmd_from_pd

[...]

 the message itself - I can not read much into it. Maybe it is PiDiP
 which is loaded just before it. But PiDiP works just fine.

indeed this is most likely the culprit.
pidip requires base64 for the pdp_colorgrid object, and issues a
package require base64.
i guess that you haven't tested the pdp_colorgrid object when confirming
the that PiDiP works just fine.

please confirm that removing pidip from the loaded libraries indeed
fixes the problem.

ghmasdr
IOhannes

PS: btw, a simple way to disable your preferences is by starting Pd with
the -noprefs flag

PPS: Pd nowadays stores it's settings in ~/.pdsettings and falls back to
~/.pdrc; i guess that you still have plenty of configuration in the former.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4tW3EACgkQkX2Xpv6ydvTbpwCgt5LMMUkm7oR7QsQ0dBOTcO/h
f0MAnRkujtuJuCYS5ShGafLrWehZDhJ7
=KO+b
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature


Bug#635290: puredata-gui needs tcllib for base64

2011-07-25 Thread Robin Gareus
On 07/25/2011 02:03 PM, IOhannes m zmoelnig wrote:
 [...]
 
 the message itself - I can not read much into it. Maybe it is PiDiP
 which is loaded just before it. But PiDiP works just fine.
 
 indeed this is most likely the culprit.
 pidip requires base64 for the pdp_colorgrid object, and issues a
 package require base64.
 i guess that you haven't tested the pdp_colorgrid object when confirming
 the that PiDiP works just fine.

Wow, you're quick: It does indeed. - no no use for pdp_colorgrid here so
far.

I take it, you and/or Paul still maintaing pd-pdp, so I don't need to
file a new bugreport against it, right?

 please confirm that removing pidip from the loaded libraries indeed
 fixes the problem.

`dpkg -r pd-pdp` solves the problem. `apt-get install pd-pdp` makes it
re-appear.

 ghmasdr
Grusse herzlichst mit ausserordenlich saftigen dankes r?

robin



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#635290: puredata-gui needs tcllib for base64

2011-07-25 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-07-25 14:59, IOhannes m zmoelnig wrote:
 `dpkg -r pd-pdp` solves the problem. `apt-get install pd-pdp` makes it
 re-appear.

it seems like you have PiDiP installed somewhere on your disk.
afaik, PiDiP is not in debian.

uninstalling pd-pdp will also disable pidip, since pidip depends on pdp.

since the bug is triggered by an external not in debian, i think we
cannot do much about it.
can i therefore close this bug as illegal?


mgasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4ta84ACgkQkX2Xpv6ydvTp9gCguwGhqfElD4PzdekqvYnkgnPf
JyEAn0VOTKsYrLrULgqiBsd1MrJ6ITPp
=kcQl
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature


Bug#635290: puredata-gui needs tcllib for base64

2011-07-25 Thread Robin Gareus
On 07/25/2011 03:12 PM, IOhannes m zmoelnig wrote:
 On 2011-07-25 14:59, IOhannes m zmoelnig wrote:
 `dpkg -r pd-pdp` solves the problem. `apt-get install pd-pdp` makes it
 re-appear.
 
 it seems like you have PiDiP installed somewhere on your disk.
 afaik, PiDiP is not in debian.

 uninstalling pd-pdp will also disable pidip, since pidip depends on pdp.

Oh right. that explains it then.

 since the bug is triggered by an external not in debian, i think we
 cannot do much about it.
 can i therefore close this bug as illegal?

OK.

What about the gem/libavcodec issue. Shall I file a new bug-report for
that for package 'gem'?

http://packages.debian.org/sid/gem - it does not depend on libavcodec
but Pd log says:

  /usr/lib/pd/extra/Gem/Gem.pd_linux: libavcodec.so.51: cannot open
  shared object file: No such file or directory

# ldd /usr/lib/pd/extra/Gem/Gem.pd_linux | grep found
libavcodec.so.51 = not found

# apt-file search /usr/lib/pd/extra/Gem/Gem.pd_linux
gem: /usr/lib/pd/extra/Gem/Gem.pd_linux


 mgasdr
 IOhannes



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#635290: puredata-gui needs tcllib for base64

2011-07-24 Thread Robin Gareus
Package: puredata
Version: 0.43.0-4
Severity: normal


Everytime I opened Pd I got an error message that base64 missing. 
Pd worked fine nevertheless except for the fact that
it stopped after the error and did not load patches
if they're specified at the commandline (e.g. `pd test.pd`).
I need to use the menu File-Open.

To resolve the issue, I just installed 'tcllib' which provides the tcl
implementation of base64. 

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable'), (300, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages puredata depends on:
ii  puredata-core 0.43.0-4   realtime computer music and graphi
ii  puredata-dev  0.43.0-4   realtime computer music and graphi
ii  puredata-doc  0.43.0-4   realtime computer music and graphi
ii  puredata-extra0.43.0-4   realtime computer music and graphi
ii  puredata-gui  0.43.0-4   realtime computer music and graphi
ii  puredata-utils0.43.0-4   realtime computer music and graphi

Versions of packages puredata recommends:
ii  gem1:0.92.3-2+b1 Graphics Environment for Multimedi

Versions of packages puredata suggests:
ii  pd-aubio   0.3.2-4.2 aubio external for PureData
ii  pd-csound  1:5.13.0~dfsg-3.1 Csound external for PureData
ii  pd-pdp 1:0.12.5-1Graphics system for Pd
ii  pd-zexy2.2.3-2   General Purpose addon library for 

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org