On 9/26/07, Art S R <[EMAIL PROTECTED]> wrote:

> When I select Apple Trailers, the pop-up window appears
> with the progress bar and message saying that it's "Scanning Apple for
> trailers".  After about 30-60 seconds, Freevo will crash.


Here's the traceback:
>
(snip)

>   File "/usr/lib/python2.4/httplib.py", line 646, in send
>     self.connect()
>   File "/usr/lib/python2.4/httplib.py", line 614, in connect
>     socket.SOCK_STREAM):
> IOError: [Errno socket error] (-2, 'Name or service not known')
>
> I did a little more research and this error apparently is due to a problem
resolving the URL.  So, as a test, I modified applelib.py and changed the
_DEFAULT_URL from "www.apple.com" to the IP address (17.112.152.32) and that
worked!  I am able to download and view the trailers now.  I don't know why
it's (urllib.py? httplib.py?) not able to resolve www.apple.com in the URL
but, until I get this figured out, this workaround will suffice.  Just in
case the IP address may change, I added a couple of lines at the beginning
of applelib.py to ping www.apple.com to acquire the current IP address and
assign it to _DEFAULT_URL.


Art S R
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to