Hi,

I have the same problem and not a clue what's wrong. Did you manage to
solve this?

Hans

On Aug 30, 9:57 pm, tabmarcio <[email protected]> wrote:
> THe problem I have is the second problem you reported: 
> AttributeError:HTTPSConnectioninstancehasnoattribute
> '_HTTPConnection__response'
>
> m
>
> On Aug 30, 4:54 pm, tabmarcio <[email protected]> wrote:
>
>
>
>
>
>
>
> > I have the same problem. BTW this also happens in production with GAE
> > current python.
>
> > m
>
> > On Aug 17, 7:33 pm, Mark Brenneman <[email protected]> wrote:
>
> > > Thanks Tim, that worked, but now I ran into a new problem.
>
> > > Now, I get a connection error. I have tried finding others with the issues
> > > but have not had any luck. Is this a problem with the boto package or does
> > > it need to be modified to use with AppEngine?
>
> > > Upload Code:
>
> > > fp = tempfile.TemporaryFile()
> > > fp.write('Hello world!\n')
>
> > > dst_uri = boto.storage_uri(BUCKET_NAME + '/' + DOWNLOAD_FILENAME, 'gs')
>
> > > # The key-related functions are a consequence of boto's
> > > # interoperability with Amazon S3 (which employs the
> > > # concept of a key mapping to contents).
> > > dst_uri.new_key().set_contents_from_file(fp)
> > > logging.debug('Successfully created "%s/%s"' % (dst_uri.bucket_name,
> > > dst_uri.object_name))
>
> > > Error:
>
> > > Traceback (most recent call last):
> > >   File 
> > > "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_we
> > >  bapp25.py", line 701, in __call__
> > >     handler.get(*groups)
> > >   File "/base/data/home/apps/callzapapp/1.352621855547207562/main.py", 
> > > line 54, in get
> > >     dst_uri.new_key().set_contents_from_file(fp)
> > >   File 
> > > "/base/data/home/apps/callzapapp/1.352621855547207562/boto/gs/key.py", 
> > > line 191, in set_contents_from_file
> > >     self.send_file(fp, headers, cb, num_cb)
> > >   File 
> > > "/base/data/home/apps/callzapapp/1.352621855547207562/boto/s3/key.py", 
> > > line 566, in send_file
> > >     query_args=query_args)
> > >   File 
> > > "/base/data/home/apps/callzapapp/1.352621855547207562/boto/s3/connection.py
> > >  ", line 423, in make_request
> > >     override_num_retries=override_num_retries)
> > >   File 
> > > "/base/data/home/apps/callzapapp/1.352621855547207562/boto/connection.py",
> > >  line 782, in make_request
> > >     return self._mexe(http_request, sender, override_num_retries)
> > >   File 
> > > "/base/data/home/apps/callzapapp/1.352621855547207562/boto/connection.py",
> > >  line 695, in _mexe
> > >     connection = self.get_http_connection(request.host, self.is_secure)
> > >   File 
> > > "/base/data/home/apps/callzapapp/1.352621855547207562/boto/connection.py",
> > >  line 566, in get_http_connection
> > >     conn = self._pool.get_http_connection(host, is_secure)
> > >   File 
> > > "/base/data/home/apps/callzapapp/1.352621855547207562/boto/connection.py",
> > >  line 241, in get_http_connection
> > >     return self.host_to_pool[key].get()
> > >   File 
> > > "/base/data/home/apps/callzapapp/1.352621855547207562/boto/connection.py",
> > >  line 148, in get
> > >     if self._conn_ready(conn):
> > >   File 
> > > "/base/data/home/apps/callzapapp/1.352621855547207562/boto/connection.py",
> > >  line 167, in _conn_ready
> > >     response = conn._HTTPConnection__response
> > > AttributeError:HTTPSConnectioninstancehasnoattribute'_HTTPConnection__response'

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to