Giter VIP home page Giter VIP logo

Comments (5)

jcupitt avatar jcupitt commented on July 19, 2024

Seems to be fixed!

from pyvips.

kleisauke avatar kleisauke commented on July 19, 2024

This was not fixed yet, I still see (with libvips 8.5.8):

Output
............................................................................................................................................E........E.EE........................................
======================================================================
ERROR: test_jpeg (pyvips.tests.test_foreign.TestForeign)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "S:\Users\KleisAuke\Documents\GitHub\pyvips\pyvips\tests\test_foreign.py", line 172, in test_jpeg
    os.unlink(filename)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\KLEISA~1\\AppData\\Local\\Temp\\tmp33488d43.jpg'

======================================================================
ERROR: test_rad (pyvips.tests.test_foreign.TestForeign)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "S:\Users\KleisAuke\Documents\GitHub\pyvips\pyvips\tests\test_foreign.py", line 623, in test_rad
    self.rad, max_diff=0)
  File "S:\Users\KleisAuke\Documents\GitHub\pyvips\pyvips\tests\test_foreign.py", line 97, in save_buffer_tempfile
    os.unlink(filename)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\KLEISA~1\\AppData\\Local\\Temp\\tmpzvo_vrza.hdr'

======================================================================
ERROR: test_tiff (pyvips.tests.test_foreign.TestForeign)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "S:\Users\KleisAuke\Documents\GitHub\pyvips\pyvips\tests\test_foreign.py", line 226, in test_tiff
    self.save_load_file(".tif", "[squash]", self.onebit, 0)
  File "S:\Users\KleisAuke\Documents\GitHub\pyvips\pyvips\tests\test_foreign.py", line 71, in save_load_file
    os.unlink(filename)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\KLEISA~1\\AppData\\Local\\Temp\\tmpc6g6vhug.tif'

======================================================================
ERROR: test_vips (pyvips.tests.test_foreign.TestForeign)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "S:\Users\KleisAuke\Documents\GitHub\pyvips\pyvips\tests\test_foreign.py", line 100, in test_vips
    self.save_load_file(".v", "", self.colour, 0)
  File "S:\Users\KleisAuke\Documents\GitHub\pyvips\pyvips\tests\test_foreign.py", line 71, in save_load_file
    os.unlink(filename)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\KLEISA~1\\AppData\\Local\\Temp\\tmpo9ly79uj.v'

----------------------------------------------------------------------
Ran 193 tests in 43.470s

FAILED (errors=4)

Therefore created #11 to fix this.

from pyvips.

jcupitt avatar jcupitt commented on July 19, 2024

Ooop, you're right, I was thinking of the Ruby binding. Sad!

from pyvips.

jcupitt avatar jcupitt commented on July 19, 2024

OK, nice work Kleis, closing again.

from pyvips.

jcupitt avatar jcupitt commented on July 19, 2024

ok v2.0.1 pushed to pypi

from pyvips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.