Comments (4)
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.
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 withzipextimporter
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.
Any news on this?
from py2exe.
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)
- Missing LICENSE in wheels HOT 4
- AssertionError with Python embeddable package HOT 1
- Py_OptimizeFlag not set correctly during Python initialization
- OSError: [WinError 87] The parameter is incorrect. HOT 2
- PYTHONPATH module location HOT 1
- Exe is created by doesn't run (opens then closes)
- Simple pygame example tries to lookup files inside of `library.zip` HOT 1
- Support Python 3.12 HOT 23
- Impossible to specify different version info for each of the binaries with the new freeze API. HOT 3
- pynput import break the file HOT 1
- PYTHONIOENCODING is ignored
- pendulum package doesn't initialize when unpacking from zipfile
- add version for python 3.12 too
- usage missing
- Does py2exe support 'QtWebEngineWidgets' of PySide6?
- How do I get an app using jaydebapi to work as an executable ?
- Failure to import zipextimporter with error "No module named '_memimporter'"
- [freeze][zipfile] Dependent packages and modules are not zipped to library.zip or packed to .exe bin
- ImportError: MemoryLoadLibrary failed loading PyQt5\QtWidgets.pyd: The specified module could not be found. (126)
- no open .whl in windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py2exe.