Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Donwnload functionality doesn't work anymore #34

Open
LinusKaiser opened this issue May 20, 2023 · 1 comment
Open

Donwnload functionality doesn't work anymore #34

LinusKaiser opened this issue May 20, 2023 · 1 comment

Comments

@LinusKaiser
Copy link

LinusKaiser commented May 20, 2023

Describe the bug
it works fine to generate images. They also show up in the online GUI, but the downloading of those images seems to result in an error.

file_path = dalle.generate_and_download("sunny large garden of a luxury estate with beautiful plants and trees and some modern, futuristic and elegant garden facilities")
URLError: 
✔️ Task created with ID: task-7LUjlifds2cuzVKCt6aPEyzZWaiting for task to finish...
...task not completed yet
...task not completed yet
🙌 Task completed!
Output exceeds the size limit. Open the full output data in a text editor---------------------------------------------------------------------------
SSLCertVerificationError                  Traceback (most recent call last)
File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py:1348](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py:1348), in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args)
   1347 try:
-> 1348     h.request(req.get_method(), req.selector, req.data, headers,
   1349               encode_chunked=req.has_header('Transfer-encoding'))
   1350 except OSError as err: # timeout error

File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:1282](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:1282), in HTTPConnection.request(self, method, url, body, headers, encode_chunked)
   1281 """Send a complete request to the server."""
-> 1282 self._send_request(method, url, body, headers, encode_chunked)

File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:1328](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:1328), in HTTPConnection._send_request(self, method, url, body, headers, encode_chunked)
   1327     body = _encode(body, 'body')
-> 1328 self.endheaders(body, encode_chunked=encode_chunked)

File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:1277](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:1277), in HTTPConnection.endheaders(self, message_body, encode_chunked)
   1276     raise CannotSendHeader()
-> 1277 self._send_output(message_body, encode_chunked=encode_chunked)

File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:1037](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:1037), in HTTPConnection._send_output(self, message_body, encode_chunked)
   1036 del self._buffer[:]
-> 1037 self.send(msg)
   1039 if message_body is not None:
   1040 
...
-> 1351         raise URLError(err)
   1352     r = h.getresponse()
   1353 except:

URLError:
@github-actions
Copy link

Thanks you for your first issue in dalle2-in-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant