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

Warning when starting Python version in Windows minimized #46

Open
mist13 opened this issue Sep 13, 2021 · 2 comments
Open

Warning when starting Python version in Windows minimized #46

mist13 opened this issue Sep 13, 2021 · 2 comments

Comments

@mist13
Copy link
Contributor

mist13 commented Sep 13, 2021

I start the Python version in Windows from a shortcut on my desktop set to run it minimized. I thus am only a click onto the taskbar away from running EasyABC with the black Python window tucked away on said bar.

Everything is running fine, only the minimized Python window on the taskbar gives me this:

Warning: FluidSynth library not found. Playing using a SoundFont (.sf2) is disabled.Traceback (most recent call last):
File "C:\Users\Michi\AppData\Roaming\Python\Python38\site-packages\wx\lib\agw\aui\framemanager.py", line 8917, in OnSize
self.Repaint()
File "C:\Users\Michi\AppData\Roaming\Python\Python38\site-packages\wx\lib\agw\aui\framemanager.py", line 8773, in Repaint
client_dc = wx.BufferedDC(wx.ClientDC(self._frame), wx.Size(w, h))
wx._core.wxAssertionError: C++ assertion "m_buffer && m_buffer->IsOk()" failed at ....\src\common\dcbufcmn.cpp(134) in wxBufferedDC::UnMask(): invalid backing store

@jwdj
Copy link
Owner

jwdj commented Sep 13, 2021 via email

@mist13
Copy link
Contributor Author

mist13 commented Sep 14, 2021

Dear Jan,

Thank you for your extensive reply.

I have used the exe version for qite a few years, but it is much more fun to have a look at what is happening by using the Python, which is running on my Linux machine anyway.

Changing the order of the code blocks did not do the trick. I think I will either have to live with it or sneak out by setting the shortcut to cmd "python [...]\easy_abc.py" rather than python [...]\easy_abc.py direct. This also brings up the EasyABC window without extra mouse click.

I have never bothered with getting fluidsynth as playing the midi is fine without it. So, as far as I am concerned, the warning is not entirely necessary. Also, setting the path to the exe in settings has never worked for me. I suppose it is targeting the other OS's.

Since you couldn't reproduce the warnings I took a Win10 machine I do not tinker with, installed Python 3.9.7 and pywin32 3.9 and did all the necessary pip installs. Same messages.

Regards,
Michael

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