Git Product home page Git Product logo

Comments (8)

milo avatar milo commented on September 21, 2024 2

It must not trigger error, when @ is used. I guess, some error handler, source of ParanoidErrorException, does not respect that.

from di.

dg avatar dg commented on September 21, 2024 1

I am getting php warnings from time to time.

If it's only occasionally, I would consider it a success on Windows :-)

from di.

staabm avatar staabm commented on September 21, 2024 1

good point. with your hint I was actually able to fix a problem in the error handling which made the @ errors not beeing silenced.

fixed a if (0 === error_reporting()) { with if (!(error_reporting() & $errno)) { and the error line now disappears.

from di.

staabm avatar staabm commented on September 21, 2024

//cc @ondrejmirtes

from di.

dg avatar dg commented on September 21, 2024

I once solved some similar locking problem under Windows, but never actually found a satisfactory solution. It stayed with this experiment: https://github.com/nette/di/tree/lock-windows

from di.

staabm avatar staabm commented on September 21, 2024

could you elaborate why you think the reported issue is a locking problem?

from di.

dg avatar dg commented on September 21, 2024

I misunderstood. It's not about the locks. I'm looking at it now, and the line where the meta file is read has suppressed errors:

$meta = @unserialize((string) file_get_contents("$file.meta")); // @ - file may not exist

So no error can trigger there. If it does, it's a PHP (or opcache) error. So maybe disabling opcache will help.

from di.

staabm avatar staabm commented on September 21, 2024

just fyi, I see the initial reported problem also in linux based github actions

grafik

maybe the code should be changed to is_file beforehand?

from di.

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.