[Python-bugs-list] [ python-Bugs-753592 ] websucker bug

SourceForge.net noreply@sourceforge.net
Thu, 12 Jun 2003 15:00:10 -0700


Bugs item #753592, was opened at 2003-06-12 16:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=753592&group_id=5470

Category: Demos and Tools
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Dalke (dalke)
Assigned to: Nobody/Anonymous (nobody)
Summary: websucker bug

Initial Comment:
from c.l.py poster Anton Vredegoor who doesn't like that 
SF has a "must login to post bugs" barrier, and whose IE 
has problems handling the SF bugs page.

On Win98Se, Python23:
>
>>d:\python23\pythonw -u wsgui.py
>Exception in Tkinter callback
>Traceback (most recent call last):
>  File "D:\PYTHON23\lib\lib-tk\Tkinter.py", line 1337, in 
__call__
>    return self.func(*args)
>  File "wsgui.py", line 163, in go
>    self.sucker.rootdir = os.path.dirname(
>TypeError: unbound method savefilename() must be 
called with Sucker
>instance as first argument (got App instance instead)
>>Exit code: 0

My bug-fix:

change only 1 line (164):
                websucker.Sucker.savefilename(self, url))
into:
                websucker.Sucker.savefilename(self.sucker, 
url))

I've tested it and now it works as expected. Can we get 
this in
Python23 final? 



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=753592&group_id=5470