Comments (5)
I have an idea of how to test this. The Mac seg fault output says it has something to do with the popup menu, maybe. It seems the keyboard command for "S" works flawlessly, so maybe if I make the inset swapping through the right click menu act like the keyboard command, SHARPpy won't puke.
Right now SHARPpy recreates all insets each time a new inset is selected. I don't think I need to do this and this may be causing the problem. I don't know.
from sharppy.
Post exam present...got to work on this and I fixed it! The inset swapping doesn't crap out anymore! No more seg faults! Inset objects now are now treated a little differently. They don't get deleted through deleteLater() anymore, they just get removed from the GridLayout and their visibility is set to False. This has induced a small lag when soundings are looped through though where insets with text in them seem to update at a different speed compared to the Thermo and Kinematic insets. Perhaps the whole setVisible() methodology for changing things is faster than the deleteLater() method?
from sharppy.
I hate to report that inset swapping is completely broken. Any time I right click, it crashed before it will even display the inset. Full set fault, no error messages.
from sharppy.
Because I do not have the time to hunt this bug myself, I am reverting back to a previous commit before this change. Random segfaults is better than constant segfaults.
from sharppy.
This has been fixed.
from sharppy.
Related Issues (20)
- [FEATURE] ACARS Soundings
- [BUG] name 'PYQT6' is not defined HOT 13
- Hodograph Issue HOT 1
- [BUG] app wont even run it either gives me a failed to execute warning or it prompts me a update message and crashed
- Convective Profile = NoneType HOT 3
- [BUG] Documentation issue - Interpreting GUI HOT 3
- CAPE Method Calculation Error
- [BUG] QTFont Error results in crashed SHARPpy GUI HOT 4
- upa files from weather.cod.edu/digatmos/upa/ HOT 4
- [BUG] SHARPpy Unable to Display Soundings on Ubuntu 18.04 - Crash in _getOutletWithProfile HOT 3
- [BUG] When selecting sounding source, GUI crashes, returning "QThread: Destroyed while thread is still running"
- [BUG]
- Errors in the Large Hail Parameter (LHP) calculation
- [BUG] mixed-layer parcel in parcelx and DefineParcel
- Question about mixed-layer parcel properties
- Hawaii Observed Soundings Missing HOT 4
- boolean index did not match indexed array HOT 6
- [BUG] SHARPpy plot crashes HOT 6
- [BUG] pip install fails on recent versions of Python HOT 3
- [BUG] Cannot Generate Profiles HOT 4
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 sharppy.