Menu

#97 [vcf_filter~] does not instantiate without arguments

closed
musil
externals (234)
3
2008-03-20
2006-11-23
No

Running Pd-0.39.2-extended-2006-11-23 on Mac OS X 10.4, when I instantiate [vcf_filter~] without any arguments, it crashes Pd.

Discussion

  • Hans-Christoph Steiner

    super simple patch that crashes Pd

     
  • IOhannes m zmölnig

    Logged In: YES
    user_id=564396
    Originator: NO

    i have fixed this in CVS by replacing A_DEFSYM by A_SYMBOL in vcf_filter~:323

    this makes [vcf_filter~] refuse to create when no argument is given instead of crashing pd

     
  • Hans-Christoph Steiner

    Logged In: YES
    user_id=27104
    Originator: YES

    any chance of fixing it by setting a default value instead? Or maybe have it instatiate but do nothing without an argument. I think it can be quite confusing and annoying if you need an argument to instantiate. For example, I often create an object to open the hlep patch. That wouldn't work here.

     
  • Hans-Christoph Steiner

    • priority: 8 --> 3
    • summary: [vcf_filter~] without arguments crashes Pd --> [vcf_filter~] does not instantiate without arguments
     
  • Hans-Christoph Steiner

    Logged In: YES
    user_id=27104
    Originator: YES

    changed to reflect the updated situation

     
  • IOhannes m zmölnig

    Logged In: YES
    user_id=564396
    Originator: NO

    i think that this should be handled by Pd itself:
    Pd knows that there _is_ an objectclass [vcf_filter~]. Pd then calls the constructor of this objectclass which fails.
    So Pd should be aware that this is not an "unfound" class but a class that could not create for _other_ reasons.

    in this case, Pd could expose the possibility to access the help-file even though the object cannot create.

    i have submitted feature-request #1907998 that asks for this.

     
  • IOhannes m zmölnig

    • milestone: 594773 -->
    • status: open --> pending
     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Anonymous
Anonymous

Add attachments
Cancel