bmattern / minixs Goto Github PK
View Code? Open in Web Editor NEWdata processing software for miniature x-ray spectrometers
data processing software for miniature x-ray spectrometers
I don't know if anyone is watching this, but I figure I'll leave this issue here to help anyone who comes along after me and sees this same problem.
Installing this package in 2016 (so python 2.7.10, wxpython 3.0.2), I see the following (and similar on Windows):
bruce@titanium [minixs](master) > ./bin/calibrator
Traceback (most recent call last):
File "./bin/calibrator", line 4, in <module>
main()
File "/home/bruce/source/minixs/lib/minixs/gui/calibrator/calibrator.py", line 71, in main
app = CalibratorApp()
File "/home/bruce/source/minixs/lib/minixs/gui/calibrator/calibrator.py", line 28, in __init__
view = CalibratorView(None, ID_MAIN_FRAME, "miniXS Calibrator")
File "/home/bruce/source/minixs/lib/minixs/gui/calibrator/calibrator_view.py", line 444, in __init__
self.panel = CalibratorPanel(self, wx.ID_ANY)
File "/home/bruce/source/minixs/lib/minixs/gui/calibrator/calibrator_view.py", line 401, in __init__
panel = FilterPanel(self, wx.ID_ANY)
File "/home/bruce/source/minixs/lib/minixs/gui/calibrator/calibrator_view.py", line 124, in __init__
grid.Add(label, 0, wx.ALIGN_CENTER_VERTICAL)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 14453, in Add
return _core_.Sizer_Add(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "Assert failure" failed at ../src/common/sizer.cpp(1401) in DoInsert(): too many items (13 > 2*6) in grid sizer (maybe you should omit the number of either rows or columns?)
This is solved by editing this line to read
grid = wx.FlexGridSizer(0, 2, HPAD, VPAD)
Perhaps the syntax for the FlexGridSizer has changed since the calibrator was written...? I got my hint from here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.