[PD-dev] help -> html ... bug

Tim Blechmann TimBlechmann at gmx.net
Mon Aug 1 13:35:15 CEST 2005


hi miller, hi tcl devs ...

there are two problems when using menu->help->html ...

if firefox isn't running, it starts, but i get a lovely tk error window:
No running windows found
No running windows found
    while executing
"exec sh -c  [format "firefox file:%s || mozilla file:%s &\n"  $filename
$filename]"    (procedure "menu_openhtml" line 5)
    invoked from within
"menu_openhtml $dirname/$basename"
    (procedure "menu_doc_open" line 9)
    invoked from within
"menu_doc_open doc/1.manual index.htm"
    invoked from within
".#mbar.#mbar#help invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .#mbar.#mbar#help 1"
    (command bound to event)

(well, this is basically correct, since i'm not running windows :)

thinks are getting more ugly, if i'm running pd as sudo application:
No running windows found
Error launching firefox:

There are files in your profile that are owned by a user other than
root.  firefox can't execute in this condition.  Here are some of
the files that I found:
    /home/tim/.mozilla/firefox
    /home/tim/.mozilla/firefox/77pzurz3.default
    /home/tim/.mozilla/firefox/77pzurz3.default/88581930.s
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/27F9E723d01
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/640505B4d01
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/7FF77D9Ad01
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/ABC726BDd01
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/D9747808d01
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/EA53F4C8d01
    ...

You can fix this problem by running the following:
    su -c 'chown -R root:root /home/tim/.mozilla'

sh: mozilla: command not found
No running windows found
Error launching firefox:

There are files in your profile that are owned by a user other than
root.  firefox can't execute in this condition.  Here are some of
the files that I found:
    /home/tim/.mozilla/firefox
    /home/tim/.mozilla/firefox/77pzurz3.default
    /home/tim/.mozilla/firefox/77pzurz3.default/88581930.s
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/27F9E723d01
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/640505B4d01
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/7FF77D9Ad01
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/ABC726BDd01
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/D9747808d01
    /home/tim/.mozilla/firefox/77pzurz3.default/Cache/EA53F4C8d01
    ...

You can fix this problem by running the following:
    su -c 'chown -R root:root /home/tim/.mozilla'

sh: mozilla: command not found
    while executing
"exec sh -c  [format "firefox file:%s || mozilla file:%s &\n"  $filename
$filename]"    (procedure "menu_openhtml" line 5)
    invoked from within
"menu_openhtml $dirname/$basename"
    (procedure "menu_doc_open" line 9)
    invoked from within
"menu_doc_open doc/1.manual index.htm"
    invoked from within
".#mbar.#mbar#help invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .#mbar.#mbar#help 1"
    (command bound to event)

... this can be left as user bug / firefox bug / firefox configuration
issue ...

cheers ... tim

-- 
mailto:TimBlechmann at gmx.de    ICQ: 96771783
http://www.mokabar.tk

latest mp3: kMW.mp3
http://mattin.org/mp3.html

latest cd: Goh Lee Kwang & Tim Blechmann: Drone
http://www.geocities.com/gohleekwangtimblechmannduo/

After one look at this planet any visitor from outer space 
would say "I want to see the manager."
				      William S. Burroughs




More information about the Pd-dev mailing list