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

Upload Image on Report #463

Closed
Philotto opened this issue Oct 18, 2023 · 4 comments
Closed

Upload Image on Report #463

Philotto opened this issue Oct 18, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Philotto
Copy link

Philotto commented Oct 18, 2023

Hi, when i try to upload an Image from URL i get this error:

Traceback (most recent call last): 
File "model\report.py", line 787, in load_image_from_url 
File "model\report.py", line 712, in apply_image 
File "matplotlib\image.py", line 1563, in imread 
File "PIL\Image.py", line 3280, in open 
PIL.UnidentifiedImageError: cannot identify image file 'D:\\TEMP\\tmpccvwki15.jpg' 

If i download those image then can be uploaded , but when i try to make them pixel-perfect on layout, then give me this error:

Traceback (most recent call last): 
File "model\report.py", line 117, in redraw_all_axes 
File "model\magnitude.py", line 200, in __init__ 
File "model\limits.py", line 189, in propagate_to_axes 
File "model\magnitude.py", line 222, in __redraw_func 
File "model\report.py", line 151, in on_redraw 
File "matplotlib\image.py", line 977, in set_extent 
AttributeError: 'NoneType' object has no attribute '_process_unit_info' 
@3ll3d00d 3ll3d00d added the question Further information is requested label Oct 19, 2023
@3ll3d00d 3ll3d00d added bug Something isn't working and removed question Further information is requested labels Oct 20, 2023
@3ll3d00d
Copy link
Owner

3ll3d00d commented Oct 20, 2023

splitting this to #464

Hi, when i try to upload an Image from URL i get this error:

Traceback (most recent call last): 
File "model\report.py", line 787, in load_image_from_url 
File "model\report.py", line 712, in apply_image 
File "matplotlib\image.py", line 1563, in imread 
File "PIL\Image.py", line 3280, in open 
PIL.UnidentifiedImageError: cannot identify image file 'D:\\TEMP\\tmpccvwki15.jpg' 

@Philotto
Copy link
Author

Philotto commented Oct 21, 2023

Ok, the first is solved here #464
(very annoying, upload from the site where i redirect the URL has been ok few months ago, and has a lot of material).

Regarding to the second error, it is better if i create another "issue" or can we discuss here?

"If i download those image then can be uploaded , but when i try to make them pixel-perfect on layout, then give me this error:

Traceback (most recent call last):
File "model\report.py", line 117, in redraw_all_axes
File "model\magnitude.py", line 200, in init
File "model\limits.py", line 189, in propagate_to_axes
File "model\magnitude.py", line 222, in __redraw_func
File "model\report.py", line 151, in on_redraw
File "matplotlib\image.py", line 977, in set_extent
AttributeError: 'NoneType' object has no attribute '

@3ll3d00d
Copy link
Owner

It fixed already hence why I closed this

@Philotto
Copy link
Author

Oh sorry, i didn't understand! I have downloaded the latest pre-release 1.0.1 and can confirm it's ok ! Sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants