[PD-dev] [ pure-data-Bugs-3484492 ] "package require registry" fails in Windows 7

SourceForge.net noreply at sourceforge.net
Sun Feb 5 03:17:30 CET 2012


Bugs item #3484492, was opened at 2012-02-04 18:17
Message generated for change (Tracker Item Submitted) made by millerpuckette
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3484492&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: None
Group: None
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Miller Puckette (millerpuckette)
Assigned to: Nobody/Anonymous (nobody)
Summary: "package require registry" fails in Windows 7

Initial Comment:
In Pd -.43-1 (but not in Pd 0.43-0), Windows 7:

Several students are getting TCL backtraces in Windows 7 apparently coming from the new GUI prefs
system's use of the registry.  Here's a report:

I can create new patches and run them perfectly well, but as soon as I try
to open up another
patch I get a message saying that I'm missing a dll, PD hangs and I have to
close it.

couldn't load library "C:/Program Files
(x86)/PD/lib/tcl8.5/reg/tclreg12.dll": this library or a dependent library
could not be found in library path
couldn't load library "C:/Program Files
(x86)/PD/lib/tcl8.5/reg/tclreg12.dll": this library or a dependent library
could not be found in library path
    while executing
"load {C:/Program Files (x86)/PD/lib/tcl8.5/reg/tclreg12.dll} registry"
    ("package ifneeded registry 1.2.1" script)
    invoked from within
"package require registry"
    (procedure "write_config_win" line 2)
    invoked from within
"write_config_win $data $adomain $akey $arr "
    (procedure "write_config" line 4)
    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_recentfiles_on_menu" line 24)
    invoked from within
"::pd_menus::update_recentfiles_on_menu $menubar.file $write"
    (procedure "::pd_menus::update_recentfiles_menu" line 5)
    invoked from within
"::pd_menus::update_recentfiles_menu"
    (procedure "::pd_guiprefs::update_recentfiles" line 8)
    invoked from within
"::pd_guiprefs::update_recentfiles $filename"
    (procedure "open_file" line 11)
    invoked from within
"open_file $filename"
    (procedure "menu_open" line 6)
    invoked from within
"menu_open"
    (menu invoke)

The file tclreg12.dll is present in the distribution, but for some reason tcl seems unable either to
find it or to load it.  I haven't got hold of a windows 7 system yet to try this on.

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

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



More information about the Pd-dev mailing list