Comments (5)
same
from imagepy.
+1
from imagepy.
same, then I replace the wx.EXPAND
to wx.RIGHT
, the GUI could be displayed at least.
File "e:\program files\python38\env\imageprocessing\lib\site-packages\imagepy\ui\widgets\normal.py", line 283, in init
subsizer.Add( self.spin, 0, wx.ALIGN_CENTER|wx.BOTTOM|wx.EXPAND, 5 )
BUT there are still problems as below:
Traceback (most recent call last):
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\histpanel.py", line 27, in on_size
self.init_buf()
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\histpanel.py", line 24, in init_buf
self.buffer = wx.Bitmap(box.width, box.height)
wx._core.wxAssertionError: C++ assertion ""w > 0 && h > 0"" failed at ..\..\src\msw\bitmap.cpp(754) in wxBitmap::DoCreate(): invalid bitmap size
Traceback (most recent call last):
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\cmappanel.py", line 48, in on_size
self.init_buf()
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\cmappanel.py", line 35, in init_buf
self.buffer = wx.Bitmap(box.width, box.height)
wx._core.wxAssertionError: C++ assertion ""w > 0 && h > 0"" failed at ..\..\src\msw\bitmap.cpp(754) in wxBitmap::DoCreate(): invalid bitmap size
Traceback (most recent call last):
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\histpanel.py", line 27, in on_size
self.init_buf()
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\histpanel.py", line 24, in init_buf
self.buffer = wx.Bitmap(box.width, box.height)
wx._core.wxAssertionError: C++ assertion ""w > 0 && h > 0"" failed at ..\..\src\msw\bitmap.cpp(754) in wxBitmap::DoCreate(): invalid bitmap size
Traceback (most recent call last):
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\cmappanel.py", line 48, in on_size
self.init_buf()
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\cmappanel.py", line 35, in init_buf
self.buffer = wx.Bitmap(box.width, box.height)
wx._core.wxAssertionError: C++ assertion ""w > 0 && h > 0"" failed at ..\..\src\msw\bitmap.cpp(754) in wxBitmap::DoCreate(): invalid bitmap size
Traceback (most recent call last):
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\curvepanel.py", line 43, in on_size
self.init_buf()
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\curvepanel.py", line 40, in init_buf
self.buffer = wx.Bitmap(box.width, box.height)
wx._core.wxAssertionError: C++ assertion ""w > 0 && h > 0"" failed at ..\..\src\msw\bitmap.cpp(754) in wxBitmap::DoCreate(): invalid bitmap size
Traceback (most recent call last):
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\curvepanel.py", line 43, in on_size
self.init_buf()
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\curvepanel.py", line 40, in init_buf
self.buffer = wx.Bitmap(box.width, box.height)
wx._core.wxAssertionError: C++ assertion ""w > 0 && h > 0"" failed at ..\..\src\msw\bitmap.cpp(754) in wxBitmap::DoCreate(): invalid bitmap size
Traceback (most recent call last):
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\viewport.py", line 38, in on_size
self.init_buf()
File "c:\users\xxd\anaconda3\lib\site-packages\imagepy\ui\widgets\viewport.py", line 35, in init_buf
self.buffer = wx.Bitmap(box.width, box.height)
wx._core.wxAssertionError: C++ assertion ""w > 0 && h > 0"" failed at ..\..\src\msw\bitmap.cpp(754) in wxBitmap::DoCreate(): invalid bitmap size
from imagepy.
+1
from imagepy.
Hi all, Sorry for not reply for a long time. as I can run with vs code successfully:
about the wx's error:
try the newest github's code and update wxpython!
from imagepy.
Related Issues (20)
- FIX-..\sciwx\canvas\test.py ----- o, m = mat(self.oribox, self.conbox, csbox)
- error when windows anaconda run imagepy HOT 4
- Create | selection.dic
- I had a problem when launching from a batch file: wx._core.wxAssertionError HOT 3
- Unable to access the X Display, is $DISPLAY set properly? ERR
- No module named 'imagepy.core' HOT 3
- This program needs access to the screen. Please run with a Framework build of python, and only when you are logged in on the main display of your Mac.
- Can I translate it into Chinese HOT 4
- wx._core.wxAssertionError: C++ assertion "!
- ROI add operation doesnt work HOT 1
- Error in atexit._run_exitfuncs HOT 1
- Error in atexit._run_exitfuncs: wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ..\..\src\common\wincmn.cpp(474) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed HOT 2
- 大佬您好,咨询问题
- Documentation HOT 2
- Multi-OS screen capture utility HOT 2
- What causes Simple change the color of an image? HOT 5
- Bug in File - > Save With Mark HOT 1
- Do not run an algorithm again after being accepted in the preview
- pandas table viewer
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 imagepy.