> You are welcome. This time I would like to help you but the code is
> incomplete
> (import error for Image) and I have never used urllib2 so I don't really know
> what to
> do.
> Again, try to debug it with pdb. Place "import pdb; pdb.set_trace()" where
> you want
> the break point and see
Joseph Quigley wrote:
> Ok, new version (sorry to bug you).
> This time I've edited the program so that you can only download todays
> (it won't work for any other date). Now I can connect to the server but
> it sticks on "Downloading image!"
>
> Thanks for your prevoius help.
> Joe
You are w
Ok, new version (sorry to bug you).
This time I've edited the program so that you can only download todays
(it won't work for any other date). Now I can connect to the server but
it sticks on "Downloading image!"
Thanks for your prevoius help.
Joe
#! /usr/bin/env python
###
Javier wrote:
> Class Data has a class attribute, 'f', defined as an empty string. Check if
> Data.f is initialized before calling getImg.
> Also, why initialize with an empty str? Put a None in there or don't define
> the attribute at all.
> A tip: in line 126 there is a print Data.f. This
Joseph Quigley wrote:
> Well, I'm back to coding more on my comic downloader and viewer and I
> keep getting this error:
>
> Traceback (most recent call last):
> File "F:\Gacor\getgarf.py", line 244, in ?
> getImg(Data.todayStrip)
> File "F:\Gacor\getgarf.py", line 127, in getImg
> Da
Well, I'm back to coding more on my comic downloader and viewer and I keep getting this error:
Traceback (most recent call last):
File "F:\Gacor\getgarf.py", line 244, in ?
getImg(Data.todayStrip)
File "F:\Gacor\getgarf.py", line 127, in getImg
Data.f.geturl()
AttributeError: 'str' obj