in CVS.

userproofing applied so that apod won't start without being able to
read, write and execute the file and will give an alertbox if we can't
connect to the server.

-- 
Mike Ruelle <[EMAIL PROTECTED]>

On Thu, 2004-06-17 at 14:20, [EMAIL PROTECTED] wrote:
> OK i will look into this on the weekend. Should be easy enough to wrap a try except 
> around. Haven't tested APOD with release 1.5 yet had some other bugs i was working 
> on.
> 
> --
> Michael Ruelle
> [EMAIL PROTECTED]
> 
> 
> > Hello,
> > 
> > Trying to retrieve the APOD I received this error pasted at the end of the
> > message.
> > I think that an error reading from a socket is not a fatal error and that it
> > should raise a popup telling the user that it could not get the image from
> > the Internet.
> > 
> > 
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.3/site-packages/freevo/main.py", line 325, in
> > eventhandler
> >     app.eventhandler(event)
> >   File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 593, in
> > eventhandler
> >     action( arg=arg, menuw=self )
> >   File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 119, in select
> >     self.function(arg=self.arg, menuw=menuw)
> >   File "/usr/lib/python2.3/site-packages/freevo/image/plugins/apod.py", line 97,
> >  in fetchCurrentPicture
> >     myfile=urllib.urlopen(url % 'index.html')
> >   File "/usr/lib/python2.3/urllib.py", line 76, in urlopen
> >     return opener.open(url)
> >   File "/usr/lib/python2.3/urllib.py", line 181, in open
> >     return getattr(self, name)(url)
> >   File "/usr/lib/python2.3/urllib.py", line 300, in open_http
> >     errcode, errmsg, headers = h.getreply()
> >   File "/usr/lib/python2.3/httplib.py", line 1049, in getreply
> >     response = self._conn.getresponse()
> >   File "/usr/lib/python2.3/httplib.py", line 778, in getresponse
> >     response.begin()
> >   File "/usr/lib/python2.3/httplib.py", line 273, in begin
> >     version, status, reason = self._read_status()
> >   File "/usr/lib/python2.3/httplib.py", line 231, in _read_status
> >     line = self.fp.readline()
> >   File "/usr/lib/python2.3/socket.py", line 323, in readline
> >     data = recv(1)
> > IOError: [Errno socket error] timed out
> > 
> > 
> > 
> > -- 
> > 
> 
> 
> ______________________________________________________________________
> From: Gorka Olaizola <[EMAIL PROTECTED]>
> To: Freevo development <[EMAIL PROTECTED]>
> Subject: [Freevo-devel] [BUG] Exception retrieving APOD picture from
> Internet
> Date: Thu, 17 Jun 2004 16:56:19 +0000




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to