[Gridflow-dev] problems with doc/5.reference/gridflow/*.pd (pd-0.39-test6)

Claude Heiland-Allen claudiusmaximus at goto10.org
Wed Aug 24 09:16:25 EDT 2005


Hi all,

Trying to open Help->Browser...->5.reference/gridflow/@checkers.pd fails 
partly with current gridflow cvs and pd-0.39-test6, complaining that it 
can't open an abstraction within itself.

$ cat .pdrc
-noadc
-lib gridflow

$ pd -verbose -path /usr/local/lib/pd/extra/
Pd version 0.39 TEST 6
compiled 21:28:05 Aug 22 2005
port 5400
TCL_LIBRARY="/usr/local/lib/pd/tcl/library" 
TK_LIBRARY="/usr/local/lib/pd/tk/library" 
"/usr/local/lib/pd/bin/pd-gui" 5400
Waiting for connection request...
... connected

STACK_END old=0xbfac3ffc; new=0xbfacfffc
----
reading startup file: /home/claude/.pdrc
input channels = 0, output channels = 2
opened 0 MIDI input device(s) and 0 MIDI output device(s).
input channels = 0, output channels = 2
/dev/dsp (writeonly): Device or resource busy
tried /home/claude/gridflow.pd_linux and failed
tried /usr/local/lib/pd/extra/gridflow.pd_linux and succeeded
setting up Ruby-for-PureData...
we are using Ruby version 1.8.2
(done)
[gf] This is GridFlow 0.8.1 within Ruby version 1.8.2
[gf] base/main.c was compiled on Aug 24 2005, 13:36:54
[gf] startup_cpu: using MMX optimisations
tried /usr/local/lib/pd/doc/5.reference/gridflow/@checkers.pd_linux and 
failed
tried /usr/local/lib/pd/extra/@checkers.pd_linux and failed
tried /usr/local/lib/pd/extra/@checkers.pd_linux and failed
tried 
/usr/local/lib/pd/doc/5.reference/gridflow/@checkers/@checkers.pd_linux 
and failed
tried /usr/local/lib/pd/extra/@checkers/@checkers.pd_linux and failed
tried /usr/local/lib/pd/extra/@checkers/@checkers.pd_linux and failed
tried /usr/local/lib/pd/doc/5.reference/gridflow/@checkers.pd and succeeded
tried /usr/local/lib/pd/doc/5.reference/gridflow/@checkers.pd_linux and 
failed
tried /usr/local/lib/pd/extra/@checkers.pd_linux and failed
tried /usr/local/lib/pd/extra/@checkers.pd_linux and failed
tried 
/usr/local/lib/pd/doc/5.reference/gridflow/@checkers/@checkers.pd_linux 
and failed
tried /usr/local/lib/pd/extra/@checkers/@checkers.pd_linux and failed
tried /usr/local/lib/pd/extra/@checkers/@checkers.pd_linux and failed
tried /usr/local/lib/pd/doc/5.reference/gridflow/@checkers.pd and succeeded
error: @checkers: can't load abstraction within itself

  @checkers
... couldn't create
error: ArgumentError: got 0 args instead of 1..3 in 
DrawPolygon::initialize(Numop * op , Grid * color , Grid * polygon )
base/flow_objects_for_image.c.fcs:483:in `static Ruby 
DrawPolygon::initialize_wrap(int, Ruby*, long unsigned int)'
/usr/lib/ruby/site_ruby/1.8/gridflow/base/main.rb:211:in `new'
... you might be able to track this down from the Find menu.
  @draw_polygon
... couldn't create
error: ArgumentError: got 0 args instead of 1..3 in 
DrawPolygon::initialize(Numop * op , Grid * color , Grid * polygon )
base/flow_objects_for_image.c.fcs:483:in `static Ruby 
DrawPolygon::initialize_wrap(int, Ruby*, long unsigned int)'
/usr/lib/ruby/site_ruby/1.8/gridflow/base/main.rb:211:in `new'
  @draw_polygon
... couldn't create
@checkers.pd 1 0 7 0 (canvas->#out) connection failed
@checkers.pd 2 0 1 0 (#for->canvas) connection failed
SystemStackError: stack level too deep
/usr/lib/ruby/site_ruby/1.8/gridflow/base/main.rb:211:in `call'
/usr/lib/ruby/site_ruby/1.8/gridflow/base/main.rb:211
[gf] X11 reports Error: display=0x082c4868
[gf] serial=0x0000001b error=0x00000002 request=0x0000008e minor=0x00000003
SystemStackError: stack level too deep
/usr/lib/ruby/site_ruby/1.8/gridflow/base/main.rb:211:in `call'
/usr/lib/ruby/site_ruby/1.8/gridflow/base/main.rb:211



Creating a new patch, creating a [@greyscale_to_rgb], and selecting Help 
from the context menu opens the patch instead of opening the help patch.

I think this could be solved by renaming all help patches to X-help, and 
having make install spit out a message saying 'add 
pd/doc/5.reference/gridflow/ to -helppath':

tried /usr/local/lib/pd/extra/@greyscale_to_rgb-help.pd and failed
tried 
/usr/local/lib/pd/doc/5.reference/gridflow/@greyscale_to_rgb-help.pd and 
failed
tried /usr/local/lib/pd/doc/5.reference/@greyscale_to_rgb-help.pd and failed
tried /usr/local/lib/pd/extra/help- at greyscale_to_rgb.pd and failed
tried 
/usr/local/lib/pd/doc/5.reference/gridflow/help- at greyscale_to_rgb.pd and 
failed
tried /usr/local/lib/pd/doc/5.reference/help- at greyscale_to_rgb.pd and failed
tried /usr/local/lib/pd/extra/@greyscale_to_rgb.pd and succeeded


Claude



More information about the Gridflow-dev mailing list