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-2    The 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-bsaylor    0.1-2               a library of FFT-based Pd ob...
ii  pd-comport    0.1-3               Pd object for reading and wr...
ii  pd-csound     1:5.13.0~dfsg-3.1   Csound external for PureData
ii  pd-cyclone    0.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-hid        0.7-1               Pd object for getting data f...
ii  pd-libdir     1.9-2               provides support for the lib...
ii  pd-mapping    0.2-1               a Pd library for creatively ...
ii  pd-maxlib     1.5.3-2             Pd library for analysing mus...
ii  pd-moonlib    0.2-2               library of Pd objects relate...
ii  pd-pddp       0.1-1               a support library for the Pu...
ii  pd-pdp        1: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-2            Pd library for mapping DSP d...
ii  pd-wiimote    0.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, CNMAT
warning: class 'wrap' overwritten\; old one renamed 'wrap_aliased'
/usr/lib/pd/extra/Gem/Gem.pd_linux: libavcodec.so.51: cannot open shared object file: No such file or directory
Gem: can't load library
OSCroute object version 1.05 by Matt Wright. pd: jdl Win32 raf.
OSCroute Copyright © 1999 Regents of the Univ. of California. All Rights Reserved.
O  : Open Sound Control 4 PD, http://www.cnmat.berkeley.edu/OSC
 S : original code by matt wright, pd hakcs cxc, Win32-port r...@interaccess.com
  C: ver: 0.3, compiled: Sep  6 2007 -- adapted by pi...@majdak.com
PiDiP : additional video processing objects for PDP
	version 0.12.23 ( ydego...@free.fr )
(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"

Reply via email to