TinyPNG4Mac icon indicating copy to clipboard operation
TinyPNG4Mac copied to clipboard

All images send error

Open BeatDeer92 opened this issue 3 years ago • 7 comments

Any image send error Screen Shot 2020-08-28 at 16 15 11

BeatDeer92 avatar Aug 28 '20 21:08 BeatDeer92

Maybe Big Sur? The app didn't ask for drive access.

nuthinking avatar Dec 22 '20 09:12 nuthinking

Probably there's a problem of tinypng.com's service. The app works fine for me on Big Sur.

kyleduo avatar Dec 23 '20 00:12 kyleduo

Get same error in my new M1 macbook, but work fine in my another old macbook

nicong622 avatar Mar 05 '21 08:03 nicong622

On my macbook air M1 work fine

trippo avatar Jul 08 '21 12:07 trippo

I have the same error.

kmyhy avatar Nov 04 '21 02:11 kmyhy

I have the same error

zhoujingang avatar Mar 28 '23 08:03 zhoujingang

it seems like you're looking for a solution code to handle errors when sending images. However, your request is quite broad, as there can be various types of errors that might occur during image transmission. Here's a general outline of how you might approach handling errors when sending images over a network using Python's requests library. Keep in mind that this is just a basic example, and you should adapt it to your specific use case: import requests

def send_image(image_url): try: response = requests.get(image_url) if response.status_code == 200: # Process the image or save it with open('received_image.jpg', 'wb') as f: f.write(response.content) print("Image received successfully.") else: print(f"Error: Received HTTP status code {response.status_code}") except requests.exceptions.RequestException as e: print(f"Error: {e}")

if name == "main": image_url = "https://example.com/image.jpg" # Replace with the actual image URL send_image(image_url)

nisa123hj avatar Aug 22 '23 04:08 nisa123hj