[PD-dev] [ pure-data-Bugs-3502056 ] filenames with () parens cause Tcl stacktrace

SourceForge.net noreply at sourceforge.net
Sun Mar 11 21:11:36 CET 2012


Bugs item #3502056, was opened at 2012-03-11 13:11
Message generated for change (Tracker Item Submitted) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3502056&group_id=55736

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: pd-extended
Group: v0.43
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: filenames with () parens cause Tcl stacktrace

Initial Comment:
Using Pd-extended 0.43.1-20120310 on Mac OS X 10.6.8/Intel, opening a file with parens () in the filename causes this stacktrace:

(Tcl) UNHANDLED ERROR: 2012-03-11 16:07:42.666 defaults[4035:903] Could not parse: /Users/hans/Desktop/paren-bug-(in filename).pd.  Try single-quoting it.
    while executing
\"exec defaults write $adomain $akey -array-add \"$escaped\"\"
    (procedure \"write_config_aqua\" line 9)
    invoked from within
\"write_config_aqua $data $adomain $akey $arr \"
    (procedure \"write_config\" line 3)
    invoked from within
\"write_config $::recentfiles_list $::recentfiles_domain $::recentfiles_key true\"
    (procedure \"::pd_guiprefs::write_recentfiles\" line 2)
    invoked from within
\"::pd_guiprefs::write_recentfiles \"
    (procedure \"::pd_menus::update_openrecent_menu_aqua\" line 13)
    invoked from within
\"::pd_menus::update_openrecent_menu_aqua .openrecent $write\"
    (procedure \"::pd_menus::update_recentfiles_menu\" line 4)
    invoked from within
\"::pd_menus::update_recentfiles_menu\"
    (procedure \"::pd_guiprefs::update_recentfiles\" line 8)
    invoked from within
\"::pd_guiprefs::update_recentfiles $filename\"
    (procedure \"pdtk_canvas_saveas\" line 23)
    invoked from within
\"pdtk_canvas_saveas .x4f54000 {Untitled-1} {/Users/hans}\"
    (\"uplevel\" body line 1)
    invoked from within
\"uplevel #0 $cmds_from_pd\"

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3502056&group_id=55736



More information about the Pd-dev mailing list