webbrowser open failing

Discussion in 'Python' started by Thomas, Jul 26, 2006.

  1. Thomas

    Thomas Guest

    Hi all,

    I am getting an error using webbrowser open on mac 10.3 using python
    2.3.5

    >>> test=open("/Volumes/TINTZ;P3/DT Hot Folder

    test/Justin_Test.pDF","r")
    >>> type(test)

    <type 'file'>
    >>> webbrowser.open("/Volumes/TINTZ;P3/DT Hot Folder

    test/Justin_Test.pDF","r")
    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File
    "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
    python2.3/webbrowser.py", line 43, in open
    get().open(url, new, autoraise)
    File
    "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
    python2.3/webbrowser.py", line 314, in open
    ic.launchurl(url)
    File
    "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
    python2.3/plat-mac/ic.py", line 235, in launchurl
    return _dft_ic.launchurl(url, hint)
    File
    "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
    python2.3/plat-mac/ic.py", line 202, in launchurl
    self.ic.ICLaunchURL(hint, url, 0, len(url))
    MacOS.Error: (-673, 'no URL found')


    cheers
    Thomas
     
    Thomas, Jul 26, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. robin
    Replies:
    0
    Views:
    387
    robin
    May 18, 2006
  2. Thomas

    Re: webbrowser open failing

    Thomas, Jul 26, 2006, in forum: Python
    Replies:
    0
    Views:
    399
    Thomas
    Jul 26, 2006
  3. Gregory Bloom
    Replies:
    4
    Views:
    356
    Steve Holden
    Apr 28, 2007
  4. Timur Tabi
    Replies:
    4
    Views:
    2,826
    Timur Tabi
    Jan 18, 2010
  5. Mitchell L Model
    Replies:
    1
    Views:
    492
    Paul Boddie
    Jan 27, 2010
Loading...

Share This Page