Skip to content

libpng error: Write Error #6535

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

Closed
sn2234 opened this issue Oct 10, 2017 · 10 comments
Closed

libpng error: Write Error #6535

sn2234 opened this issue Oct 10, 2017 · 10 comments
Assignees

Comments

@sn2234
Copy link

sn2234 commented Oct 10, 2017

Uninstalled Anaconda 4 and installed Anaconda 5 on windows server 2016 (VS2017 preview on the same machine), Anaconda 4 worked fine
(C:\Users\Administrator\Anaconda3) C:\Users\Administrator\Documents>conda list libpng

packages in environment at C:\Users\Administrator\Anaconda3:

libpng 1.6.32 vc14hce43e6c_2 [vc14]

(C:\Users\Administrator\Anaconda3) C:\Users\Administrator\Documents>conda list matplotlib

packages in environment at C:\Users\Administrator\Anaconda3:

matplotlib 2.0.2 py36h58ba717_1

(C:\Users\Administrator\Anaconda3) C:\Users\Administrator\Documents>python
Python 3.6.2 |Anaconda, Inc.| (default, Sep 19 2017, 08:03:39) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import numpy as np
import matplotlib.pyplot as plt
xx = (np.random.rand(100, 100) > 0.5).astype('uint8')
xx.shape
(100, 100)
plt.imshow(xx)
<matplotlib.image.AxesImage object at 0x00000190EB0040B8>
plt.imsave("xx.png", xx)
libpng error: Write Error

(C:\Users\Administrator\Anaconda3) C:\Users\Administrator\Documents>dir xx.png
Volume in drive C has no label.
Volume Serial Number is D89A-3D90

Directory of C:\Users\Administrator\Documents

10/09/2017 05:26 PM 0 xx.png
1 File(s) 0 bytes
0 Dir(s) 40,410,468,352 bytes free

(C:\Users\Administrator\Anaconda3) C:\Users\Administrator\Documents>

@mingwandroid
Copy link

Single-line reproducer:

python -c "import numpy as np; import matplotlib.pyplot as plt; xx = (np.random.rand(100, 100) > 0.5).astype('uint8'); plt.imsave('C:\\xx.png', xx)"

@mingwandroid
Copy link

Any chance of testing with this new package?:

conda update -c c3i_test2 libpng

mingwandroid added a commit to AnacondaRecipes/libpng-feedstock that referenced this issue Oct 11, 2017
Build files created by the nmake generator do not link to the UCRT.
This was the cause of ContinuumIO/anaconda-issues#6535
@sn2234
Copy link
Author

sn2234 commented Oct 11, 2017

Works for me now, thanks!

@mingwandroid
Copy link

Thank you for the feedback.

@bsipocz
Copy link

bsipocz commented Oct 11, 2017

@mingwandroid - is there an ETA for the fixed packages getting distributed in the default channel? I'm just asking to see whether it makes any sense to add a workaround for our failing appveyor builds or can simply just wait this out.

@mingwandroid
Copy link

@bsipocz, Did the new package work for you or are you not in a position to test them?

@bsipocz
Copy link

bsipocz commented Oct 11, 2017

It worked for one of our maintainers on his windows laptop, haven't checked it on appveyor yet, but I assume it will work, there too.

@mingwandroid
Copy link

This has been released now, please close if this works for you @bsipocz.

@mingwandroid mingwandroid self-assigned this Oct 12, 2017
@bsipocz
Copy link

bsipocz commented Oct 12, 2017

@mingwandroid - Thank you, indeed it works now.

(I can't close the issue though as it wasn't me who opened it).

@mingwandroid
Copy link

OK, thank you for the feedback, closing.

ocefpaf pushed a commit to ocefpaf/libpng-feedstock that referenced this issue Apr 19, 2018
Build files created by the nmake generator do not link to the UCRT.
This was the cause of ContinuumIO/anaconda-issues#6535
msarahan pushed a commit to AnacondaRecipes/libpng-feedstock that referenced this issue Apr 20, 2018
Build files created by the nmake generator do not link to the UCRT.
This was the cause of ContinuumIO/anaconda-issues#6535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants