[Tutor] Re: webbrowser.Error: could not locate runnable Re: webbrowser.Error: could not locate running browser

SnapafunFrank Frank at snapafun.co.nz
Sun Sep 26 06:49:19 CEST 2004

Message: 6 Date: Sat, 25 Sep 2004 11:05:56 +0200 From: Andrei 
<project5 at redrival.net> Subject: [Tutor] Re: webbrowser.Error: could not 
locate runnable browser To: tutor at python.org Message-ID: 
<1eyubtvldxb4l.3x112utqhyrh.dlg at 40tude.net> Content-Type: text/plain; 
charset="us-ascii" SnapafunFrank wrote on Sat, 25 Sep 2004 20:56:25 
+1200: Hi,

 >> The subject is my current problem with blender <Help Menu> and this 
 >> is the only one I have found that has made any mention of it. ( The 
 >> one listed in a search using www.vivisimo.com ).
 >> Your thread:
 >> http://mail.python.org/pipermail/tutor/2003-September/025151.html 


 >> Anyone care to entertain an old tinkerer and help me get this prob 
dealt to?

 >Being the one with the problem at the time, I can tell you that it occurs
 >under KDE, where the BROWSER environment variable is set to some very 
 >string, which will in fact not launch the browser. What you should do is
 >locate the "import webbrowser" string in the Blender code (*.py) and place
 >in front of it the following code.

 >Note that Python is indentation-sensitive, so the indentation needs to
 >start from the same level where "import webbrowser" starts.

 >if os.environ.has_key("BROWSER") and \
 >   os.environ["BROWSER"]=='kfmclient openProfile webbrowsing':
 >    os.environ["BROWSER"] = 'konqueror' # set it to konqueror
 >import webbrowser # MUST be imported only AFTER os.environ modified

 >-- Yours, Andrei ===== Real contact info (decode with rot13): 
cebwrpg5 at jnanqbb.ay. Fcnz-serr! Cyrnfr qb abg hfr va >choyvp cbfgf. V 
ernq gur yvfg, fb gurer'f ab arrq gb PP.

Thanks Andrei, I found it in the "help_web_devcomm.py" file. I now have 
the Help option showing me the 'About - " screen and doing some 
benchmark test -- ( I'll get there! ) I just need to go back there and 
figure out why I'm not getting the "web links" to show, though I think 
it may well be that I'm using a PIII with a C-Media 16MB card and not a 
python script 'to-do'.



Big or small, a challenge requires the same commitment to resolve.
Registered Linux User # 324213 

More information about the Tutor mailing list