Bugs item #1601850, was opened at 2006-11-23 17:17 Message generated for change (Comment added) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1601850...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: externals
Group: None Status: Pending
Resolution: None Priority: 3 Private: No Submitted By: Hans-Christoph Steiner (eighthave) Assigned to: musil (tmusil) Summary: [vcf_filter~] does not instantiate without arguments
Initial Comment:
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.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-03-05 14:37
Message: 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.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2006-12-19 06:37
Message: Logged In: YES user_id=27104 Originator: YES
changed to reflect the updated situation
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2006-11-30 02:55
Message: 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.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig) Date: 2006-11-29 19:40
Message: 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
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1601850...