Error when exporting to HTML to post to Pavlovia

Hi,

OS: Win10
PsychoPy version: v2025.2.4
Standard Standalone Installation? (y/n) : Not entirely sure what this is asking, but this error came up when exporting the study as HTML from the builder mode
Do you want it to also run online? Y
What are you trying to achieve?: I am trying to link my psychopy experiment to pavlovia. I was following some advice from a video which suggested I export the study as an HTML file, then upload to pavlovia. If this is not the most efficient way to link my study to pavlovia, I would also appreciate any advice there as well. The goal for posting to pavlovia is then to embed a link from pavlovia at the end of a qualtrics survey.

Here is the error it gave me:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\wx\core.py”, line 3425, in
lambda event: event.callable(*event.args, **event.kw) )
File “C:\Program Files\PsychoPy\lib\site-packages\wx\lib\agw\aui\framemanager.py”, line 6395, in DoUpdate
self.Repaint()
File “C:\Program Files\PsychoPy\lib\site-packages\wx\lib\agw\aui\framemanager.py”, line 8530, 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(135) in wxBufferedDC::UnMask(): invalid backing store

Similar post from forum: I tried following advice from this previous post Error exporting HTML files about updating psychopy, but it did not help, as my computer said “psychopy could not connect to the internet to check for more recent versions. Check proxy settings in preferences.” However, in preferences I can see that autoProxy, allowUsageStats, and checkForUpdates are all selected.

Any help and direction would be appreciated!

When I get “invalid backing store” I either ignore it or close the Coder window and try again.