Message7560

Author makronized
Recipients amak, makronized, wehart
Date 2013-01-01.11:07:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357038433.92.0.193670101149.issue1997@psf.upfronthosting.co.za>
In-reply-to
Content
I can confirm this bug. 

I've created a class:

public class Foo
{
    public static void main (String[] args)
    {
        try
        {
            PythonInterpreter.initialize(System.getProperties(), System.getProperties(), new String[0]);
            PythonInterpreter interp = new PythonInterpreter();
            interp.execfile("foo.py");//        
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }
}

My "foo.py" file is calling "oauth2" (that is using HTTPS, of course), and this is the result:

File "foo.py", line 308, in <module>
main(sys.argv)
File "foo.py", line 299, in main
response = AuthorizeTokens("mykey", "mytoken",
File "foo.py", line 208, in AuthorizeTokens
response = urllib.urlopen(request_url, urllib.urlencode(params)).read()
File "C:\jython2.7a2\jython.jar\Lib\urllib.py", line 88, in urlopen
File "C:\jython2.7a2\jython.jar\Lib\urllib.py", line 204, in open
File "C:\jython2.7a2\jython.jar\Lib\urllib.py", line 216, in open_unknown
IOError: [Errno url error] unknown url type: 'https'
History
Date User Action Args
2013-01-01 11:07:13makronizedsetmessageid: <1357038433.92.0.193670101149.issue1997@psf.upfronthosting.co.za>
2013-01-01 11:07:13makronizedsetrecipients: + makronized, amak, wehart
2013-01-01 11:07:13makronizedlinkissue1997 messages
2013-01-01 11:07:13makronizedcreate