Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Did you forget to call SetImages()? #4

Closed
nmweizi opened this issue Sep 25, 2022 · 5 comments
Closed

Did you forget to call SetImages()? #4

nmweizi opened this issue Sep 25, 2022 · 5 comments

Comments

@nmweizi
Copy link
Contributor

nmweizi commented Sep 25, 2022

python3.10 EasyPen.py
21:16:25: Debug: Adding duplicate image handler for 'Windows bitmap file'
21:16:25: Debug: Adding duplicate animation handler for '1' type
21:16:25: Debug: Adding duplicate animation handler for '2' type
21:16:28: Debug: Adding duplicate image handler for 'Windows bitmap file'
21:16:28: Debug: Adding duplicate animation handler for '1' type
21:16:28: Debug: Adding duplicate animation handler for '2' type
21:16:28: Debug: Adding duplicate image handler for 'Windows bitmap file'
21:16:28: Debug: Adding duplicate animation handler for '1' type
21:16:28: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "/Users/aaa/tools/EasyPen/ui/frame_loading.py", line 48, in on_close
frame = MainFrame(None, "EasyPen %s" % conf.app_ver)
File "/Users/aaaa/tools/EasyPen/ui/frame_main.py", line 105, in init
self.notebook.AddPage(discover_panel, "Discover", imageId=0)
wx._core.wxAssertionError: C++ assertion ""Assert failure"" failed at /Users/robind/projects/bb2/dist-osx-py310/build/ext/wxWidgets/include/wx/withimages.h(195) in GetBitmapBundle(): Image index specified, but there are no images.

Did you forget to call SetImages()?

@nmweizi
Copy link
Contributor Author

nmweizi commented Sep 25, 2022

macos
if 'wxMac' not in wx.PlatformInfo:?

@lijiejie
Copy link
Owner

Hi, this app not yet tested under MacOS since I got no MacOS device at present.
I may test it under MacOS in the coming future.

@nmweizi
Copy link
Contributor Author

nmweizi commented Sep 26, 2022

Hi, this app not yet tested under MacOS since I got no MacOS device at present. I may test it under MacOS in the coming future.

取消这个判断,macos启动正常

@lijiejie
Copy link
Owner

Hi, this app not yet tested under MacOS since I got no MacOS device at present. I may test it under MacOS in the coming future.

取消这个判断,macos启动正常

方便提交一个PR吗? 这样后面你若发现其他问题,还可以把代码合并进来

@nmweizi
Copy link
Contributor Author

nmweizi commented Sep 27, 2022

@lijiejie
#5 (comment)

@nmweizi nmweizi closed this as completed Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants