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
>
>
>
> --
>
--- Begin Message ---
signature.asc
Description: Digital signature
--- End Message ---