Giter Site home page Giter Site logo

Comments (4)

albertosottile avatar albertosottile commented on May 27, 2024

Thanks for reporting this. I gave a look at the original issue. I would say that without further analysis on the crashing system (e.g. attaching a debugger or inserting some debug printouts in your code or in cpython/inspect) debugging this would be borderline impossible... It looks to me that something is weird in either the passed frame or in the detected number of lines or in the detected source code but, without further inspections on site, I do not really know how to help you.

In any case, I do not see how py2exe could cause this only in certain cases: this seems either a feature that is always utterly broken (e.g. inspect does not work well with zipextimporter or any other critical component of py2exe) or it should always work.

Which brings me to the next question: are you sure that this inspecting system works well when embedded via py2exe? Your code looks quite complicated so I am not sure but, it might also be that something else is crashing in the system of your user and this is what basically happens when your logging infrastructure/frame inspection is triggered from the embedded executable...

I hope this helped a little. I am available for further assistance if you can provide any further information on the issue.

from py2exe.

Athanasius avatar Athanasius commented on May 27, 2024

In any case, I do not see how py2exe could cause this only in certain cases: this seems either a feature that is always utterly broken (e.g. inspect does not work well with zipextimporter or any other critical component of py2exe) or it should always work.

My only thought on this is to wonder if it might be tickling some subtle difference depending on exact CPU, cache sizes, memory layout of the structures and the like.

Which brings me to the next question: are you sure that this inspecting system works well when embedded via py2exe? Your code looks quite complicated so I am not sure but, it might also be that something else is crashing in the system of your user and this is what basically happens when your logging infrastructure/frame inspection is triggered from the embedded executable...

Yes, we have 1000s of users every day utilising that exact .exe without problems. The program just doesn't even start fully when it breaks. We get some idea about the usage from data it sends to a Gateway/exploder for others to make use of that data ( See https://eddn.edcd.io/#software ).

I hope this helped a little. I am available for further assistance if you can provide any further information on the issue.

I'll see if I can get some further response from the reporter. The release we made today adds try/except around the troublesome call to see if it can then continue, or starts failing in even weirder ways.

from py2exe.

albertosottile avatar albertosottile commented on May 27, 2024

Any news on this?

from py2exe.

Athanasius avatar Athanasius commented on May 27, 2024

It's still only that one user that has had the issue. We implemented a workaround (try/except that bit of code and return dummy fields if it trips). I think you can go ahead and close this, we'll comment again if we get any further useful information.

I still suspect this has to be Anti-Virus or the like getting in the way.

from py2exe.

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.