Bugs item #3016653, was opened at 2010-06-16 02:19 Message generated for change (Comment added) made by chanueting You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None
Status: Open
Resolution: None Priority: 5 Private: No Submitted By: chanueting (chanueting) Assigned to: xqt (xqt) Summary: upload.py "Invalid input filename given. Try again."
Initial Comment: Could not check the address correctly if the filename is previously wrongly input.
I think the proper command on line 100 of function urlOK should be:
return self.url != len(url) and ('://' in self.url or os.path.exists(self.url))
instead of '' since '' is always False.
----------------------------------------------------------------------
Comment By: chanueting (chanueting)
Date: 2010-06-17 19:13
Message: Sorry about the typo. The command should be: return len(self.url) and ('://' in self.url or os.path.exists(self.url))
I thought that is a bug since I could only have that works on my machine. May be there is a problem on my machine?
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2010-06-16 18:41
Message: url != len(url) is always True
What is your command line or what is the filename you typed in?
Try to input the file as follows if you are dealing wiht windows os: "C:\My Documents\My Pictures\My Picture.jpg"
----------------------------------------------------------------------
Comment By: chanueting (chanueting) Date: 2010-06-16 02:21
Message: python version.py missed: http://pywiki.pastey.net/137714
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653...